Upload a document to a RAG group (Supports PDF, TXT, MD, DOCX, CSV up to 50MB). Authentication can be via API key (Bearer token) OR upload token (X-Upload-Token header).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the knowledge group
Document file to upload into the knowledge group. Supported formats are PDF, TXT, MD, DOCX, and CSV, up to 50MB. Must be sent as multipart/form-data. Documents are processed asynchronously — the returned record starts in PROCESSING state and becomes searchable once it reaches READY.
Successfully uploaded document
A single file uploaded into a knowledge group. Retrieved chunks reference it by ID.
Unique identifier for the document.
ID of the knowledge group this document belongs to.
Original filename as uploaded.
MIME type or extension-derived file type.
Size of the file in bytes.
Internal URL at which the file is stored.
Current processing state. Only READY documents are searchable.
UPLOADED, PROCESSING, READY, FAILED Failure reason when status is FAILED, otherwise null.
Timestamp when the document was uploaded.
Timestamp when the document record was last updated.