Daytona icon

Daytona

Manage Daytona sandboxes, snapshots, and volumes; run code and shell commands; drive a full Git pipeline; and manage the sandbox filesystem

Snapshot → Activate

AI-generated

Summary

Activate a snapshot by its ID or name and optionally wait until it reaches the "active" state before returning.

Inputs

  • Snapshot ID (required) — ID or name of the snapshot to activate
  • Wait Until Active — Whether to poll until the snapshot reaches the "active" state before returning (defaults to true).
  • Wait Timeout (Seconds) — Maximum time to wait for the snapshot to reach the "active" state (effective only if Wait Until Active is true; defaults to 120 seconds).

Output shape

a single JSON object representing the activated snapshot's full data

If "Wait Until Active" is true, the node polls until the snapshot state becomes "active" or the timeout expires. If the snapshot is already active, it returns immediately. Errors are thrown for failure states or timeout.

Links

Discussion