v1

latestOpenAPI 3.0.3MIT2026-07-1411163326.7 KB
Insights

Get summary metrics with trends for the entire org, and for each project.

Gets aggregated summary metrics with trends for the entire org. Also gets aggregated metrics and trends for each project belonging to the org.

get/insights/{org-slug}/summary

Path parameters

org-slugstring required

Org slug in the form vcs-slug/org-name. The / characters may be URL-escaped.

Query parameters

reporting-window'last-7-days' | 'last-90-days' | 'last-24-hours' | 'last-30-days' | 'last-60-days'

The time window used to calculate summary metrics. If not provided, defaults to last-90-days

project-namesobject

List of project names.

Response

summary metrics with trends for an entire org and it's projects.

all_projectsstring[] required

A list of all the project names in the organization.

Example response

{
  "org_project_data": [
    {
      "project_name": "api-preview-docs"
    }
  ]
}