Data contracts
Every T21 response has a versioned envelope and a domain schema. Contracts change under a compatibility policy.
REST response envelope
| Field | Meaning |
|---|---|
api_schema_version | The API contract version (api.v2.0.0) |
sdk_schema_version | The SDK contract version (sdk.v2.0.0) |
output_schema_version | The output schema version (1.7.0) |
generated_at | When the response was generated |
request_id | The request's identifier. Quote it when reporting a problem. |
source, endpoint, params | The response's origin, endpoint and parameters |
data | The domain payload |
Each domain payload has its own schema, for example valuation_history.v1 and listed_identity.v1. MCP results and Developer Platform token responses have other shapes.
Versions
REST endpoints are under /v1/. The T21 API is at version 2.1.0 and the Developer Platform at 0.2.0.
Compatibility policy
- A field may be added to a contract in force without changing its existing values or structure.
- A breaking change raises the major version and publishes a migration period, the replacing contract, migration instructions and a changelog.
- A deprecated endpoint states its deprecation date in the
Deprecationheader (RFC 9745), its replacement in aLinkheader withrel="successor-version", and the version that removes it inX-MSE-Removal-Target. TheLinkheader points to this policy withrel="deprecation".