Skip to main content
POST
/
v2
/
sandboxes
/
{sandbox_id}
/
files
Upload Sandbox File
curl --request POST \
  --url https://api.duvo.ai/v2/sandboxes/{sandbox_id}/files \
  --header 'Authorization: Bearer <token>'
{
  "path": "<string>",
  "size_bytes": 123
}

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

sandbox_id
string
required

The sandbox's unique identifier

Minimum string length: 1

Response

Default Response

path
string
required

Path the file was uploaded to

size_bytes
number
required

Size of the uploaded file in bytes