GET /v1/dataContracts/{id}
Retrieve a Data Contract
Get a data contract by ID, fully qualified name, or entity reference
GET
GET /v1/dataContracts/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a Data Contract
Get a data contract by its UUID, fully qualified name, or the entity it’s attached to.Get by ID
UUID of the data contract.
Comma-separated list of fields to include:
owners, reviewers, extension.Include filter:
all, deleted, or non-deleted.Get by Fully Qualified Name
UseGET /v1/dataContracts/name/{fqn} with the same query parameters.
Get Effective Contract for Entity
UseGET /v1/dataContracts/entity to get the effective contract for an entity, including inherited properties from its data product.
UUID of the entity.
Type of the entity (e.g.,
table, topic, dashboard).Comma-separated list of fields to include.
GET /v1/dataContracts/{id}
Response Fields
UUID of the data contract.
Name of the data contract.
Fully qualified name.
Contract status:
Draft, Active, or Deprecated.Reference to the data asset this contract applies to.
Expected column definitions.
Semantics rules.
References to test cases.
SLA expectations (refresh frequency, latency, availability).
Terms of use in Markdown.
Security and access policy expectations.
Whether this contract is inherited from a data product.
Latest validation result summary.
Owner references.
Reviewer references.
Entity version.
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to view data contracts |
404 | NOT_FOUND | Data contract with given ID/FQN/entity not found |