Skip to main content

Get session metrics

GET 

/rest/v1/:organisationId/:environmentId/agents/:agentId/metrics

Summarise the agent's sessions started in a time range, under data.metrics: totals, score distribution, tool usage, and sessions and tokens over time. The optional from and to query parameters are Unix seconds and default to the last 24 hours; type filters to live or evaluate. Requires the agentic-runtime-service:session:read scope.

Request​