Skip to main content
Enable enforcement with [schema] enforce = true in config. See Schema Validation for the full concept.

List schema types

Get a schema

string
required
Schema type name (matches the frontmatter type field).
Returns the raw JSON Schema document.

Create or update a schema

string
required
Schema type name.
The request body is a raw JSON Schema document.
When [schema] enforce = true, schema changes trigger a reload so subsequent writes use the updated schema immediately.
Last modified on May 4, 2026