Skip to main content
POST
POST /v1/dataContracts

Create a Data Contract

Create a new data contract and attach it to a data asset. Only the name and entity reference are required — all other sections (schema, semantics, quality, SLA, security, terms of use) are optional.

Body Parameters

string
required
Name of the data contract. Must be unique.
object
required
Reference to the data asset this contract applies to.
string
Human-readable display name.
string
Description in Markdown format.
string
default:"Draft"
Contract status: Draft, Active, or Deprecated.
array
Expected column definitions. Each item follows the Column schema.
array
Semantics rules defining business expectations.
array
References to test cases that must pass.
object
Service level agreement expectations.
string
Terms of use in Markdown format. Describes allowed/disallowed use cases and compliance requirements.
object
Security and access policy expectations.
array
Owner references (users or teams).
array
Reviewer user references.
string
ISO 8601 date from which this contract is effective.
string
ISO 8601 date until which this contract is effective.
POST /v1/dataContracts

Upsert (Create or Update)

Use PUT /v1/dataContracts with the same body to create a new contract or update an existing one.

Error Handling