# Open sandbox terminal

```http
GET /sandboxes/{sandbox_id}/terminal
```

Open a sandbox terminal. Requires project.sandboxes.manage.

## Parameters

| Name         | In   | Required | Description                                 |
| ------------ | ---- | -------- | ------------------------------------------- |
| `sandbox_id` | path | Yes      | Sandbox UUID, as returned by createSandbox. |

## Responses

| Status | Description                                                                                                         |
| ------ | ------------------------------------------------------------------------------------------------------------------- |
| 200    | Terminal shell page. The browser opens a WebSocket on the same path, which the API forwards to the sandbox runtime. |
| 400    | Bad request                                                                                                         |
| 402    | Payment required                                                                                                    |
| 403    | Forbidden                                                                                                           |
| 404    | Not found                                                                                                           |
| 502    | Bad gateway                                                                                                         |
| 503    | Service unavailable                                                                                                 |
