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

Create Patch

Create a patch script that runs when a sandbox is spawned from a checkpoint. Patches apply in sequence order.
path checkpointIdstringrequired
Checkpoint ID
body scriptstringrequired
Bash script to execute on spawn
body descriptionstring
Human-readable description
Response example
{ "patch": { "id": "pa-abc123", "checkpointId": "cp-abc123", "script": "apt install -y curl", "description": "Install curl", "strategy": "on_wake", "sequence": 1, "createdAt": "2025-01-15T10:30:00Z" } }