For the complete documentation index, see llms.txt. This page is also available as Markdown.

Checkpoints

Cedana API for checkpoints

List checkpoints

get

Use query params to filter checkpoints. Supports filtering by ids (comma-separated UUIDs for single or multiple checkpoints)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
idsstring · nullableOptional

Comma-separated list of checkpoint UUIDs to filter by

Responses
200

Returns checkpoints

application/json

Checkpoint is basic unit for cedana service operation it stores all the information regarding the snapshot we can use to save and then restore state

checksumstring · nullableOptional
gpustringRequired
idstring · uuidRequired
infoanyOptional
namestring · nullableOptional
platformstringRequired
statusstring · enumRequiredPossible values:
get
/v2/checkpoints

Create checkpoint

post

Builds a new checkpoint without the metadata and information about the checkpoint with status initializing

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Returns the checkpoint ID for the new checkpoint

text/plain
stringOptional
post
/v2/checkpoints

Deprecate checkpoint

patch

Marks checkpoint as deprecated, so that they can be removed on next internal state cleanup

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

Successfully deprecated checkpoint and returns id

text/plain
stringOptional
patch
/v2/checkpoints/deprecate/{id}

Put checkpoint info

put

Add information about the checkpoint

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
Body
gpustringRequired
infoanyOptional
platformstringRequired
Responses
200

Successfully updated checkpoint info and returns ID

text/plain
stringOptional
put
/v2/checkpoints/info/{id}

Uploaded checkpoint

post

Marks checkpoint as successfully uploaded and ready for restore

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
restore_pathstring · nullableOptional
Responses
200

Marks the checkpoint as successfully uploaded

text/plain
stringOptional
post
/v2/checkpoints/uploaded/{id}

Last updated

Was this helpful?