Skip to main content
POST

Overview

Push raw vendor output (OCR, layout, etc.) into a document. Each call appends a new record — previous data is never overwritten.
Append-only. Each ingest call appends a new record. Previous data is never overwritten.

Request

document_id
string
required
Target document ID (e.g. doc-abc123).
vendor
string
Vendor identifier (e.g. azure_di, textract).
payload
object
Raw vendor output. Any JSON shape accepted.
pdf_sha256
string
SHA-256 hash of the source PDF for optimistic concurrency. Returns 409 on mismatch.
capabilities
object
Capability configuration including vlm_qwen, structural_check, sandbox_verify, search, phases, and middleware.

Response (200)