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.
Create Checkpoint
/v1/sprites/{name}/checkpoint
Create a new checkpoint of the current sprite state. Returns streaming NDJSON progress.
Request Body
application/jsoncomment
string
Response
application/x-ndjsonStreamInfoEvent
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
List Checkpoints
/v1/sprites/{name}/checkpoints
List all checkpoints.
Response
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
Response Codes
Success
Not Found - Resource not found
Internal Server Error
Get Checkpoint
/v1/sprites/{name}/checkpoints/{checkpoint_id}
Get details of a specific checkpoint.
Response
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
Response Codes
Success
Not Found - Resource not found
Internal Server Error
Restore Checkpoint
/v1/sprites/{name}/checkpoints/{checkpoint_id}/restore
Restore to a specific checkpoint. Returns streaming NDJSON progress.
Response
application/x-ndjsonStreamInfoEvent
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