> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/api-reference/database/schemas/get-database-schema-version-diff.md).

# Get Database Schema Version Diff

A **schema** defines a collection's fields, types, and validation. Schemas support drafts, versions, and publishing.

This endpoint returns a single database schema version diff by id.

{% openapi src="/files/sSNsrg46S1BBoQLfucLf" path="/{version}/database/schemas/{Id}/versions/diff" method="get" %}
[norbix-hub-swagger.json](https://760328771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwSkuCpTNI_AerL8J2a%2Fuploads%2Fgit-blob-1c88e0eff2a2e768b59c83c5f279cafc05fb5e77%2Fnorbix-hub-swagger.json?alt=media)
{% endopenapi %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Database](/norbix-cloud/database/collections/schema.md).

## Use it from code

Every Norbix SDK exposes this endpoint as a method — see [Get Database Schema Version Diff](/sdks-and-cli/database/schemas/get-database-schema-version-diff.md) in the SDK reference, with examples in every language.
