Skip to content
Wardcase Docs

Statuses

A sandbox’s status field is one of these values. Once a sandbox reaches a final status it never changes again.

StatusMeaningFinal
creatingThe API accepted the request and a host is starting the sandbox.No
runningThe sandbox is up. You can run commands, move files, expose ports and connect over SSH.No
unreachableThe control plane lost contact with the sandbox's host. If the host reconnects and still has the sandbox, it returns to running.No
stoppingA destroy was requested, by you or by a timeout, and the host is tearing the sandbox down.No
stoppedThe sandbox was destroyed. end_reason says why.Yes
lostThe host stayed unreachable for 10 minutes. The sandbox is gone, and it is billed only up to the last usage sample the host sent.Yes
terminated_abuseAbuse detection killed the sandbox, for example for cryptocurrency mining. New sandboxes are blocked for the organization until the case is reviewed.Yes
failedThe sandbox could not be created, or it failed on the host.Yes
  1. creating: you called create.
  2. running: the host reported the sandbox ready.
  3. stopping: you destroyed it, or a timeout fired.
  4. stopped: the host tore it down. end_reason is api, idle_timeout or hard_timeout.

If the control plane stops hearing from a host, its sandboxes become unreachable. When the host reconnects, it reports the sandboxes it still has, and those go back to running. A host that stays unreachable for 10 minutes has its sandboxes marked lost, with end_reason: host_lost.

Every change is in the audit trail: sandbox.ready, sandbox.unreachable, sandbox.recovered, sandbox.lost, sandbox.failed and sandbox.destroyed.

List sandboxes in one status with GET /v1/sandboxes?status=running.