Skip to main content
GET
/
v1
/
agents
/
sandbox
/
{sandboxId}
/
file
Download a file from a sandbox
curl --request GET \
  --url {scheme}://{gatewayBaseURL}/{tenantName}/v1/agents/sandbox/{sandboxId}/file \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sandboxId
string
required

The sandbox containing the file.

Minimum string length: 1

Query Parameters

path
string
required

Absolute path of the file inside the sandbox.

Minimum string length: 1

Response

File download.

The response is of type file.