Upload 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.
Documentation Index
Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt
Use this file to discover all available pages before exploring further.
Document ID
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.
high_accuracy, standard, single_chunk Force chunk type (TABLE/IMAGE/HTML). Only valid with single_chunk mode.
TEXT, TABLE, IMAGE, HTML, UNKNOWN Force secondary taxonomy (e.g. 'picture', 'flowchart'). Only valid with single_chunk mode and chunk_type=IMAGE.
picture, flowchart DPI for PDF page screenshots (default 72, min 36, max 216).
36 <= x <= 216