Files API
Manage files attached to your agents. You can upload files for an agent to access, list existing files, and delete them. All endpoints require session authentication.List files
Query parameters
Response
File object
Errors
Upload a file
multipart/form-data encoding.
Request body (multipart/form-data)
Response (201)
Upload response fields
The GET endpoint returns
filename while the POST response returns name. Both refer to the original filename of the uploaded file.