API Reference
Create Sandbox
Create a new isolated sandbox with a persistent workspace.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a new isolated sandbox with a persistent workspace.
POST /v1/sandboxes
{
"language": "python"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
language | string | No | Runtime language. Defaults to python. |
| Language | Parameter |
|---|---|
| Python | python |
| Node.js | node |
| Go | go |
{
"id": "sb_abc123",
"language": "python",
"status": "created"
}
curl -X POST http://localhost:8000/v1/sandboxes \
-H "Content-Type: application/json" \
-d '{"language": "python"}'