> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jhansi.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Sandbox

> Create a new isolated sandbox with a persistent workspace.

## Endpoint

```http theme={null}
POST /v1/sandboxes
```

## Request

```json theme={null}
{
  "language": "python"
}
```

| Parameter  | Type   | Required | Description                             |
| ---------- | ------ | -------- | --------------------------------------- |
| `language` | string | No       | Runtime language. Defaults to `python`. |

## Supported Languages

| Language | Parameter |
| -------- | --------- |
| Python   | `python`  |
| Node.js  | `node`    |
| Go       | `go`      |

## Response

```json theme={null}
{
  "id": "sb_abc123",
  "language": "python",
  "status": "created"
}
```

## Example

```bash theme={null}
curl -X POST http://localhost:8000/v1/sandboxes \
  -H "Content-Type: application/json" \
  -d '{"language": "python"}'
```
