Ingest documents (text, files, or mixed)
Unified document ingestion endpoint.
Accepts a multipart form with:
manifest(required): JSON array describing each itemfiles(optional): one or more file uploads, referenced byfile_indexin the manifest
Manifest format (JSON array):
[
{"type": "file", "file_index": 0, "title": "Report"},
{"type": "text", "title": "FAQ", "content": "What is..."},
{"type": "file", "file_index": 1, "title": "Old Report", "document_id": "uuid"}
]
POST
Ingest documents (text, files, or mixed)
Authorizations
Path Parameters
Response
Successful Response
Response from the unified ingest endpoint.
ingestion_job_id is the parent IngestionJob for bulk submissions, or
the single-doc job for a 1-item manifest. items mirrors the manifest
order so callers can render per-item outcomes without a second call.
Ingest documents (text, files, or mixed)