Skip to main content
A rig progresses through a small set of states. This guide covers each transition.

State values

The server may introduce new state values over time. The SDK wait helpers treat anything not in the lists above (except failed) as “still working”, so unknown values won’t break your code.

List rigs

Stop a running rig

waitForRigStop polls every 3 seconds until the rig enters stopped. No client-side timeout — it throws if the rig transitions to failed.

Start a stopped rig

waitForRigStart polls every 3 seconds until the rig is in one of active / running / started.

Delete a rig

The CLI’s --delete-volumes / --keep-volumes flags control what happens to associated volumes; the SDK call always deletes the rig record and the server handles cleanup.

End-to-end example

Next steps

Create a rig

SSH and connect

Rig configuration reference