Agent Session Upload File Presigned Url
Files
Agent Session Upload File Presigned Url
Generate a secure presigned URL for uploading files to an agent session.
POST
Agent Session Upload File Presigned Url
Documentation Index
Fetch the complete documentation index at: https://browseruse-0aece648-codex-deterministic-rerun-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
Body
application/json
Request model for uploading a file to the user's files bucket.
The name of the file to upload
Required string length:
1 - 255The content type of the file to upload
Available options:
image/jpg, image/jpeg, image/png, image/gif, image/webp, image/svg+xml, application/pdf, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/plain, text/csv, text/markdown Required range:
1 <= x <= 10485760Response
Successful Response
Response model for a presigned upload URL.
The URL to upload the file to.
The HTTP method to use for the upload.
Allowed value:
"POST"The form fields to include in the upload request.
The name of the file to upload (should be referenced when user wants to use the file in a task).
The number of seconds until the presigned URL expires.