Get Analytics Overview
Returns an aggregated overview of organization activity over a time range for organization admins: a per-bucket time series of workspaces created and pull requests opened, merged, and closed; compute-minute usage bucketed and broken down by workspace source; workspace counts grouped by source; and a summary total across the range.
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 across the requested range