API reference

Wait for a sandbox to become ready

View Markdown

GET/sandboxes/{id}/wait

Parameters

id · path
Sandbox ID
timeout_seconds · query
Maximum wait in seconds (default 10, maximum 30)
workspace_id · query
Optional workspace ID; must match stored ownership

Responses

200 · OK
FieldTypeDescription
created_atRequiredstring
desired_network_policy_generationintegerDesiredNetworkPolicyGeneration identifies accepted desired configuration.
expires_atstring
failurestring
failure_codestringFailureCode and Failure explain a failed sandbox. Without them a caller sees only "failed" and cannot tell a capacity refusal from a broken control plane, which are acted on very differently.
gatedFeaturesobject
idRequiredstring
image_idstring
lifetimeRequiredthundertypes.SandboxLifetime
logsarray of thundertypes.SandboxLog
nameRequiredstring
network_policyRequiredthundertypes.SandboxNetworkPolicy
network_policy_generationintegerNetworkPolicyGeneration is the last confirmed enforced generation.
queuedbooleanQueued is true while a queue-admitted sandbox is waiting for placement.
ready_atstring
specRequiredthundertypes.SandboxResourceSpec
sshthundertypes.SandboxSSHConnection
statusRequiredthundertypes.SandboxStatus
stopped_atstring
timing_sensitivebooleanTimingSensitive reports a sandbox started with timing_sensitive: gVisor with its GPUs passed through rather than virtualized.
vmbooleanVM is true when SSH lands directly in the sandbox's own environment, as root, rather than in a Thunder guest beside its container: a sandbox that boots a VM-root image as the whole VM, or a timing-sensitive (gVisor) one. Clients run commands there directly instead of through docker exec.
workspace_idstring
400 · Bad Request
FieldTypeDescription
codeinteger
errorstring
messagestring
401 · Unauthorized
FieldTypeDescription
codeinteger
errorstring
messagestring
403 · Forbidden
FieldTypeDescription
codeinteger
errorstring
messagestring
404 · Not Found
FieldTypeDescription
codeinteger
errorstring
messagestring
408 · Request Timeout
FieldTypeDescription
codeinteger
errorstring
messagestring

Operation specification

The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.