Upload File

POST /v1/sandboxes/{id}/upload

Try it — Responses: 200, 400, 403, 404, 500

Response (200) - application/json
{
  "message": "File uploaded successfully",
  "path": "/data/myfile.txt",
  "size": 1024
}
circle-info

Authorization: x-api-key (string) — header — required API key provided in the x-api-key header. Required.

Path parameters

  • id (string, required) — Sandbox ID

Request body

Content type: multipart/form-data

  • path (string, required) — Destination path in sandbox (e.g., /data/myfile.txt)

  • file (any | null) — File to upload (binary data)

Response (200 - application/json)

  • message (string, required) — Success message

  • path (string, required) — Destination path where file was uploaded

  • size (integer, required) — File size in bytes

Last updated