v1
Upload Attachment
Upload a document attachment to a session for AI reference.
The file is processed asynchronously — text is extracted, converted, and indexed so the AI can search and reference it during chat. Use GET /v1/attachments/status/ to check processing progress.
Supported file types: .pdf, .docx, .txt, .rtf, .md, .html, .htm (max 50 MB). Returns a job_id for tracking the processing status.
POST
Upload Attachment
Previous
Remove an attachment from a session or cancel its in-progress processing.Removes the attachment from the session; the AI will no longer reference it in subsequent chat turns. If processing is still in progress, also cancels the underlying job. Use to free up context, remove sensitive files mid-session, or replace a stale reference document. The attachment_id can be either the final attachment ID or the job ID (during processing).
Next
Upload Attachment

