Create a Patch
Sandbox.create_checkpoint_patch(checkpoint_id, script, **kwargs)
UUID of the checkpoint to patch.
Bash script to execute inside the sandbox.
Human-readable description.
API key override.
API URL override.
dict
List Patches
Sandbox.list_checkpoint_patches(checkpoint_id, **kwargs)
Returns: list[dict] — ordered by sequence number.
Delete a Patch
Remove a bad or unwanted patch. Remaining patches continue to apply in sequence order.Sandbox.delete_checkpoint_patch(checkpoint_id, patch_id, **kwargs)
UUID of the checkpoint.
UUID of the patch to delete.
None
How Patches Apply
| Event | Patches run? |
|---|---|
Sandbox.create_from_checkpoint() | Yes — after boot |
await sandbox.wake() | Yes — after restore |
| Sandbox already running | No — next wake/boot |