Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
template | string | Yes | Template to use (e.g., “python-base-v1”) |
timeout | integer | No | Timeout in seconds (default: 300, max: 3600) |
Response
Templates
You need to build a custom template using theTemplateBuilder before creating a sandbox. Templates define the runtime, packages, and resource limits for your environment.
Next Steps
Execute Code
Run Python or JavaScript code in your sandbox
List Sandboxes
View all your sandboxes
Get Sandbox Info
Retrieve detailed sandbox information
Terminate Sandbox
Clean up resources when finished

