Get Analytics Overview
Returns an aggregated overview of organization activity for organization admins: a per-bucket time series of pull requests opened, merged, and closed; compute-minute usage bucketed and broken down by workspace source; workspace counts grouped by source; inference usage ranked by coding harness, model, and credential; skill and MCP call counts ranked by name; and a per-user leaderboard where each entry also carries that user’s workspace counts by source and their daily compute minutes in activity. Replicas support accounts that joined the organization are left out of the leaderboard. Totals come twice, as rangeTotals for the requested range and allTimeTotals for the organization’s whole history.
Authorizations
API key authentication. Obtain your API key from the Replicas dashboard under Organization → Settings → API Keys.
Query Parameters
Time bucket granularity for the returned series. Defaults to day.
day, week, month Inclusive start of the range as an ISO 8601 timestamp. Defaults to 30 days before end.
Exclusive end of the range as an ISO 8601 timestamp. Defaults to the current time.
Response
Successful response
Aggregated activity and usage metrics for an organization over a time range
Time bucket granularity of the returned series
day, week, month Inclusive start of the range as an ISO 8601 timestamp
Exclusive end of the range as an ISO 8601 timestamp
Totals over the requested range
Per-user leaderboard for the range, ranked by compute minutes. Includes every current organization member except Replicas support accounts, which are omitted; users with no activity in the range report zeroes and a null top source
Inference runtime over the requested range, ranked by coding harness, model, and credential
Skill call counts over the requested range, ranked by skill name
MCP call counts over the requested range, ranked by server name
The same totals over the organization's whole history, ignoring the requested range