Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Fork from Checkpoint

Create a new sandbox from a checkpoint.
path checkpointIdstringrequired
Checkpoint ID
body timeoutinteger
Idle timeout for the new sandbox (default: 300)
body envsobject
Environment variables to override on the fork. Keys that match the checkpoint's stored envs are replaced; new keys are added.
body secretStorestring
Name of a secret store to attach. If the checkpoint already has a store, secrets are merged — the new store's values win on collision and egress allowlists are aggregated.
body memoryMBinteger
Memory for the forked sandbox, in MB. Clamped to a valid range: the floor is the checkpoint's own memory (a fork can't start smaller than the snapshot it restores, so a smaller value is ignored) and the ceiling is 16384 (16 GB; larger values are capped). The memoryMB field in the response reports the effective value after clamping.
Response example
{ "sandboxID": "sb-def456", "status": "running", "region": "use2", "workerID": "w-use2-abc123", "memoryMB": 4096 }