# Schema Differentiation APIs

Endpoints for comparing two schemas and exporting the comparison results. Useful for reviewing changes between schema versions.

**Authentication:** Bearer token required (`Authorization: Bearer <token>`)

***

| Method | Endpoint                                   | Description                                      | Auth Required |
| ------ | ------------------------------------------ | ------------------------------------------------ | ------------- |
| `POST` | `/api/v1/analytics/compare/schemas`        | Compares two schemas and returns the differences | Yes           |
| `GET`  | `/api/v1/analytics/compare/schemas/export` | Exports schema comparison results as a file      | Yes           |

## Endpoints

* [Returns Result of Schema Comparison](/docs/develop/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/returns-result-of-schema-comparison.md)
* [Exports Schema Differentiation Results](/docs/develop/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/exports-schema-differentiation-results.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/docs/develop/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
