Submit a document for splitting
Accepts a single document and queues it for asynchronous splitting.
More details
More details
- no options -> normal split (the engine detects boundaries)
- custom_instruction -> custom (guided) split
- ranges -> deterministic split (explicit page ranges) Supplying both custom_instruction and ranges is a 422.
Authorizations
API key for authentication
Body
The document. Must be application/pdf, image/png, image/jpeg, or image/tiff.
Optional guided-split instruction, e.g. "group the invoice and packing list as one document". Selects custom (guided) split. Mutually exclusive with ranges.
Optional explicit page ranges as a JSON string of 1-indexed, inclusive [start, end] pairs, e.g. "[[1,3],[4,6]]". Selects deterministic split (no LLM judgment). Mutually exclusive with custom_instruction.
Optional HTTPS URL to receive the extraction.job.settled webhook when the job settles. A blank value is treated as omitted.
Opaque caller-supplied reference, echoed on the job and webhook payload.
256