Skip to main content
This feature is currently in private preview and is not recommended for production use.
Snapshots capture the current state of a sandbox at a point in time. Use snapshots to checkpoint sandbox state to allow rollbacks after making changes, or as the basis for forking a sandbox into a new sandbox.

Create a snapshot

Create a snapshot of an existing sandbox. The snapshot captures the filesystem, running processes, and memory state.

List snapshots

Delete a snapshot

Fork a sandbox

Forking creates a new sandbox from an existing one, forking its entire memory state (files + running processes). The fork inherits the source sandbox’s image, memory configuration, environment variables, and port settings. Calling fork() automatically snapshots the source sandbox’s current state and forks from it — you don’t need to create a snapshot first.

Fork from a snapshot

To create a sandbox from a snapshot you took earlier, pass its snapshotId. The fork is created from that snapshot instead of the source sandbox’s current state:

Fork request parameters

Sandbox overview

Learn more about sandbox lifecycle and configuration.
Last modified on August 3, 2026