Append document extraction to a session
POST/documents/append
Used to extract data from a document and append the results to an existing session. The session ID must be supplied as a header because of the payload format, and the session must be valid and not expired.
This endpoint has similar behaviour to the singular document extraction endpoint, but associates the extracted data with the specified session.
Supports the RFC7240 Prefer header for document class and context preferences — see the singular extraction endpoint for details.
Request
Responses
- 200
- 400
- 412
- 500
Document extraction completed without error
Invalid file type (not PDF/JPEG/PNG), missing document field, or payload exceeds 4.5 MB
Document class or context did not match the preference specified in the Prefer header with handling=strict
OCR processing failure, document classification error, or extraction pipeline error