{"slug": "repository-level-github-copilot-usage-metrics-generally-available", "title": "Repository-level GitHub Copilot usage metrics generally available", "summary": "GitHub has made repository-level Copilot usage metrics generally available via two new REST API endpoints, enabling enterprise and organization users to see daily per-repository breakdowns of pull request activity from Copilot coding agent and Copilot code review. This granular data allows teams to identify where AI-driven development is most active and target enablement efforts effectively.", "body_md": "# Repository-level GitHub Copilot usage metrics generally available\n\nThe Copilot usage metrics REST API now reports repository-level activity. Two new endpoints return a daily, per-repository breakdown of pull request activity for Copilot coding agent and Copilot code review. They do this for both enterprise and organization reports.\n\n[What’s new](#whats-new)\n\nTwo new endpoints return a per-repository report for a single day:\n\n`GET /enterprises/{enterprise}/copilot/metrics/reports/repos-1-day?day=YYYY-MM-DD`\n\n`GET /orgs/{org}/copilot/metrics/reports/repos-1-day?day=YYYY-MM-DD`\n\nEach response returns the following activity:\n\n- Pull requests created and merged by Copilot coding agent.\n- Pull requests reviewed by Copilot code review, with suggestion counts broken down by comment type.\n\n[Why this matters](#why-this-matters)\n\nUntil now, Copilot usage metrics stopped at the organization and user level. Repository-level reporting lets you see exactly where Copilot coding agent and Copilot code review are driving pull request activity across your codebase. This is the foundation for repository insights and AI-readiness reporting, so you can target enablement at the repositories that stand to benefit most.\n\n[Important notes](#important-notes)\n\nEnterprise owners and billing managers, organization owners, and anyone with a custom organization or enterprise role that grants the `View Copilot Metrics`\n\npermission can access these reports. The Copilot usage metrics policy must be enabled to support this functionality.\n\nVisit the [Copilot usage metrics API documentation](https://docs.github.com/rest/copilot/copilot-usage-metrics) to get started.", "url": "https://wpnews.pro/news/repository-level-github-copilot-usage-metrics-generally-available", "canonical_source": "https://github.blog/changelog/2026-07-17-repository-level-github-copilot-usage-metrics-generally-available", "published_at": "2026-07-17 22:05:18+00:00", "updated_at": "2026-07-17 23:04:06.727355+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "artificial-intelligence"], "entities": ["GitHub", "Copilot"], "alternates": {"html": "https://wpnews.pro/news/repository-level-github-copilot-usage-metrics-generally-available", "markdown": "https://wpnews.pro/news/repository-level-github-copilot-usage-metrics-generally-available.md", "text": "https://wpnews.pro/news/repository-level-github-copilot-usage-metrics-generally-available.txt", "jsonld": "https://wpnews.pro/news/repository-level-github-copilot-usage-metrics-generally-available.jsonld"}}