Hourly tool distribution
Tool execution counts grouped by hour of day (0-23 UTC).
/analytics/hourly-distributionTool execution counts grouped by hour of day (0-23 UTC).
Query Parameters
Start of the time range to report on, inclusive.
date-timeEnd of the time range to report on, exclusive.
date-timeFilter to specific agent instances by id.
Filter to agents by slug, the agent type such as claude-code.
Filter to specific MCP servers by id.
Filter to specific tool names.
Filter to specific users by id.
Filter to users in specific groups.
Filter to agent instances carrying specific tags.
Filter to MCP servers carrying specific tags.
Response Body
application/json
application/json
curl -X GET "https://example.com/analytics/hourly-distribution?start_time=2019-08-24T14%3A15%3A22Z&end_time=2019-08-24T14%3A15%3A22Z"{ "items": [ { "hour": 0, "count": 0 } ]}Event breakdown by action GET
Audit event breakdown by action type.
LLM cost by group GET
Cost per user group over a time range, alongside how much of each group's seats are in use. A user who belongs to several groups has their cost split evenly across them, so group rows always sum to the org total. Usage from users with no group is returned in an Unassigned ("") row, which cannot be filtered to. Filtering by group narrows the split as well as the rows: only the selected groups come back, each charged its members' whole cost, and the rows still sum to the filtered total. Filters are limited to provider and user_group; for one person's cost, filter the per-user endpoints by user_id.