Operational · Open Records
GET /.well-known/open-records/schemas/{name}
JSON Schema for a record type. Operational surface; it does not return customer data. Public discovery files: the API catalog, open-record schemas and the machine-readable site summary.
Contract identity
- Contract version
- 1.0.0
- Last verified
- Public surface
- Operational
- Executable operations
- 11 / 40
Verified means the contract snapshot on this date was read and matched to the page. It is not a promise that an operation is live for your workspace.
Goal and how to use this API
Discover the machine-readable contract and open-record schemas so a client can build against the platform without scraping the site.
Practical example
A data engineer can fetch the catalog and record schema, then validate ingested records against the published shape.
Integration steps
- Define the user decision and target entity, then check input requirements and access.
- Prepare the parameters and model below, then call GET /.well-known/open-records/schemas/{name} with this page’s authentication method.
- Inspect the HTTP status and its response model; preserve missing values and distinguish an error from an empty successful result.
Discovery files describe the contract; they are not a data feed and do not prove that every operation is available for every workspace.
At a glance
- Audience
- Operational
- Pagination
- No
- Asynchronous
- No
- Idempotency
- No
Authentication
None. This endpoint is public; browser mutations may still require an allowed Origin header.
Open the matching dashboard featureParameters and constraints
| Name | In | Type | Required | Constraints / default |
|---|---|---|---|---|
| name | path | string | Required | — |
Request body
This route has no declared request body.
Required means required within the containing object; an optional parent can still be omitted.
Request example
Examples are illustrative contract samples, not live results. Replace sample identifiers and inspect availability before executing a request.
curl --fail-with-body -X GET "https://app.datapi.ir/.well-known/open-records/schemas/example" \
-H "Accept: application/json"Try it
This is a dashboard/session endpoint. It needs the HttpOnly session cookie that only the app origin holds, so it cannot be called from the marketing site.
Open the dashboard insteadResponses and errors
| Status | Description | Schema |
|---|---|---|
| 200 | Successful Response | unspecified |
| 400 | Invalid request fields or operation input | unspecified |
| 404 | Resource or operation not found | unspecified |
nullComplete response models
200 · application/json
The runtime contract does not enumerate this response. An example is not a guaranteed model; this response remains a contract documentation gap.
Full contract schema
{}400 · application/problem+json
| Field | Type | Required | Constraints / default | Description |
|---|---|---|---|---|
| (body) | object | Required | — | Field description is not supplied by the contract. |
| code | string | Required | — | Field description is not supplied by the contract. |
| detail | string | Required | — | Field description is not supplied by the contract. |
| error | object | Required | — | Field description is not supplied by the contract. |
| error.error | object | Required | — | Field description is not supplied by the contract. |
| error.error.code | string | Required | — | Field description is not supplied by the contract. |
| error.error.details | unspecified | Optional | — | Field description is not supplied by the contract. |
| error.error.message | string | Required | — | Field description is not supplied by the contract. |
| error.error.request_id | string | Required | — | Field description is not supplied by the contract. |
| instance | string | Optional | — | Field description is not supplied by the contract. |
| request_id | string | Required | — | Field description is not supplied by the contract. |
| status | integer | Required | — | Field description is not supplied by the contract. |
| title | string | Required | — | Field description is not supplied by the contract. |
| type | string (uri) | Required | format: uri | Field description is not supplied by the contract. |
Full contract schema
{
"$ref": "#/components/schemas/DataPIProblem"
}404 · application/problem+json
| Field | Type | Required | Constraints / default | Description |
|---|---|---|---|---|
| (body) | object | Required | — | Field description is not supplied by the contract. |
| code | string | Required | — | Field description is not supplied by the contract. |
| detail | string | Required | — | Field description is not supplied by the contract. |
| error | object | Required | — | Field description is not supplied by the contract. |
| error.error | object | Required | — | Field description is not supplied by the contract. |
| error.error.code | string | Required | — | Field description is not supplied by the contract. |
| error.error.details | unspecified | Optional | — | Field description is not supplied by the contract. |
| error.error.message | string | Required | — | Field description is not supplied by the contract. |
| error.error.request_id | string | Required | — | Field description is not supplied by the contract. |
| instance | string | Optional | — | Field description is not supplied by the contract. |
| request_id | string | Required | — | Field description is not supplied by the contract. |
| status | integer | Required | — | Field description is not supplied by the contract. |
| title | string | Required | — | Field description is not supplied by the contract. |
| type | string (uri) | Required | format: uri | Field description is not supplied by the contract. |
Full contract schema
{
"$ref": "#/components/schemas/DataPIProblem"
}Operational notes
- This endpoint is operational and is not part of the customer data contract.
- Contract version 1. Responses use the stable DataPI error envelope; unknown optional fields should be ignored by clients.
Related pages
- All endpointsOperational endpoint used for health checks or the public contract directory. It is not a customer data operation.
- Open RecordsPublic discovery files: the API catalog, open-record schemas and the machine-readable site summary.
- Request lifecycleRequest lifecycle
- Request lifecycleRequest lifecycle
- Error envelopeError envelope