createCheckpoint
Agent Runtimes / api/runtimes/checkpoints / createCheckpoint
Function: createCheckpoint()
createCheckpoint(
token,data,baseUrl?):Promise<CreateRuntimeCheckpointResponse>
Defined in: src/api/runtimes/checkpoints.ts:161
Create a checkpoint record (after a CRIU checkpoint has been taken).
Parameters
token
string
Authentication token
data
CreateRuntimeCheckpointRequest
Checkpoint creation payload (runtime_uid, agentspec, etc.)
baseUrl?
string = DEFAULT_SERVICE_URLS.RUNTIMES
Base URL for the runtimes API
Returns
Promise<CreateRuntimeCheckpointResponse>
Promise resolving to the created checkpoint