Overview
The Checkpoints API treats git commits as workspace checkpoints. You can list the checkpoint history, create a new checkpoint by committing the current working tree, tag a checkpoint, and restore the workspace to a previous checkpoint. This is file-system checkpointing for local or VM-bound workspaces, distinct from run/job cursor state.Base URL
Authorization header unless the route is otherwise noted. See Authentication for details.
Endpoints
List checkpoints
Response when inside a git repository:
Create checkpoint
git add -A) and creates a commit with the provided message. An empty message returns 400 Bad Request.
Tag checkpoint
Restore checkpoint
pre-restore-<checkpointId>. The current branch is then reset hard to the target commit.
Response: