documents
Ingest Document Handler
Upload a file, create document + version, and trigger ingestion workflow.
Returns 201 with the Temporal workflow ID.
POST
Ingest Document Handler
Headers
Cookies
Body
multipart/form-data
Parent path part ID (must be a FOLDER type)
Document name (defaults to filename)
Ingestion pipeline mode: 'high_accuracy' (default for PDF), 'standard' (default for DOCX/XLSX/PPTX/PLAINTEXT), or 'single_chunk' (default for IMAGE/CSV). Auto-resolved when omitted.
Available options:
high_accuracy, standard, single_chunk Force chunk type (TABLE/IMAGE/HTML). Only valid with single_chunk mode.
Available options:
TEXT, TABLE, IMAGE, HTML, UNKNOWN Force secondary taxonomy (e.g. 'picture', 'flowchart'). Only valid with single_chunk mode and chunk_type=IMAGE.
Available options:
picture, flowchart DPI for PDF page screenshots (default 72, min 36, max 216).
Required range:
36 <= x <= 216Previous
Ingest Document Version HandlerUpload a new file for an existing document, creating a new version and triggering ingestion.
Creates a new document version (incrementing the highest version number),
uploads the file to S3, and starts the ingestion workflow. Upon successful
ingestion, the new version is automatically activated (set as the document's
active_version) and the old version's Qdrant points are deactivated.
Returns 201 with the Temporal workflow ID.
Next
Ingest Document Handler
