Take a checkpoint
POST /sandboxes/{id}/checkpoints takes an optional body; the answer is 201 with the new step.
Each step is a saved snapshot named
<sandbox id>.cp<step>, so it also counts toward your saved snapshots
(limits). Start a new sandbox from it with POST /sandboxes and {"snapshot": "<name>"}: the branch keeps its own
checkpoints after that step. Two checkpoints taken at the same moment can answer 409; repeat the call.
Read the timeline
GET /sandboxes/{id}/checkpoints answers sandboxID, checkpoints (oldest first) and ownBytes, the disk the sandbox’s own
steps hold. The steps of the snapshots the sandbox was started from come first and carry inherited: true. Each step has its
label, step, parent and created. The sandbox does not have to be running.
Rewind
POST /sandboxes/{id}/rewind with {"checkpoint": "<checkpointID>"} takes a checkpoint or a saved snapshot of your account.
The sandbox goes back to it, keeps its id, and its next checkpoint follows that step. The answer carries sandboxID,
checkpointID, step, generation and tookMs.