Checkpoints
Checkpoints capture your Sprite's complete filesystem state for instant rollback. They're live snapshots—creation takes milliseconds with no interruption to running processes.
Use checkpoints before risky operations, to create reproducible environments, or to share known-good states across a team. Copy-on-write storage keeps incremental checkpoints small; you only store what changed.
Checkpoints
Create Checkpoint
Create a new checkpoint of the current sprite state. Returns streaming NDJSON progress.
/sprites/{name}/checkpoint
Request Body
application/jsoncomment?
string
Response Body
application/x-ndjson
StreamInfoEvent
type*
"info"
data*
String
Status message
time*
DateTime
Timestamp
StreamErrorEvent
type*
"error"
error*
String
Error description
time*
DateTime
Timestamp
StreamCompleteEvent
type*
"complete"
data*
String
Completion message
time*
DateTime
Timestamp
Response Codes
Success - Streaming NDJSON response
Not Found - Resource not found
Internal Server Error
Checkpoints
List Checkpoints
List all checkpoints.
/sprites/{name}/checkpoints
Response Body
application/jsonid*
string
Checkpoint identifier (e.g., v7)
create_time*
string
When the checkpoint was created
source_id?
string
Parent checkpoint ID
comment?
string
User-provided description
health?
string
Health status (empty = healthy, "mount_failed" = unhealthy)
Response Codes
Success
Not Found - Resource not found
Internal Server Error
Checkpoints
Get Checkpoint
Get details of a specific checkpoint.
/sprites/{name}/checkpoints/{checkpoint_id}
Response Body
application/jsonid*
string
Checkpoint identifier (e.g., v7)
create_time*
string
When the checkpoint was created
source_id?
string
Parent checkpoint ID
comment?
string
User-provided description
health?
string
Health status (empty = healthy, "mount_failed" = unhealthy)
Response Codes
Success
Not Found - Resource not found
Internal Server Error
Checkpoints
Restore Checkpoint
Restore to a specific checkpoint. Returns streaming NDJSON progress.
/sprites/{name}/checkpoints/{checkpoint_id}/restore
Response Body
application/x-ndjson
StreamInfoEvent
type*
"info"
data*
String
Status message
time*
DateTime
Timestamp
StreamErrorEvent
type*
"error"
error*
String
Error description
time*
DateTime
Timestamp
StreamCompleteEvent
type*
"complete"
data*
String
Completion message
time*
DateTime
Timestamp
Response Codes
Success - Streaming NDJSON response
Not Found - Resource not found
Internal Server Error