# GitHub — Copilot usage metrics API adds user pull request activity

- Company: GitHub (github.com)
- Announced: 2026-12-04T22:38:42+00:00
- Category: api-release
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://blog.github.com/changelog/2026-12-04-copilot-usage-metrics-api-adds-pull-request-activity-to-user-reports/
- Record: https://forck.live/items/44830-copilot-usage-metrics-api-adds-user-pull-request-activity
- Subject: Copilot

GitHub has added per-user pull request activity to the user-level 1-day and 28-day reports in its Copilot usage metrics API for enterprises and organizations. Until now, pull request metrics appeared only in aggregate enterprise, organization and repository reports, so comparing throughput across users and teams meant combining data from separate API calls. Each user row now carries a pull_requests object with counts for pull requests created, reviewed and merged, plus how much of that work involved Copilot cloud agent and Copilot code review. Pull requests created by Copilot cloud agent count for the user who started the agent, and reviews count once for each reviewer, so the sum of total_reviewed across users can exceed the aggregate. Users appear only on days they used Copilot, and those with no pull request activity show zeros; bot accounts other than Copilot cloud agent are not attributed to a user. Access goes to enterprise owners and billing managers, organization owners, and anyone with a custom role granting the View Organization Copilot Metrics or View Enterprise Copilot Metrics permission, with the Copilot usage metrics policy enabled. Median time to merge remains available only in enterprise, organization and repository reports.

## Evidence

Verbatim from https://blog.github.com/changelog/2026-12-04-copilot-usage-metrics-api-adds-pull-request-activity-to-user-reports/:

> The user-level 1-day and 28-day reports in the Copilot usage metrics API now include pull request activity for enterprises and organizations. Each user row includes a pull_requests object showing how many pull requests that user created, reviewed, and merged, and how much of that work involved Copilot cloud agent and Copilot code review.
> 
> total_created : Pull requests the user created on the day. Pull requests created by Copilot cloud agent count for the user who started the agent.
> 
> total_created_by_copilot : The subset of total_created that Copilot cloud agent created for the user.
> 
> total_reviewed : Pull requests the user reviewed on the day, not counting their own.
> 
> total_reviewed_by_copilot : The user's pull requests that were reviewed by Copilot code review on the day.
> 
> total_merged : The user's pull requests merged on the day.
> 
> total_merged_created_by_copilot : The subset of total_merged that Copilot cloud agent created.
> 
> total_merged_reviewed_by_copilot : The subset of total_merged that was reviewed by Copilot code review.
> 
> Pull request metrics were only available in aggregate enterprise, organization, and repository reports.

---

Record: https://forck.live/items/44830-copilot-usage-metrics-api-adds-user-pull-request-activity
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
