GitHub Copilot: Org-Level Metrics API Now Includes Pull Request Throughput Parity

GitHub Copilot

GitHub has expanded the organization-level Copilot Usage Metrics API to include a comprehensive set of pull request throughput and cycle time metrics, bringing it to parity with the previously enterprise-only endpoint. Organization owners and administrators can now programmatically access data on pull request creation volume, median time to merge, Copilot coding agent participation, code review suggestion acceptance rates, and Copilot-created PR merge rates β€” all at daily aggregation granularity.

Sources & Mentions

2 external resources covering this update


GitHub Copilot: Org-Level Metrics API Now Includes Pull Request Throughput Parity

GitHub has expanded the organization-level Copilot Usage Metrics API to include pull request throughput and cycle time metrics.

New Metrics

The expanded API includes two categories of metrics:

Baseline PR Activity

  • Pull Request Creation Volume: Daily count of pull requests created within the organization.
  • Median Time to Merge: The median elapsed time from PR creation to merge, measured daily.

Copilot Participation Metrics

  • Copilot Coding Agent Participation: Percentage of pull requests where the Copilot coding agent contributed code or suggestions.
  • Code Review Suggestion Acceptance Rate: Rate at which Copilot's code review suggestions are accepted by reviewers.
  • Copilot-Created PR Merge Rate: Percentage of Copilot-created pull requests that are ultimately merged.

Use Cases for Org Owners

Organization owners can use these metrics to:

  • Track development velocity trends alongside Copilot adoption.
  • Measure the quality and acceptance of Copilot-generated code.
  • Compare PR throughput across teams with different Copilot usage levels.
  • Report on ROI of Copilot investment to leadership.

Caveats

  • Multi-Org Attribution: Pull requests involving contributors from multiple organizations may be counted in each organization's metrics.
  • Daily Aggregation: All metrics are aggregated at daily granularity; sub-daily breakdowns are not available.

Mentioned onGitHubHacker News