Skip to main content

Get document schema

GET 

/api/v1/schemas/document

Get the full document schema in different formats. This schema is used for validating complete document configurations in create session, update session, and job creation endpoints.

Available formats:

  • json (default): JSON Schema format
  • ts: TypeScript type definitions
  • zod: Zod schema for runtime validation

Request

Responses

Document schema retrieved successfully