Sessions
Get session usage stats
Changed onReturns cumulative usage stats (tokens, turns, tool calls) for a session, accumulated across all its agent runs. Only the session owner (same user + org) can access it. Omits the full message history — use GET /api/sessions/{sessionId} for the full transcript.
get/api/sessions/{sessionId}/stats
Request
- Base URL/api/plugins/consensys-asko11y-app/resources (relative, and the document was published on a file host, not at the API’s origin)
- Auth
- API key in cookie grafana_session
- or HTTP bearer
Path parameters
sessionIdstring required
Session ID (base64 URL-safe 32-byte token)
Headers
X-Grafana-Org-Idstring
Grafana organization ID for multi-tenant isolation. Defaults to '1' if not provided.
Response
Session usage stats
Changes
- info
endpoint added
- info