Creating a Snapshot
- CLI
- Python
- HTTP
Restoring from a Snapshot
Create a new sandbox from a snapshot. The new sandbox restores the captured filesystem and memory state, and inherits the image, resources, entrypoint, and secrets from the snapshot unless explicitly overridden.- CLI
- Python
- HTTP
Clone a Sandbox
tl sbx clone creates a snapshot and immediately boots a new sandbox from it:
- CLI
- Python
- HTTP
Managing Snapshots
List Snapshots
- CLI
- Python
- HTTP
Get Snapshot Details
- Python
- HTTP
- CLI
Delete a Snapshot
- CLI
- Python
- HTTP
snapshot_and_wait Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
sandbox_id | str | — | ID of the running sandbox to snapshot |
timeout | float | 300 | Max seconds to wait for completion |
poll_interval | float | 1.0 | Seconds between status polls |