Upload a file with multipart form data or a raw request body
Files
Upload a file with multipart form data or a raw request body
If Content-Type is multipart/form-data, the API streams the file field into the destination path. Otherwise it streams the raw request body directly into the file.
POST
Upload a file with multipart form data or a raw request body
Authorizations
API key passed as Bearer token
Path Parameters
Sandbox ID (e.g. sb_a1b2c3d4)
Query Parameters
File path inside the sandbox. Absolute paths may target valid sandbox locations such as /workspace, /data, /tmp, or /context where present. Relative paths resolve from the sandbox cwd when set, otherwise from the selected user's home when user is provided, otherwise from /workspace.
Optional sandbox user for relative-path resolution and ownership.
Body
Response
204
File uploaded