A sandbox moves through creation, readiness, runtime operation, and cleanup. Use the SDK object returned by create/connect as the boundary for all runtime work.
API responses expose product-safe states. Internal Atlas states such as new, warming, warm, creating, active, stopped, and destroying are collapsed before they reach public clients.
State/status
Meaning
starting
Runtime is creating or waiting for a healthy heartbeat.
running
Runtime APIs are usable.
paused
Runtime is stopped, but durable metadata remains for connect/resume.
deleted
Sandbox has been removed.
failed / error
Runtime failed to become usable or a lifecycle operation failed.
Sandbox detail, list, and create responses may include timeline and diagnostic. Use those fields for user-facing progress and troubleshooting instead of parsing raw logs.
When supported, timeout maps to pause instead of kill.
Do not send stale compatibility fields such as timeoutMs, autoResume, secure, allow_internet_access, network, mcp, volume_mounts, or request-level volumeMounts. They are rejected instead of silently ignored.