Upload files

Uploads files for a turn to attach and returns their staged references

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Step one of attaching files to a turn: upload the bytes here, then pass the returned references as files on Agentic-mode ask. Uploading alone does not hand the file to the agent.

Send multipart/form-data with one or more file parts. Every file in a request shares one server-generated uploadSessionId, so send a turn's attachments in a single request — a files array spanning two upload sessions is rejected with 400.

Extensions.csv, .doc, .docx, .pdf, .xls, .xlsx, .sql, .yaml, .yml, .md, .json, .txt, .zip
Files per request10
Size per fileAGENT_FILE_UPLOAD_MAX_SIZE_MB, default 10 MB — 413 above it

See Uploads for the full two-step flow.

🔗

Learn more


Path Params
integer
required

Project ID.

Body Params
file
array of files
required
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json