Usage statistics
Returns usage data for the caller’s tenant. Supports three modes — summary (aggregated totals), grouped aggregation (by agent_type or model), and per-session records. Requires read scope.
POST
Usage statistics
Body
application/json
Return aggregated summary instead of records.
Time range: '24h', '7d', '30d' (default '7d').
Aggregate dimension.
Available options:
agent_type, model Required range:
x >= 1Required range:
1 <= x <= 100Sort field (default 'tokens').
Sort order (default 'desc').
Available options:
asc, desc 