cd /news/ai-products/usage-metrics-api-adds-pull-request-… · home › topics › ai-products › article
[ARTICLE · art-139922] src=github.blog ↗ pub= topic=ai-products verified=true sentiment=· neutral

Usage metrics API adds pull request review stages

GitHub added a `pull_request_review_times` array to its enterprise and organization repository-level Copilot usage metrics reports, breaking pull request review time into three stages: ready-for-review to first review, first review to final review, and final review to merge, each reported as a median and 90th percentile in minutes. The array appears on each `repos-1-day` row and counts only pull requests opened by one person and reviewed by at least one other person, with Copilot code review, bot, and author reviews excluded, so `pull_request_review_times[].total_merged` is usually lower than `pull_requests.total_merged`. Data builds forward from the release date with no backfill, and pull requests that became ready for review before September 21, 2026 are excluded from the new section.

by read2 min views1 publishedSep 25, 2026
Usage metrics API adds pull request review stages
Image: GitHub Changelog

The enterprise and organization repository-level Copilot usage metrics reports now break down how long pull requests spend in each stage of review. A new pull_request_review_times array on each repos-1-day row reports a median and a 90th percentile for the time from ready for review to first review, first review to final review, and final review to merge.

What’s new

Each entry in pull_request_review_times includes:

  • authored_by and reviewed_by : Who opened and who reviewed the pull requests in this entry. Both arehuman in this release.
  • total_merged : The number of qualifying pull requests merged in the repository that day.
  • median_minutes_ready_to_first_review and p90_minutes_ready_to_first_review : Time from the pull request becoming ready for review to its first review.
  • median_minutes_first_to_final_review and p90_minutes_first_to_final_review : Time between the first and final review.
  • median_minutes_final_review_to_merge and p90_minutes_final_review_to_merge : Time from the final review to merge.

Durations are in minutes and attributed to the day the pull request merged. The existing pull_requests fields are unchanged.

Why this matters

Teams can already see when pull requests take a long time to merge, but not where the time goes. Splitting the wait into three stages shows whether a pull request is waiting for someone to look at it, waiting on back-and-forth between reviewers, or sitting approved and unmerged. Each of those points to a different fix, and the 90th percentile beside the median shows when a handful of slow pull requests is driving the delay.

Important notes

  • Availability: Present in the enterprise and organizationrepos-1-day reports.
  • What is counted: Pull requests that a person opened and at least one other person reviewed. Only human reviews are timed. Reviews from Copilot code review, other bots, and the author are ignored, so a pull request reviewed by both a person and Copilot code review is still included. As a result,pull_request_review_times[].total_merged is usually lower thanpull_requests.total_merged , which also counts pull requests merged without any reviews.
  • No backfill: Data builds forward from the release date, so early days will be thin. Pull requests that became ready for review before September 21, 2026 are left out of this section but still count towardpull_requests.total_merged .
  • A quiet day is an empty array, not a zero: The array is[] on days a repository merged no qualifying pull requests. The first-to-final review stage is0 when pull requests receive a single review.
  • Access: Enterprise owners and billing managers, organization owners, and anyone with a custom organization or enterprise role that grants theView Copilot Metrics permission can access these reports. The Copilot usage metrics policy must be enabled.

Visit the Copilot usage metrics API documentation to get started.

── more in #ai-products 4 stories · sorted by recency
── more on @github 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/usage-metrics-api-ad…] indexed:0 read:2min 2026-09-25 · —