Ingest a Document
Upload a single document into a source for extraction. Alias of POST /v1/sources/{id}/documents.
The ingest endpoint uploads one document (up to 500 MB) into a source and queues it for extraction. It is an alias of POST /v1/sources/{id}/documents, provided as a clearer verb for one-off ingestion. Pass the file as multipart form data; optionally set processing_mode to batch for deferred, lower-cost extraction (otherwise realtime).
POST
/v1/sources/:id/ingestResponse
Response fields
document_idstringThe created document UUID.
filenamestringThe uploaded filename.
statusstringqueued.
processing_modestringThe mode the document will be processed in.
source_idstringThe source it was ingested into.