Maintenance May 12, 8–9 PM PDT (May 13, 03:00–04:00 UTC). ~1 min disruption to sandbox management may occur. Already running sandboxes will not be affected. Questions? Contact us
Maintenance May 12, 8–9 PM PDT (May 13, 03:00–04:00 UTC). ~1 min disruption to sandbox management may occur. Already running sandboxes will not be affected. Questions? Contact us
List all running sandboxes
curl --request GET \
--url https://api.e2b.app/sandboxes \
--header 'X-API-Key: <api-key>'[
{
"templateID": "<string>",
"sandboxID": "<string>",
"clientID": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"cpuCount": 2,
"memoryMB": 129,
"diskSizeMB": 1,
"state": "running",
"envdVersion": "<string>",
"alias": "<string>",
"metadata": {},
"volumeMounts": [
{
"name": "<string>",
"path": "<string>"
}
]
}
]Documentation Index
Fetch the complete documentation index at: https://e2b-banner-hover-tooltip.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
Successfully returned all running sandboxes
Identifier of the template from which is the sandbox created
Identifier of the sandbox
Identifier of the client
Time when the sandbox was started
Time when the sandbox will expire
CPU cores for the sandbox
x >= 1Memory for the sandbox in MiB
x >= 128Disk size for the sandbox in MiB
x >= 0State of the sandbox
running, paused Version of the envd running in the sandbox
Alias of the template
Show child attributes
Show child attributes
Was this page helpful?
curl --request GET \
--url https://api.e2b.app/sandboxes \
--header 'X-API-Key: <api-key>'[
{
"templateID": "<string>",
"sandboxID": "<string>",
"clientID": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"cpuCount": 2,
"memoryMB": 129,
"diskSizeMB": 1,
"state": "running",
"envdVersion": "<string>",
"alias": "<string>",
"metadata": {},
"volumeMounts": [
{
"name": "<string>",
"path": "<string>"
}
]
}
]