<span id="沙箱"></span>

# Sandboxes

Create and maintain sandboxes, configure networking and quotas, and connect terminal or SSH sessions.

<span id="选择任务"></span>

## Choose a task

| Task | Page | Description |
| --- | --- | --- |
| Create a workspace sandbox | [Create a workspace sandbox](create-sandbox.md) | Create a hosted sandbox with specification, disk, and network settings. |
| Create sandbox SSH session credentials | [Create sandbox SSH session credentials](create-ssh-session.md) | Request SSH gateway connection information and short-lived credentials from the configured sandbox service. Request success does not mean an SSH connection is established. |
| Delete a workspace sandbox | [Delete a workspace sandbox](delete-sandbox.md) | Delete a confirmed workspace hosted sandbox and clean up associated runtime resources. This interrupts sessions using the sandbox. |
| Get sandbox quotas and network capabilities | [Get sandbox quotas and network capabilities](get-quota.md) | Read managed sandbox usage and limits for a Workspace. Explicitly request unrestricted network capability when needed. |
| Get sandbox details | [Get sandbox details](get-sandbox.md) | Use the actual ID returned by listing/creation to read sandbox phase, specification, and network settings. |
| Get a short-lived sandbox terminal token | [Get a short-lived sandbox terminal token](get-terminal-token.md) | Obtain a short-lived token for the current sandbox terminal WebSocket. |
| List Workspace sandboxes | [List Workspace sandboxes](list-sandboxes.md) | Read managed Workspace sandboxes visible to the current identity. Save returned IDs for detail queries. |
| Sandbox objects, networks, and result confirmation | [Sandbox objects, networks, and result confirmation](objects.md) | Hosted sandboxes belong to workspaces. |
| Connect an interactive sandbox terminal | [Connect an interactive sandbox terminal](terminal-websocket.md) | First get a short-lived terminal token for the target sandbox, then connect the WebSocket. |
| Update sandbox egress allowlists | [Update sandbox egress allowlists](update-network.md) | Replace a limited sandbox's tool and extra egress endpoint allowlists. |
| Update workspace sandbox quota | [Update workspace sandbox quota](update-quota.md) | Update sandbox quotas and automatic temporary allocation policy for a workspace you may manage. |

```{toctree}
:hidden:
:maxdepth: 1

Create a workspace sandbox <create-sandbox>
Create sandbox SSH session credentials <create-ssh-session>
Delete a workspace sandbox <delete-sandbox>
Get sandbox quotas and network capabilities <get-quota>
Get sandbox details <get-sandbox>
Get a short-lived sandbox terminal token <get-terminal-token>
List Workspace sandboxes <list-sandboxes>
Sandbox objects, networks, and result confirmation <objects>
Connect an interactive sandbox terminal <terminal-websocket>
Update sandbox egress allowlists <update-network>
Update workspace sandbox quota <update-quota>
```
