[SDK reference](../../index.md) / [Models](../index.md)

# Models.Sandboxes namespace

## Types

| Type | Kind | Description |
|---|---|---|
| [ClaimSandboxRequest](ClaimSandboxRequest.md) | class | Claim request for a pooled claimable sandbox (W46). |
| [CloseSandboxSessionRequest](CloseSandboxSessionRequest.md) | class | Ends a session (W106). |
| [CodeModeExecuteRequest](CodeModeExecuteRequest.md) | class | Code-Mode read-and-plan script execution request (W46; zero k8s/host/cell-service reach). |
| [CodeModeExecuteResponse](CodeModeExecuteResponse.md) | class | Result of Code-Mode read-and-plan script execution (W46). |
| [ConnectSandboxSessionRequest](ConnectSandboxSessionRequest.md) | class | The console gateway's redemption of a session's ticket (W106; ADR-0718, ADR-0609). |
| [ConnectSandboxSessionResponse](ConnectSandboxSessionResponse.md) | class | Where the console gateway brokers the owner's connection to; the sandbox has no public URL (ADR-0718). |
| [CreateSandboxSnapshotRequest](CreateSandboxSnapshotRequest.md) | class | Request payload to snapshot a running sandbox's workspace. At most 5 manual snapshots exist per sandbox and a snapshot holds at most 256 MiB. |
| [DeclareSandboxPortRequest](DeclareSandboxPortRequest.md) | class | Declares a port. Declaring a port that is already declared changes its label. |
| [DevEnvironment](DevEnvironment.md) | class | Persistent cloud DevEnvironment backed by `devcontainer.json` and a durable home volume (W109; ADR-0718). |
| [DevEnvironmentMergePatchUpdate](DevEnvironmentMergePatchUpdate.md) | class | Persistent cloud DevEnvironment backed by `devcontainer.json` and a durable home volume (W109; ADR-0718). |
| [DevEnvironmentMergePatchUpdate_devcontainerJsonMember1](DevEnvironmentMergePatchUpdate_devcontainerJsonMember1.md) | class |  |
| [DevEnvironmentMergePatchUpdate_displayNameMember1](DevEnvironmentMergePatchUpdate_displayNameMember1.md) | class |  |
| [DevEnvironmentMergePatchUpdate_idleTimeoutMinutesMember1](DevEnvironmentMergePatchUpdate_idleTimeoutMinutesMember1.md) | class |  |
| [DevEnvironmentMergePatchUpdate_repositoryUrlMember1](DevEnvironmentMergePatchUpdate_repositoryUrlMember1.md) | class |  |
| [DevEnvironmentRepositoryStatus](DevEnvironmentRepositoryStatus.md) | class | The repository state read inside a running dev environment with `git status`. Nothing here is a guess: when the read fails the call fails. |
| [DevEnvironmentState](DevEnvironmentState.md) | enum | DevEnvironment lifecycle states (W109; ADR-0718). |
| [DevEnvironment_annotations](DevEnvironment_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [DevEnvironment_labels](DevEnvironment_labels.md) | class | At most 64. |
| [ExecSandboxRequest](ExecSandboxRequest.md) | class | Request payload for `:exec` inside a running sandbox (ADR-0904). |
| [ExecSandboxResponse](ExecSandboxResponse.md) | class | Response from `:exec`; marked untrusted (`untrustedOutput: true` + `X-Untrusted-Output: true`, ADR-0902 / ADR-0904). |
| [ExtendSandboxRequest](ExtendSandboxRequest.md) | class | Request payload for `:extend`: more lifetime for a running sandbox. |
| [ListSandboxFilesRequest](ListSandboxFilesRequest.md) | class | Request payload for `:listFiles`: names, sizes and kinds under one workspace directory. |
| [ListSandboxFilesResponse](ListSandboxFilesResponse.md) | class | Response from `:listFiles`; the names are the sandbox's own data and so untrusted (ADR-0902). |
| [OpenDevEnvironmentSessionRequest](OpenDevEnvironmentSessionRequest.md) | class | Gateway-brokered session on a dev environment (ADR-0918; R2 passkey verification required). |
| [OpenSandboxSessionRequest](OpenSandboxSessionRequest.md) | class | Gateway-brokered IDE/Console session request (W106; R2 passkey verification required). |
| [OpenSandboxSessionResponse](OpenSandboxSessionResponse.md) | class | Gateway-brokered IDE/Console session response (no public ingress URL exposed; W106). |
| [ReadSandboxFilesRequest](ReadSandboxFilesRequest.md) | class | Request payload for `:readFiles` (`<= 20 MiB` total per call). |
| [ReadSandboxFilesResponse](ReadSandboxFilesResponse.md) | class | Response from `:readFiles`; marked untrusted (`untrustedOutput: true` + `X-Untrusted-Output: true`). |
| [ResizeSandboxRequest](ResizeSandboxRequest.md) | class | Request payload for `:resize`: the shape the sandbox has when it next wakes. |
| [RestoreSandboxSnapshotResponse](RestoreSandboxSnapshotResponse.md) | class | What `:restore` wrote back into the running sandbox. |
| [Sandbox](Sandbox.md) | class | Ephemeral isolated sandbox running untrusted agent code in the `UNTRUSTED` node pool (ADR-0904, ADR-0718). |
| [SandboxEgressMode](SandboxEgressMode.md) | enum | Outbound network egress policy for a sandbox (ADR-0904 §Egress). |
| [SandboxFileEntry](SandboxFileEntry.md) | class | One workspace file entry for `:writeFiles` or `:readFiles`. |
| [SandboxFileListing](SandboxFileListing.md) | class | One entry of a sandbox workspace listing (`:listFiles`): a file, a directory or a symbolic link, never its content. |
| [SandboxMergePatchUpdate](SandboxMergePatchUpdate.md) | class | Ephemeral isolated sandbox running untrusted agent code in the `UNTRUSTED` node pool (ADR-0904, ADR-0718). |
| [SandboxMergePatchUpdate_allowedEgressDomainsMember1](SandboxMergePatchUpdate_allowedEgressDomainsMember1.md) | class |  |
| [SandboxMergePatchUpdate_displayNameMember1](SandboxMergePatchUpdate_displayNameMember1.md) | class |  |
| [SandboxMergePatchUpdate_idleTimeoutSecondsMember1](SandboxMergePatchUpdate_idleTimeoutSecondsMember1.md) | class |  |
| [SandboxPort](SandboxPort.md) | class | One port declared on a sandbox or dev environment (ADR-0918). Only a declared port can be reached through a `port` session; the gateway relays to nothing else. |
| [SandboxPortList](SandboxPortList.md) | class | The ports declared on a sandbox or dev environment. |
| [SandboxSessionEnd](SandboxSessionEnd.md) | class | How a session ended and what was saved back (W106; ADR-0718). |
| [SandboxSessionInfo](SandboxSessionInfo.md) | class | One console-gateway session of a sandbox (W106; ADR-0718): who opened it, when, and how it ended. The ticket and its digest are never listed. |
| [SandboxShape](SandboxShape.md) | enum | Sandbox compute shape (ADR-0904 §Shapes): `s1` (1 vCPU / 1 GiB), `s2` (2 vCPU / 4 GiB), `s4` (4 vCPU / 8 GiB). |
| [SandboxSnapshot](SandboxSnapshot.md) | class | One saved copy of a sandbox's workspace (`/workspace`): the files' names, modes and content digests, with the bytes kept in the project's content store. |
| [SandboxState](SandboxState.md) | enum | Sandbox lifecycle states. |
| [SandboxTemplate](SandboxTemplate.md) | enum | Sandbox session template (ADR-0718; brokered via console gateway, never a public URL). |
| [SandboxTier](SandboxTier.md) | enum | Sandbox isolation tier (ADR-0904 §Isolation). |
| [Sandbox_annotations](Sandbox_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [Sandbox_labels](Sandbox_labels.md) | class | At most 64. |
| [SaveSandboxWorkspaceResponse](SaveSandboxWorkspaceResponse.md) | class | Workspace auto-save request/response models (W106). |
| [WriteSandboxFilesRequest](WriteSandboxFilesRequest.md) | class | Request payload for `:writeFiles` (`<= 20 MiB` total per call). |
| [WriteSandboxFilesResponse](WriteSandboxFilesResponse.md) | class | Response from `:writeFiles`. |
