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

# GET Get a sandbox

> Retrieve sandbox status and connection details

```bash theme={null}
GET /sandboxes/{sandbox_id}
```

Returns the current sandbox status. When `status` is `ready`, the response includes the deployed app URL, twin URLs, and environment variables.

**Response fields**

| Field                   | Type               | Description                                                                      |
| ----------------------- | ------------------ | -------------------------------------------------------------------------------- |
| `sandbox_id`            | `string`           | Sandbox id.                                                                      |
| `status`                | `string`           | `queued`, `provisioning`, `ready`, `failed`, `cancelled`, or another run status. |
| `app_url`               | `string` or `null` | Public app URL when the sandbox is ready.                                        |
| `twins`                 | `object`           | Map of twin name to connection details. Empty until ready.                       |
| `twins[name].base_url`  | `string`           | Public twin base URL for app/API calls.                                          |
| `twins[name].admin_url` | `string`           | Private twin admin URL.                                                          |
| `twins[name].env_vars`  | `object`           | Twin-specific env vars and credentials.                                          |
| `env_vars`              | `object`           | Merged env vars to use with the sandboxed app.                                   |
