Since December 4, 2026, the Copilot usage metrics API's daily and 28-day reports include a pull_requests object per user, with PRs created, reviewed, and merged, separating what had AI assistance.

- Reading
- 5 min
- Tables
- 1
- Code
- 1
Since December 4, 2026, the Copilot usage metrics API's daily and 28-day reports include a pull_requests object per user, with PRs created, reviewed, and merged, separating what had AI assistance.
What changed in the API
On December 4, 2026, the GitHub Changelog announced that Copilot usage reports at the user level (1-day and 28-day versions) started including pull request activity for enterprises and organizations. Until then, this type of data only existed in aggregated enterprise, organization, and repository reports.

Now each user row in these reports gets a pull_requests object, with counts of how many PRs that person created, reviewed, and had merged, and how much of that volume went through Copilot cloud agent or Copilot code review. It's the first time you can cross-reference Copilot usage with per-person pull request throughput without manually combining data from separate API calls.
The seven fields of the pull_requests object
The per-user payload replicates the field names that already existed in the aggregated reports, only now at the individual level:
| Field | What it measures |
|---|---|
total_created | PRs the user opened that day (Copilot cloud agent PRs count for whoever started the agent) |
total_created_by_copilot | Subset of total_created that Copilot cloud agent opened on behalf of the user |
total_reviewed | PRs from other people that the user reviewed that day (doesn't count reviews on their own PR) |
total_reviewed_by_copilot | The user's own PRs that Copilot code review reviewed that day |
total_merged | User's PRs that were merged that day |
total_merged_created_by_copilot | Subset of total_merged created by Copilot cloud agent |
total_merged_reviewed_by_copilot | Subset of total_merged that went through Copilot code review |
An API response for a single user, on a specific day, looks like this:
{
"login": "ana-dev",
"pull_requests": {
"total_created": 4,
"total_created_by_copilot": 1,
"total_reviewed": 6,
"total_reviewed_by_copilot": 2,
"total_merged": 3,
"total_merged_created_by_copilot": 1,
"total_merged_reviewed_by_copilot": 2
}
}With this, you can answer, per person and per day: how many of the opened PRs came from the agent, how many of the merged ones went through automated code review, and what the ratio is between creating and reviewing other people's work.
Why this matters to whoever runs the review pipeline
Before this change, finding out "how much Copilot is actually in the team's PR flow" required taking the organization's aggregated report (which doesn't distinguish between people) and, separately, inferring individual usage from Copilot's general usage reports, which had no pull request granularity. It was a manual join, with data lost along the way.
With pull_requests per user, a platform engineer or a tech lead can, for example, isolate who's using Copilot cloud agent to open PRs and compare the merge rate of those PRs against manually written PRs. It's also possible to measure whether enabling Copilot code review is actually reducing the time humans spend reviewing, by looking at total_reviewed_by_copilot alongside the team's total PR volume.
The attributions worth paying attention to
The API's own documentation brings important caveats before using this number for any decision:
- A user only appears in the report on days they used Copilot; no usage, no row, even if they opened PRs that day.
- PRs from bots other than Copilot cloud agent aren't attributed to anyone; cloud agent PRs go to whoever started the agent.
- A PR with two reviewers counts once for each one, so the sum of
total_reviewedacross users can exceed the organization's aggregated total. - A user with no PR activity that day appears with zeros in all fields, they don't disappear from the report.
- Median time to merge still only exists in aggregated enterprise, organization, and repository reports; there's no such metric per person.
This last point limits what you can do: it's possible to count how much each person produced and with what AI assistance, but not to measure, per person, whether Copilot is shortening time to merge. That correlation still needs to be done by looking at the repository's aggregate as a whole.
Who has access to this data
The feature applies to the 1-day and 28-day reports at the user level, and requires the Copilot usage metrics policy to be enabled at the organization or enterprise. Those who can access it: enterprise owners and billing managers, organization owners, and any custom role with the "View Organization Copilot Metrics" or "View Enterprise Copilot Metrics" permission.
Where this number helps and where it gets in the way
The real gain is in flow diagnostics, not individual performance evaluation. You can answer questions like "is automated code review really reducing the load on manual reviewers on this team" or "are PRs opened by the cloud agent being merged at the same rate as human PRs," which previously required manual data or didn't even exist.
The risk is treating total_created or total_reviewed as a proxy for individual productivity. These counters don't differentiate a trivial PR from a complex one, and a team that knows it's being measured by PR volume has every incentive to open more small PRs, inflating the number without delivering more value. It's worth using these fields alongside quality metrics, not in their place.
It's also worth remembering that, in the same changelog, GitHub released, on December 2, 2026, the breakdown of tokens per model in the AI usage API. Whoever already consumes the Copilot metrics API to measure cost per model now has, within the same family of endpoints, the PR throughput side: it's possible to cross-reference token cost with assisted pull request volume, without leaving the same set of reports.
When it's not worth using this data
If the organization doesn't have the Copilot metrics policy enabled, or if the volume of active users is too small to form a trend, the 28-day report tends to swing a lot day to day and becomes noise before it becomes signal. In this scenario, the organization's aggregated report is still the most stable source for tracking Copilot code review adoption, leaving the per-user detail for when the team grows large enough for the sample to make sense.
Translated from the Brazilian Portuguese original · Read the original
I built a Google Slides alternative without writing a single line of code
With Agent Loop and Prompt Engineering, I let an agent work on its own for more than 30 hours until a complete project was born from scratch.



