Copilot usage metrics API adds user pull request activity GitHub's Copilot usage metrics API now reports pull request activity per user in its 1-day and 28-day reports for enterprises and organizations, adding a `pull_requests` object with fields including `total_created`, `total_created_by_copilot`, `total_reviewed`, `total_reviewed_by_copilot`, `total_merged`, `total_merged_created_by_copilot` and `total_merged_reviewed_by_copilot`. GitHub said the per-user counts let teams compare pull request throughput and Copilot-assisted work across users and teams without combining data from separate API calls, since pull request metrics were previously available only in aggregate enterprise, organization and repository reports. Access is limited to enterprise owners and billing managers, organization owners, and custom roles granting the "View Organization Copilot Metrics" or "View Enterprise Copilot Metrics" permission, with the Copilot usage metrics policy enabled; users appear only on days they used Copilot, and median time to merge remains available only in the aggregate reports. Copilot usage metrics API adds user pull request activity 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. What's new whats-new - 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. Why this matters why-this-matters Pull request metrics were only available in aggregate enterprise, organization, and repository reports. Per-user counts let you compare pull request throughput and Copilot-assisted work across users and teams without combining data from separate API calls. Important notes important-notes - Scope: User-level 1-day and 28-day reports for enterprises and organizations. Field names match the existing pull requests section in the aggregate reports. - Access: Available to enterprise owners and billing managers, organization owners, and anyone with a custom role that grants the "View Organization Copilot Metrics" or "View Enterprise Copilot Metrics" permission. The Copilot usage metrics policy must be enabled. - Copilot-active users only: Users appear in these reports only on days they used Copilot. Pull requests from bot accounts other than Copilot cloud agent aren't attributed to a user, while Copilot cloud agent pull requests are attributed to the user who started the agent. User totals can be lower than the enterprise or organization totals. - Reviews: A pull request with two reviewers counts once for each, so the sum of total reviewed across users can exceed the aggregate. - No activity: Users with no pull request activity on a given day show zeros. - Not included: Median time to merge is available only in enterprise, organization, and repository reports. To get started, see REST API endpoints for Copilot usage metrics https://docs.github.com/rest/copilot/copilot-usage-metrics .