Get a sandbox
GET/sandboxes/{id}
path parameters
object
idstringrequiredSandbox ID, e.g. sbx_ab12cd34.
Responses
200 OKOK
SandboxResponse
created_atstringdate-timeidstringmemory_mibintegernetworkNetworkResponse
allowlistarray
items
string
enabledbooleangatewaystringguest_ipstringprofilestringpublishedarray
items
PortMapping
guest_portintegerhost_ipstringhost_portintegerprotocolstringsource_snapshot_idstringvcpusintegerworkdirstring400 Bad requestBad Request
ErrorResponse
errorstring404 Not foundNot Found
ErrorResponse
errorstringAuthentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.Request
▍GET/sandboxes/{id}
curl '/sandboxes/{id}'const response = await fetch("/sandboxes/{id}", {
method: "GET",
});
const data = await response.json();import requests
response = requests.get(
"/sandboxes/{id}",
)
data = response.json()Response
200 OK
{
"created_at": "2026-01-02T15:04:05Z",
"id": "string",
"memory_mib": 0,
"network": {
"allowlist": [
"string"
],
"enabled": false,
"gateway": "string",
"guest_ip": "string"
},
"profile": "string",
"published": [
{
"guest_port": 0,
"host_ip": "string",
"host_port": 0,
"protocol": "string"
}
],
"source_snapshot_id": "string",
"vcpus": 0,
"workdir": "string"
}