Induce Schema
Submit an induce_schema job.
Returns (job_id, schema_id): poll
GET /v1/results/{job_id} for terminal status, then fetch the
produced schema via GET /v1/agentic/documents/schemas/{schema_id}.
Body
POST /v1/agentic/documents/induce_schema -- async schema induction job.
Runs the agent over the supplied document sample to produce a frozen
:class:Schema. Submit, poll GET /v1/models/{model_id}/status until
status="completed", then fetch the result via
GET /v1/agentic/documents/schemas/{model_id}.
Sample of uploaded documents the agent inspects to draft the schema.
1Free-text description of what the resulting features will be used for.
Skill slug; one of the values returned by GET /v1/agentic/documents/skills.
Custom model_id for the resulting schema; auto-generated if omitted.
Response
Successful Response
POST /v1/agentic/documents/induce_schema -- async submission response.
job_id is the canonical job handle (poll
GET /v1/results/{job_id}). schema_id is the id of the schema
being produced — used to fetch the typed result via
GET /v1/agentic/documents/schemas/{schema_id} once the job
completes.