The checkpoint API can be used to list and restore checkpoints created in a flow.
You can access a paginated list of checkpoints for a specific process,
identified by the id, with the REST API.
The
/api/v1/process/{id}/checkpointendpoint is deprecated since version 2.44.0 in favor of the paginated/api/v3endpoint described below.
/api/v3/process/{id}/checkpointGETAuthorization, Content-Type: application/jsonoffset - number of checkpoints to skip; defaults to 0limit - maximum number of checkpoints to return; defaults to 10Body none
Success response
Content-Type: application/json
[
{
"id": "...",
"name": "...",
"createdAt": "..."
},
{
"id": "...",
"name": "...",
"createdAt": "..."
},
...
]
You can restore a process state from a named checkpoint of a specific process using the process identifier in the URL and the checkpoint identifier in the body.
/api/v1/process/{id}/checkpoint/restorePOSTAuthorization, Content-Type: application/json {
"id": "..."
}
Success response
Content-Type: application/json
{
"ok": true
}