GitHub expands Copilot Usage Metrics API with org-level pull request metrics parity
Overview
GitHub is expanding the organization-level Copilot Usage Metrics API to include a broader set of pull request activity metrics. This update brings org-level endpoints to feature parity with enterprise-level capabilities that were previously exclusive to enterprise tier users.
New Metrics Available
Organizations can now retrieve daily aggregated pull request activity through the org-level API:
Baseline Pull Request Activity:
- Total pull requests created, reviewed, and merged
- Median time to merge (in minutes)
Copilot Participation Metrics:
- Pull requests created by Copilot coding agent
- Pull requests reviewed by Copilot code review
- Review suggestions and applied suggestions from Copilot
- Copilot-created pull requests that were merged
- Median time to merge for Copilot-created pull requests
Key Benefits
With these metrics now available at the org level, teams can:
- Standardize reporting across the organization without requiring enterprise-level access
- Quantify Copilot's impact on the entire pull request lifecycle—from creation through merge
- Track actionable feedback by measuring applied suggestions alongside total suggestions
- Gain visibility into non-IDE Copilot usage, including agent-created pull requests and Copilot-authored reviews
Important Considerations
- Deduplication differences: If an organization belongs to an enterprise, org-level totals may not match enterprise totals due to users belonging to multiple organizations
- Attribution edge cases: Repository transfers can split attribution between organizations if transfers occur between pull request creation and merge
- Data availability: If the API reports contain only pull request data, it indicates the organization lacks IDE usage activity
For complete field definitions and implementation details, see the Copilot usage metrics documentation.