Guides
Checkpoints and carrying on
A checkpoint saves a sandbox's files (under /workspace, else the home folder), a recipe to rebuild its setup, and its task journal. Resume starts a new sandbox on any provider and puts it all back. Running programs and memory are never captured. To retain the same sandbox instead, use pause and resume.
Save and restore a checkpoint
KEY=anx_live_…; A=https://annex.eversonder.com/v1/workspaces/wsp_… # your key and workspace
curl -s -X POST $A/sandboxes/sbx_…/checkpoints -H "Authorization: Bearer $KEY" \
-H 'Content-Type: application/json' -d '{"note":"tests pass; next: deploy"}'
curl -s -X POST $A/checkpoints/ckp_…/resume -H "Authorization: Bearer $KEY" \
-H 'Content-Type: application/json' -d '{"route":"cheapest"}'Both answer 202 with a job to follow (GET it, or its …/events stream). Later checkpoints send only what changed. Dependency folders (node_modules, .venv) are left out and restored from a cache keyed by your lockfile.
Automatic checkpoints
auto_checkpoint_minutes (5 to 60, 30 for a new task) saves a busy sandbox on its own, keeping the newest 3.
Carrying on
Annex checks every running sandbox about every 15 seconds. If a provider ends one you were using, Annex confirms it twice, marks it lost and, with auto_resume on, resumes its newest checkpoint on another account. The lost sandbox's replaced_by names the new one.