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 (max 50 MB). Returns a job_id for tracking the processing status.