Skip to main content
Upload datasheets, manuals, certificates, policies, and price lists to the knowledge base. Agents and product enrichment search indexed documents for evidence, the same as files uploaded on the workspace Documents page.

Authentication

Upload a document

Send the file as multipart/form-data in a part named file:
The response is 202:
bank_statement documents are stored but never shown to AI.

Wait for indexing

PDFs, Word, PowerPoint, Markdown, and images are indexed in the background. Word and PowerPoint files are converted to PDF first, so they are searched and read by page. Poll the document until status is completed (or completed_with_warnings); failed includes errorMessage.
CSV and Excel files are stored for agents to read row by row, but they are not indexed, so they return completed with indexedChunkCount: 0 straight away.

SDK and CLI

To add product photos instead, see Product image uploads.