Skip to main content
GET
/
v2
/
sandboxes
/
{sandbox_id}
/
files
List Sandbox Files
curl --request GET \
  --url https://api.duvo.ai/v2/sandboxes/{sandbox_id}/files \
  --header 'Authorization: Bearer <token>'
{
  "files": [
    {
      "name": "<string>",
      "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

Query Parameters

path
string
default:/workspace

Directory to list files from (defaults to /workspace)

Response

Default Response

files
object[]
required

Entries in the requested directory