Skip to content

Download a file from a running sandbox

GET
/sandboxes/{id}/files
curl --request GET \
--url 'https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/files?path=example' \
--header 'Authorization: Bearer <token>'
id
required
string
path
required
string
/^//

Absolute path inside the sandbox

The file’s contents

Media typeapplication/octet-stream
string format: binary

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

No such sandbox in your organization (or no such file)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

The sandbox isn’t running, or its server is unreachable right now

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}