JSON:API
v1
stable
Retrieve a data model field
Retrieve one data model field visible to the authenticated service account.
GET
/api/json/v1/data_model_fields/{id}
Access and behavior
- Required scope
- api_read
- Authentication
- Bearer token
- Idempotency
- not-applicable
- Operation ID
- retrieveDataModelField
Request headers
| Header | Presence | Description |
|---|---|---|
| Authorization | Required | Short-lived service-account bearer token. |
| Accept | Required | JSON:API response media type. |
Parameters
id
path · Required
string
No description provided.
include
query · Optional
string
Relationship paths to include in the response
fields
query · Optional
object
Limits the response fields to only those listed for each type
Success response
200
Success
- Media type
- application/vnd.api+json
- Schema
- object
Errors and retries
Keep x-request-id
from failed responses. Retry only rows marked retryable, and obey
Retry-After
when present.
| Status | Code | Recovery | Meaning |
|---|---|---|---|
| 401 | unauthorized | Do not retry unchanged | A valid bearer token is required. |
| 403 | forbidden | Do not retry unchanged | The service account lacks the required scope or object access. |
| 429 | rate_limited | Retry after guidance | The request exceeded its rate window; wait for Retry-After. |
| 404 | not_found | Do not retry unchanged | The resource was not found or is not visible to the run-as member. |
Related guides
JSON:API documents and media types
Read and write Hodoflow's path-versioned JSON:API documents with the correct envelopes, headers, resource identities, and relationships.
Run your first warehouse query
Obtain a real data-model slug, send a bounded factQuery with variables, and verify empty or populated GraphQL results.