Overview
The Sandbox API provides VM-based code execution with configurable resources, network access, and toolchains. Sandboxes run on infrastructure you control. For organization-scoped templates and long-lived instances, see Cloud Sandboxes.Base URL
Endpoints
Get capabilities
Execute code
Response:
Streaming execution
Health check
Security
- Buffered
/sandbox/executeruns on the VM driver; when a warm pool is configured it checks out a health-checked VM and returns it afterwards, and a checkout failure returns 503 rather than falling back to an unsandboxed run. /sandbox/execute/streamspawns the process directly with a cleared, allow-listed environment and caps the timeout at 300 seconds. It does not use the VM driver.network_enableddefaults tofalse.- Execution timeout is enforced by the server.