E2B · Schema
E2B Sandbox
A single running or paused E2B sandbox instance derived from the E2B Sandbox API.
Artificial IntelligenceAgentsCode ExecutionCode InterpreterSandboxesFirecrackerMicroVMsComputer UseDesktop SandboxTemplatesMCPOpen-Source
Properties
| Name | Type | Description |
|---|---|---|
| sandboxID | string | Identifier of the running sandbox. |
| clientID | string | Identifier of the client the sandbox is associated with. |
| templateID | string | Identifier of the template used to create the sandbox. |
| alias | string | Resolved namespace/alias for the template. |
| state | string | Current state of the sandbox. |
| cpuCount | integer | Number of vCPUs allocated to the sandbox. |
| memoryMB | integer | Memory allocated to the sandbox in MiB. |
| diskSizeMB | integer | Disk size allocated to the sandbox in MiB. |
| envdVersion | string | Version of the envd daemon running in the sandbox. |
| metadata | object | Free-form string metadata attached at sandbox creation. |
| envVars | object | Environment variables exposed inside the sandbox. |
| startedAt | string | Timestamp when the sandbox started. |
| endAt | string | Scheduled end-of-life timestamp. |
| autoPause | boolean | Whether the sandbox auto-pauses on timeout instead of being killed. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/e2b-dev/refs/heads/main/json-schema/e2b-sandbox-schema.json",
"title": "E2B Sandbox",
"description": "A single running or paused E2B sandbox instance derived from the E2B Sandbox API.",
"type": "object",
"required": ["sandboxID", "templateID", "state"],
"properties": {
"sandboxID": {
"type": "string",
"description": "Identifier of the running sandbox."
},
"clientID": {
"type": "string",
"description": "Identifier of the client the sandbox is associated with."
},
"templateID": {
"type": "string",
"description": "Identifier of the template used to create the sandbox."
},
"alias": {
"type": "string",
"description": "Resolved namespace/alias for the template."
},
"state": {
"type": "string",
"enum": ["running", "paused"],
"description": "Current state of the sandbox."
},
"cpuCount": {
"type": "integer",
"minimum": 1,
"description": "Number of vCPUs allocated to the sandbox."
},
"memoryMB": {
"type": "integer",
"minimum": 128,
"description": "Memory allocated to the sandbox in MiB."
},
"diskSizeMB": {
"type": "integer",
"minimum": 0,
"description": "Disk size allocated to the sandbox in MiB."
},
"envdVersion": {
"type": "string",
"description": "Version of the envd daemon running in the sandbox."
},
"metadata": {
"type": "object",
"additionalProperties": {"type": "string"},
"description": "Free-form string metadata attached at sandbox creation."
},
"envVars": {
"type": "object",
"additionalProperties": {"type": "string"},
"description": "Environment variables exposed inside the sandbox."
},
"startedAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the sandbox started."
},
"endAt": {
"type": "string",
"format": "date-time",
"description": "Scheduled end-of-life timestamp."
},
"autoPause": {
"type": "boolean",
"description": "Whether the sandbox auto-pauses on timeout instead of being killed."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/e2b-sandbox"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.