Upload a document to an assistant’s knowledge base.
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