On December 4 (22:38 UTC), GitHub announced in its official changelog that user-level 1-day and 28-day reports in the Copilot usage metrics REST API now include pull request activity for enterprises and organizations. Previously restricted to aggregate enterprise, organization, and repository reports, each active user row now exposes a pull_requests object with seven counters—covering total PRs created, reviewed, and merged alongside subsets created by Copilot cloud agent or reviewed by Copilot code review—enabling direct per-developer and cross-team throughput analysis without joining multiple API calls.

Key Takeaways

  • ✓User-level 1-day and 28-day reports add pull_requests: enterprises and organizations gain per-user PR metrics matching the existing aggregate pull_requests schema without combining separate API calls.
  • ✓Seven granular Copilot attribution fields: tracks total_created, total_created_by_copilot (Copilot cloud agent PRs attributed to the user who started the agent), total_reviewed, total_reviewed_by_copilot (Copilot code review), total_merged, total_merged_created_by_copilot, and total_merged_reviewed_by_copilot.
  • ✓Access control and reporting rules: requires the Copilot usage metrics policy and enterprise/organization owner, billing manager, or custom metrics-viewer permissions; rows appear only on days a user was Copilot-active, and non-Copilot bot PRs are excluded.
  • ✓Aggregation nuances documented: total_reviewed counts once per reviewer so user sums can exceed aggregate totals, zero-activity days output zeros, and median time to merge remains exclusive to enterprise, org, and repository reports.
GitHub Copilot Usage Metrics API Adds Per-User Pull Request Activity Tracking Cloud Agent PRs and Code Reviews
Official Media
Click to view high-res

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

In-Depth Technical Analysis

Core Background & Industry Pain Points

As AI coding assistants evolve from inline completions to autonomous cloud agents and automated code reviewers, engineering leaders need reliable telemetry connecting Copilot usage to actual pull request throughput. Previously, GitHub's Copilot usage metrics API exposed PR metrics only in aggregate enterprise, organization, and repository reports. On December 4 (22:38 UTC), GitHub published an official changelog update bringing pull request activity directly into user-level 1-day and 28-day reports.

Architecture Highlights & Internals

Each active user row now carries a pull_requests object matching the aggregate schema, exposing total_created, total_reviewed (excluding self-reviews), and total_merged alongside four Copilot-attributed counters: total_created_by_copilot and total_merged_created_by_copilot (for Copilot cloud agent PRs attributed to the user who initiated the agent), plus total_reviewed_by_copilot and total_merged_reviewed_by_copilot (for the user's PRs reviewed by Copilot code review). Users appear only on days they actively used Copilot, and bot PRs other than Copilot cloud agent are omitted from user attribution.

Authoritative Benchmarks & Measured Scores

GitHub did not publish model-level benchmarks for this telemetry API enhancement. Documentation notes two important accounting behaviors: PRs reviewed by multiple users increment total_reviewed for each reviewer (so user sums can exceed aggregate totals), and median time to merge remains limited to enterprise, organization, and repository summary reports.

Developer Hands-on Guide

With the Copilot usage metrics policy enabled and appropriate owner, billing manager, or custom viewer permissions granted, query /enterprises/{enterprise}/copilot/metrics/reports/users-1-day, /enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest, or the corresponding /orgs/{org}/copilot/metrics/reports/... endpoints as documented in the GitHub Copilot usage metrics REST API reference to ingest per-developer pull_requests metrics.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextClaude Computer Use Opens in Beta for Team and Enterprise Plans With Role Limits, App Allow/Block Lists and MDM Controls; Claude Mobile App Gets a Refreshed Look
Read Now→