Submit a document for classification
Accepts a single document and queues it for asynchronous classification.
More details
More details
- no options -> normal (open) classification: the engine proposes document types
- schemas -> custom (closed-set) classification against the supplied candidate document types Classification supports no free-text prompt or instruction.
Authorizations
API key for authentication
Body
The document. Must be application/pdf, image/png, image/jpeg, or image/tiff.
Optional candidate document types as a JSON string: a non-empty array of objects each with document_type (required) and optional summary / tags, e.g. '[{"document_type":"invoice"},{"document_type":"packing_list"}]'. Selects custom (closed-set) classification; omit for normal (open) classification.
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