Upload a document to an assistant’s knowledge base.
This endpoint allows you to upload a document to an assistant’s knowledge base for Retrieval-Augmented Generation (RAG). The document will be processed, chunked, and stored as embeddings in a vector database. The request must be sent asDocumentation Index
Fetch the complete documentation index at: https://docs.burki.dev/llms.txt
Use this file to discover all available pages before exploring further.
multipart/form-data.
assistant_id (string, required): The unique identifier of the assistant to whom the document will be added.file (file, required): The document to upload. Supported file types include .txt, .pdf, .md, and .docx.processing status. The document will be processed in the background. You can check the status later using the Get Document Status endpoint.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response