Checkpoints
A checkpoint records the state of a cell at one moment. Take one before a risky change, and restore it if the change goes wrong.
Create a checkpoint
POST /v1/cells/{name}/checkpoint takes an optional comment and streams progress as NDJSON. It finishes with a complete event, or an error event that carries the reason.
curl
# Create a checkpoint (streams NDJSON progress)
curl -N -X POST https://cells-api.mudbase.dev/v1/cells/api-dev/checkpoint \
-H "Authorization: Bearer $CELLS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"comment":"Before database migration"}'# Create a checkpoint (streams NDJSON progress)
curl -N -X POST https://cells-api.mudbase.dev/v1/cells/api-dev/checkpoint \
-H "Authorization: Bearer $CELLS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"comment":"Before database migration"}'List and inspect
GET /checkpoints lists checkpoints for the cell. GET /checkpoints/{checkpoint_id} returns one. Each checkpoint has an id (for example v7), a create_time, its comment, the source_id it was taken from, and a health value (empty when healthy).
curl
curl -sS https://cells-api.mudbase.dev/v1/cells/api-dev/checkpoints \
-H "Authorization: Bearer $CELLS_API_KEY"
curl -sS https://cells-api.mudbase.dev/v1/cells/api-dev/checkpoints/v7 \
-H "Authorization: Bearer $CELLS_API_KEY"curl -sS https://cells-api.mudbase.dev/v1/cells/api-dev/checkpoints \
-H "Authorization: Bearer $CELLS_API_KEY"
curl -sS https://cells-api.mudbase.dev/v1/cells/api-dev/checkpoints/v7 \
-H "Authorization: Bearer $CELLS_API_KEY"Checkpoint
{
"id": "v7",
"comment": "Before database migration",
"create_time": "2026-01-05T10:30:00Z",
"source_id": "v6",
"health": ""
}{
"id": "v7",
"comment": "Before database migration",
"create_time": "2026-01-05T10:30:00Z",
"source_id": "v6",
"health": ""
}Restore
POST /checkpoints/{checkpoint_id}/restore returns the cell to that state and streams progress. Work done after the checkpoint is lost, so take a new checkpoint first if you might want it.
curl
# Restore the cell to checkpoint v7 (streams NDJSON progress)
curl -N -X POST https://cells-api.mudbase.dev/v1/cells/api-dev/checkpoints/v7/restore \
-H "Authorization: Bearer $CELLS_API_KEY"# Restore the cell to checkpoint v7 (streams NDJSON progress)
curl -N -X POST https://cells-api.mudbase.dev/v1/cells/api-dev/checkpoints/v7/restore \
-H "Authorization: Bearer $CELLS_API_KEY"Warning
A
health value of mount_failed marks a checkpoint as unhealthy. Check the health of a checkpoint before you rely on it to recover.