Upload one or more files to an existing chat session. Supported file types include documents (PDF, CSV, XLSX) and images (PNG, JPG).Documentation Index
Fetch the complete documentation index at: https://docs.trellis.sh/llms.txt
Use this file to discover all available pages before exploring further.
Uploaded files are processed server-side: documents are parsed and chunked for retrieval, images are captioned and embedded. After uploading, reference the returned upload IDs in a Send Message request to attach them to a conversation turn.
429 with a Retry-After header.
Bearer token obtained from the authenticate endpoint.
One or more files to upload. Sent as
multipart/form-data. Maximum 5 files per request, each up to 30 MB.Supported MIME types:application/pdftext/csvapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet(XLSX)image/pngimage/jpeg
ID of an existing chat to attach the files to. Obtain one from Create Chat.
Response
The chat the files were uploaded to. If no
chat_id was provided in the request, this is the newly created chat’s ID.List of successfully processed uploads.