Upload a file to a workspace.
Files are added to an upload session and queued for asynchronous processing. To track progress, retrieve the file details using the GET endpoints to check the current status.
Customization Options:
title: Customize the document title (defaults to filename without extension)filename: Override the uploaded filenameparser: Specify a custom ingestion pipeline instead of using the defaultBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request serializer for POST /api/v3/files endpoint.
Phase 1 Implementation - Core Parameters:
Changes from V2:
Phase 2 (Deferred):
The file to upload (binary data)
Workspace where the document will be stored.
Custom filename (defaults to uploaded filename if not provided)
255Custom title for the document. If not provided, defaults to filename without extension.
255Ingestion pipeline to use. Only 'v2.2.1' is accepted. If omitted, the platform default is used.
255List of tag IDs to assign to the document on creation.
External source metadata for documents ingested from third-party systems. Provide as a JSON object with external_id (required), doc_type (optional), and additional_metadata (optional JSON object).
File queued for processing successfully
Filename of the document
Workspace the document belongs to
Document summaries (all languages)
File extension of the document
Creation date of the resource
Total number of pages
List of tags associated with the document
User who created the file. Null when the file was created by the system.
Upload session UUID associated with this document
External document metadata
Status message about the file upload
255pending - Pendingparsing - Parsingparsing_failed - Parsing Failedembedding - Embeddingembedding_failed - Embedding Failedembedded - Embeddedfail - Failupdating - Updatingpending, parsing, parsing_failed, embedding, embedding_failed, embedded, fail, updating pending - Pendingprocessing - Processingembedded - Embeddedfail - Fail- - Not availablepending, processing, embedded, fail, -