Get token analytics data
POST
Get token analytics data.
Personal access token scope: analytics:read.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
api_key_id?stringAPI Key ID
filter_option?stringFilter option for analytics
Default
"last_30_days"Value in
"last_hour""last_24_hour""last_7_days""last_15_days""last_30_days"group_by?stringSecond grouping dimension for the series
Default
"none"Value in
"none""model""agent""source"include_side_channel?booleanInclude non-user-initiated token usage (title generation, compression, RAG condensing, fallback)
Default
trueSuccess
curl -X POST 'http://localhost:7091/api/get_token_analytics' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
Empty
Get scheduled agent run outcomes over time POST
Get scheduled agent run outcomes over time. [Personal access token](/API/personal-access-tokens) scope: `analytics:read`.
Get tool call analytics from the tool execution journal POST
Get tool call analytics from the tool execution journal. [Personal access token](/API/personal-access-tokens) scope: `analytics:read`.