Hanzo
OpenapiSandbox

Lease a sandbox

Creates a sandbox and returns it. `class` is one of `exec`, `dev`, `desktop` or `android`; `dev` and `desktop` are attached to a `project`, which is…

POST /v1/sandbox

Addresshttps://api.hanzo.ai/v1/sandbox
MethodPOST
Operationpost_sandbox
AuthAuthorization: Bearer $HANZO_API_KEY

Creates a sandbox and returns it. class is one of exec, dev, desktop or android; dev and desktop are attached to a project, which is required for them and names the volume the work persists on. ttlSec bounds the lease, and image overrides the class default.

This is the ONLY path that creates cluster objects. The isolation boundary is the pod's runtime class, one field, so what a sandbox is confined by is a deployment decision rather than anything this operation negotiates.

Request

The document declares no body for POST /v1/sandbox. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask the MCP door's describe for post_sandbox, which answers from the running route.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo sandboxes create

Sandbox API · All Hanzo APIs · Interactive reference

How is this guide?

On this page