Core resources
The API is nine routes over two resources, sandboxes and snapshots, plus the volume and secret
registries. Mutations are asynchronous: create, update, and delete return immediately and you poll
the sandbox until its observed state reaches the outcome you asked for (the CLI waits for you).
What’s live today
The runtime under this API is being rebuilt in stages. Finished stages work end to end; unfinished stages fail closed with explicit errors: a request is refused rather than silently weakened. Working end to end now:hiloop sandbox create <name>: create from an OCI image (--image <ref>, or the platform default image when omitted) and wait until running.hiloop sandbox create --storage-class durable: mounts/workspaceas a volume with its own lifetime, released when the sandbox is deleted. Files written there survive losing the sandbox’s node; running processes do not, and the workload starts again from its image on the replacement. Available by default; a deployment whose cluster names no backing storage class refuses the request withunsupported_capabilityrather than downgrading to node-bound storage. On the platform default image/workspaceis also your home directory, so a tool you install and the configuration it writes are kept alongside your files. A custom image keeps whateverHOMEandWORKDIRit sets; point them under/workspaceif you want the same. See durability.hiloop sandbox list/get: observed state, endpoints, lineage, metadata.- TTL and metadata updates.
hiloop sandbox exec <name> -- <command>: one buffered command in the workload container, with its real exit code, separated stdout and stderr, and replay-safe retries.hiloop sandbox stop/hiloop sandbox start: stop seals and stops the workload, start wakes it. The sandbox keeps its identity and its name across a stop, and ondurablestorage its/workspaceis recovered from the configured backing storage. Running processes do not survive a stop; files under/workspacedo.hiloop sandbox delete: permanent, idempotent teardown.hiloop sandbox snapshot create/snapshot list: capture a durable sandbox’s workspace and list what you have captured. A completed snapshot reports its durability.hiloop sandbox create --from <snapshot>: start a new sandbox on a snapshot’s workspace. Several can start from one snapshot and diverge; the lineage between them is recorded. A--fromnaming a snapshot that never reached durability is refused withsnapshot_not_restorable.
hiloop sandbox ssh <name>: an interactive shell, remote commands, and-Lport forwarding over stock OpenSSH. The shell runs inside your workload container, so it sees your image’s filesystem as the image’s own user, starting in itsWORKDIR. This one verb depends on the sandbox SSH endpoint, which an operator turns on per deployment and which is off by default; on the hosted service it is currently enabled only in pre-release environments. Where it is off, a connect is refused withunsupported_capabilityand nothing else about the sandbox changes. See interactive access.
Start here
- Quickstart for install, sign-in, and a first sandbox.
- Run a sandbox for the create, execute, and clean-up flow.
- Lifecycle for states, asynchronous mutations, and TTLs.
- Snapshots and branching for the persistence and fan-out model.
- Commands and executions for the exec contract and the SSH session contract.
- Network access for the outbound-network posture.