Back to News
ProductAI Understanding briefing

GitHub Copilot usage metrics API adds per-user pull-request activity

GitHub’s Copilot usage metrics API now returns pull-request counts—created, reviewed and merged—for individual users, showing how much of that work involved Copilot’s cloud agent and code-review features.

4 min readRead the linked source
Source-provided image accompanying GitHub Copilot usage metrics API adds per-user pull-request activity
Source referenceSource recorded
Publisher
blog.github.com
Source type
Linked source — primary-source status has not been established.
ContextUnderstand this in 60 seconds

What happened

GitHub has expanded its Copilot usage metrics to include per-user pull-request activity in the 1-day and 28-day reports for enterprise and organization customers. Each user record now contains a pull_requests object that reports the number of pull requests the user created, reviewed, and merged, as well as the proportion of those actions that leveraged Copilot’s cloud-based coding assistant and code-review capabilities. Previously, pull-request metrics were only available in aggregate at the enterprise, organization, or repository level, requiring separate API calls to correlate with individual user activity.

GitHub’s Copilot usage metrics , which already provided daily and monthly usage statistics for enterprise customers, now adds a pull_requests object to each user row in the 1-day and 28-day reports. The object records three counts: pull requests created, pull requests reviewed, and pull requests merged by the user.

For each of those counts, the also indicates how many of the actions involved Copilot’s cloud agent (the AI-driven code suggestion service) and Copilot code review (the AI-assisted review feature). This dual reporting lets organizations differentiate raw pull-request volume from AI-augmented activity.

Prior to this change, pull-request metrics were only available in aggregate reports at the enterprise, organization, or repository level. Teams had to combine separate calls to infer per-user contributions, which was cumbersome and error-prone. The new per-user fields streamline data collection and enable direct comparisons across users and teams.

GitHub directs developers to its REST documentation for the Copilot usage metrics endpoints to begin retrieving the new data. No changes to authentication or rate limits were announced alongside the feature.

Source details: blog.github.com

Why it matters

The new per-user pull-request data gives enterprises finer-grained insight into how developers are adopting Copilot across the software development lifecycle. By seeing which users and teams are generating the most Copilot-assisted pull requests, organizations can better assess productivity gains, allocate training resources, and justify licensing costs. The metric also enables more precise benchmarking of Copilot’s impact on code review efficiency and overall development throughput. However, the announcement does not disclose pricing changes, access restrictions beyond existing enterprise subscriptions, or any performance benchmarks for the new fields, leaving open questions about adoption barriers and data privacy safeguards.

Granular visibility into AI-assisted development helps enterprises evaluate the return on investment (ROI) of Copilot licenses. By linking pull-request throughput to Copilot usage, finance and engineering leaders can quantify productivity gains and make data-driven decisions about scaling or adjusting subscriptions.

The metric supports internal benchmarking and talent management. Managers can identify high-performing developers who effectively leverage AI tools, as well as those who may need additional training or support to adopt Copilot features.

From a product perspective, the addition signals GitHub’s commitment to deepening analytics around AI-augmented workflows, potentially paving the way for more sophisticated usage dashboards and predictive insights.

The announcement does not clarify whether the new fields are subject to additional privacy controls or data-retention policies, which could be a concern for regulated industries. Organizations will need to review GitHub’s data handling documentation to ensure compliance.

Interactive Mechanism

Interactive Mechanism: How It Actually Works

Explore the underlying technology behind this development interactively.

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
Interactive Concept Check+10 Points
Copilot+ PCs Explained Quiz

What does the Copilot+ PC label primarily identify?

What to watch next

Future updates may broaden the metrics to include additional development activities such as issue triage or CI/CD pipeline usage. Watch for GitHub’s guidance on data privacy and compliance, especially how pull-request metadata is stored and shared across enterprise accounts. Organizations will likely monitor adoption rates to determine whether the added visibility translates into measurable productivity improvements or influences future Copilot licensing negotiations.

Expansion of metrics to cover other development activities such as issue creation, comment activity, or CI/CD pipeline interactions could further enrich AI usage analytics.

GitHub may release companion visualization tools or dashboards that surface the per-user pull-request data in a more accessible format for non-technical stakeholders.

Regulatory scrutiny around AI-generated code and data privacy may prompt GitHub to introduce stricter consent or anonymization options for usage reporting.

Adoption trends: Enterprises will likely track how quickly teams begin to surface the new metrics in internal reporting and whether the data influences licensing negotiations or internal AI-adoption strategies.

Related guides & quizzes

Found this useful?