Get a data object's compiled JSON schema

View as Markdown

Returns the compiled JSON Schema for an object definition. Project-scoped definitions are hidden (404) from callers without project access. Requires data-object:read.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

idstringRequired

Response

The compiled JSON Schema.
schemamap from strings to any
An arbitrary JSON object.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error