Extract typed JSON from a document using a JSON Schema. Returns data with confidence scores and page citations.
This is the primary endpoint for programmatic extraction.
Modes:
sync — wait for result (up to timeoutMs, default 45s)async — queue operation, poll via /operations/:idauto — sync if ready, async if still processingAPI key as Bearer token: Authorization: Bearer okra_xxx
Document ID