Actions (Slurm)
Cedana API for actions (Slurm)
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
action_idstring | nullRead-onlyOptional
job_idstring | nullOptional
job_namestring | nullOptional
kindstring · enumOptionalPossible values:
reasonstring · enumOptionalPossible values:
Responses
200
Returns the id for the task
text/plain
Responsestring
404
Failed to find checkpointable resource
text/plain
500
Failed to connect/fetch from jobs table from database
text/plain
post
/v2/slurm/checkpoint/jobAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
action_idstringRequired
cluster_idstringRequired
reasonstring · enumRequiredPossible values:
Responses
200
Returns the checkpoint id for the new checkpoint
text/plain
Responsestring
400
Failed create checkpoint
text/plain
404
Failed create restore
text/plain
500
Failed to connect/fetch from jobs table from database
text/plain
post
/v2/slurm/restore/jobLast updated
Was this helpful?