Upload Session File
Session Files
Upload Session File
Upload a file to the session’s uploads directory. Reference it by filename in a later uploadFile task action.
POST
Upload Session File
Overview
Uploads a file to the session’s uploads directory. Files land in a private per-session staging area and can be referenced byfilename in a subsequent uploadFile task action (for example, to attach a resume to a job application flow). Content is transported as base64 in JSON; maximum decoded size is 50 MiB.
Path Parameters
Browser session ID (UUID).
Body
File name (up to 255 characters). Must not contain path separators (
/, \) and cannot be . or ...Base64-encoded file content. Decoded size must be 50 MiB or less.
Example Request
Response
Success Response (201)
Filename stored in the session’s uploads directory.
Size in bytes of the stored file.
ISO 8601 timestamp of when the upload was persisted.
Error Responses
| Status | Description |
|---|---|
400 | Invalid body — missing filename/file, filename contains path separators, or file is not valid base64. |
401 | Unauthorized — invalid or missing API key. |
404 | Session not found or not owned by the caller. |
413 | Decoded file exceeds the 50 MiB maximum. |