snapshot_id, tied back to the source_sandbox_id it was taken from — but its identity outlives that source: you can delete the sandbox that produced a snapshot and keep the snapshot. See Snapshots for the full concept.
To start a new sandbox from a snapshot, pass its id to create (
snapshot in the SDKs and API, snapshot on the MCP sandbox_create tool). To clone a running sandbox directly, use fork.Create a snapshot
The source sandbox must be running — suspended, failed, or already-deleted sandboxes are rejected rather than snapshotted.SandboxSuspendedError, a failed one SandboxFailedError, a deleted one SandboxNotFoundError/SandboxDeletedError.