dots.v2.agents.sessions.bySession_id().checkpoints.byCheckpoint_id().rollback.post()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.agents.sessions.bySession_id(session_id).checkpoints.byCheckpoint_id(checkpoint_id).rollback.post(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Rollback_to_checkpoint_response>Description
In-place restore: boots a fresh sandbox from the checkpoint and atomically swaps the session’s sandbox pointer to it, so the session keeps its same session_id; the old sandbox is then torn down.
Parameters
session_idstring requiredExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890The session UUID.
checkpoint_idstring requiredExample:
cp_9f2c1a4bThe checkpoint id.
Request Sample
Response Example
More Information
See /v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}/rollback in the API reference for additional detail on responses, headers, parameters, and more.