Assistants
Upload Document to Assistant
Upload a document to be associated with a specific assistant (shared context for its threads). Supported file types: Documents (.pdf, .doc, .docx, .ppt, .pptx, .xls, .xlsx), Text/Data (.txt, .csv, .md, .markdown, .json, .jsonl, .xml), Code (.py, .js, .ts, .jsx, .tsx, .html, .css, .cpp, .c, .h, .java, .go, .rs, .rb, .php, .sql), Images (.png, .jpg, .jpeg, .webp, .gif, .bmp, .tiff, .tif).
post/assistants/{assistant_id}/documents
Path parameters
assistant_idstring uuid required
Headers
authorizationstring nullable
x_session_tokenstring nullable
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.