Sandboxes

Sandbox lifecycle

Create, inspect, start, pause, resume, stop, and permanently destroy sandboxes.

Sandboxes move through pending, starting, running, paused, stopped, and error states. Treat lifecycle actions as asynchronous: fetch the sandbox after an action before depending on runtime access.

Destroy is irreversible. Use snapshots to preserve a known-good environment before removing a sandbox.

terminal
1curl -X POST "$ZEISH_API/public/sandboxes/$SANDBOX_ID/pause" \2  -H "Authorization: Bearer $ZEISH_API_KEY"