---
title: "Get Analytics Overview"
method: GET
path: "/v1/analytics/overview"
tags: ["Analytics"]
---

# Get Analytics Overview

`GET /v1/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.

## Query parameters

- `bucket` 'day' | 'week' | 'month'
- `start` string, date-time
- `end` string, date-time

## Response `200`

Successful response

- AnalyticsOverview — Aggregated activity and usage metrics for an organization over a time range
  - `bucket` 'day' | 'week' | 'month', required — Time bucket granularity of the returned series
  - `start` string, date-time, required — Inclusive start of the range as an ISO 8601 timestamp
  - `end` string, date-time, required — Exclusive end of the range as an ISO 8601 timestamp
  - `points` AnalyticsTimeSeriesPoint[], required
    - `bucket` string, required — Bucket start as an ISO 8601 date (e.g. 2026-07-14)
    - `workspacesCreated` integer, required
    - `prsOpened` integer, required
    - `prsMerged` integer, required
    - `prsClosed` integer, required
  - `summary` AnalyticsSummary, required — Totals across the requested range
    - `workspacesCreated` integer, required
    - `prsOpened` integer, required
    - `prsMerged` integer, required
    - `prsClosed` integer, required
    - `computeMinutes` number, required — Total metered agent runtime in minutes across all workspace sources
  - `sources` AnalyticsSourceCount[], required
    - `source` string, required — Workspace source (e.g. dashboard, api, automation, slack, linear, github, gitlab)
    - `count` integer, required
  - `usage` AnalyticsUsagePoint[], required
    - `bucket` string, required — Bucket start as an ISO 8601 date (e.g. 2026-07-14)
    - `bySource` object, required — Map of workspace source to compute minutes in this bucket

## Other responses

- `400` — Bad request - Missing or invalid parameters
- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - The authenticated account cannot access this resource
- `500` — Internal server error

---

[API](https://skmtc.dev/tryreplicas/apis/replica-api.md) · [All operations](https://skmtc.dev/tryreplicas/apis/replica-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tryreplicas/replica-api/revisions/aa3b4c932f7a/schema)
