History
Sessions group the changes an agent made, so they can be reviewed and undone together.
View as MarkdownEndpoints
- GETList agent sessions
/v1/history/sessions - GETList a session's changes
/v1/history/sessions/{sessionId} - POSTUndo a session
/v1/history/sessions/{sessionId}/undo
The HistorySession object
{
"sessionId": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"actor": {
"type": "user",
"id": "string"
},
"workspaceId": null,
"firstAt": "2026-11-12T09:30:00.000Z",
"lastAt": "2026-11-12T09:30:00.000Z",
"count": 0,
"undoneCount": 0
}