Skip to main content

Get section schema

GET 

/api/v1/schemas/section

Get the section schema in different formats (extracted from document schema). This schema is used for validating individual sections in add section and update section endpoints.

A section can be either:

  • flow: Flowing content across multiple pages
  • page: Single styled page with custom positioning

Available formats:

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

Request

Responses

Section schema retrieved successfully