Actions32
Sandbox → Stop
AI-generatedSummary
Stop a Daytona sandbox by ID, then return its current or completed state. Optionally poll until it reaches a stopped, archived, or destroyed state.
Inputs
- Sandbox ID (required) — ID of the sandbox to stop.
- Wait Until Stopped — Defaults to false. When enabled, poll for a terminal stop state before returning.
- Wait Timeout (Seconds) — Shown when waiting is enabled; maximum polling time, default 60 seconds (1–600).
Output shape
A single item whose JSON contains the sandbox response.
With waiting enabled, returns the sandbox once its state is stopped, archived, or destroyed. Without waiting, returns the sandbox fetched after the stop request. If that fetch or the polling encounters a 404, returns {"id":"
","state":"destroyed"}. Other errors fail the operation.