`GET /api/v1/agents/{node_id}/state/operations` — list state operations for a single agent, most recent first.
GET
/api/v1/agents/{node_id}/state/operations
const url = 'https://example.com/api/v1/agents/example/state/operations';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/agents/example/state/operationsParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” node_id
required
string
Agent node ID
Query Parameters
Section titled “Query Parameters ” limit
integer
Maximum number of operations to return in a single page.
offset
integer
Zero-based offset into the most-recent-first ordering. Combine with
limit to page through history.
Responses
Section titled “ Responses ”Paged state operations for the agent
Media type application/json
Example generated
example