Suspend and Resume a Devbox
A 4-step recipe with Runloop. We can help you get access.
Recipe · 4 steps
Suspend and Resume a Devbox
with Runloop · Environment Management
Suspend a devbox then resume it back to running.
- Suspend the running devbox; its disk is snapshotted as part of suspension.
- Poll until the devbox reports suspended, looping back while it is still suspending.
- Resume the suspended devbox from its captured disk state.
- Poll until the devbox reports running again, looping back while it is still resuming.
What you'll need to have ready
- apiToken: Runloop API bearer token.
- devboxId: The id of the running devbox to suspend and resume.
For your developer
Arazzo workflow runloop-ai:suspend-and-resume-devbox, 4 operations: suspendDevbox → waitForDevboxStatus → resumeDevbox → waitForDevboxStatus. Specs on APIs.io.