Extract Schema Endpoint
Schema extraction
Extract Schema Endpoint
Fill an arbitrary user JSON schema from a document URL, with citations.
POST
Extract Schema Endpoint
Authorizations
Body
application/json
Input to the schema-extraction pipeline.
Given a document and an arbitrary user JSON schema, fill the schema's
fields from the document and cite where each value came from. The model
only ever emits chunk indices + a verbatim quote; the backend remaps
index → {page, bbox, text} and verifies the quote, so a value can be
grounded to a real box without the model emitting (or hallucinating)
coordinates.