multipart/form-data
.
Path Parameters
assistant_id
(string, required): The unique identifier of the assistant to whom the document will be added.
Form Data
file
(file, required): The document to upload. Supported file types include.txt
,.pdf
,.md
, and.docx
.
Response
A successful request will immediately return a document object with aprocessing
status. The document will be processed in the background. You can check the status later using the Get Document Status endpoint.
Response
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
Successful Response
The response is of type any
.