Creating a Snapshot
- CLI
- Python
- TypeScript
- HTTP
Restoring from a Snapshot
Create a new sandbox from a snapshot. The new sandbox restores the captured filesystem, memory, and running processes exactly as they were — image, resources (CPUs, memory), entrypoint, and secrets all come from the snapshot and cannot be changed at restore time. If you need different resources, create a fresh sandbox instead of restoring.- CLI
- Python
- TypeScript
- HTTP
Clone a Sandbox
tl sbx clone creates a snapshot and immediately boots a new sandbox from it. The intermediate snapshot persists — it shows up in tl sbx snapshot ls and counts toward storage until you delete it with tl sbx snapshot rm <snapshot-id>.
- CLI
- Python
- TypeScript
- HTTP
Managing Snapshots
List Snapshots
- CLI
- Python
- TypeScript
- HTTP
Get Snapshot Details
- TypeScript
- Python
- HTTP
- CLI
Delete a Snapshot
- CLI
- TypeScript
- 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 |