Skip to main content
GET
Get a sandbox

Authorizations

Authorization
string
header
required

An API key (fb_live_…)

Path Parameters

id
string
required

The sandbox's ID (sbx-…), or the snapshot's name, key's or webhook's ID.

Response

Success

id
string
required

Its ID.

Pattern: ^sbx-[0-9a-f]{10}$
status
string
required

Its current state.

image
string | null
required

The image it starts from.

cpu_cores
number
required

vCPUs.

memory_mb
integer
required

Memory, in MB.

disk_gb
integer
required

Writable disk: xsmall and small 10, medium 20, large 40, xlarge 80

runtime
enum<string>
required

standard, or vm (a full virtual machine with its own kernel).

Available options:
standard,
vm
init
enum<string> | null
required

systemd as PID 1 (vm only)

Available options:
systemd
created_at
string<date-time>
required

When it was created.

expires_at
string<date-time> | null
required

When its lifetime ends and it is deleted; null when it has none (kept until deleted)

idle_timeout_sec
integer
required

Seconds with nothing happening before it sleeps; 0 never sleeps. 300 unless set.

ready
enum<string>
required

When it counts as running: process (as soon as it runs) or port (once exposed_port answers).

Available options:
port,
process
network
object | null
required

What it can reach: {"allow": [...]} for only those names and addresses, {"block": true} for nothing. Leave it out for the whole internet.

labels
object
required

Your own key-value tags, up to 16. Keys: lowercase letters, digits, ., _, -.

secrets
string[]
required

The stored secrets it gets as environment variables, by name (never their values)

hostname
string
required

Its HTTPS hostname.

url
string<uri>
required

Its public HTTPS address, serving exposed_port.