Documents
Upload Document to Thread
Upload a document to be associated with a specific thread and processed for RAG. 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/threads/{thread_id}/documents
Path parameters
thread_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.