Copilot usage metrics dashboard and API in public preview #177273
Replies: 6 comments 8 replies
-
|
Hi team, is there any documentation available yet for the user-level API discussed in the article? Thanks in advance 🙏 I am still only seeing the organization/team-level APIs in the REST API documentation, and a search yielding 20 "Copilot" results did not contain any information about the user-level API.
|
Beta Was this translation helpful? Give feedback.
-
|
Hi, Could you please update documentation to include enterprise usage metrics as I am not finding it on the documentation. there are only links to the metrics that are available but no API examples for Enterprise usage Metrics. the page has a link to Copilot usage metrics API. but no endpoint information is available. |
Beta Was this translation helpful? Give feedback.
-
November 14th Update (Data refinement):Update: Improving Accuracy of Copilot Chat MetricsAs Copilot’s chat, agent, and editing experiences expand, we’re refining how activity is identified so your dashboards reflect real user behavior with greater accuracy. Some IDE telemetry represent general communication between the editor and the Copilot server. These happen automatically and aren’t always tied to a specific feature or user action. Since they aren’t meaningful indicators of chat engagement, we’re updating our classification so only true chat interactions appear in chat specific metrics. What’s changing
What you may notice
This refinement makes the metrics easier to interpret and keeps them aligned with how your users actually engage with Copilot as the product surface grows. If you have questions or want help interpreting the updated numbers, feel free to reply here. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Updated Model Visibility in Your Copilot MetricsYou may have noticed a short-term increase in “Unknown” model entries in your Copilot metrics last week or in the recent weeks. This happened because several newly released models became available before our reporting system had their names mapped. Usage and billing were never affected; this was purely a labeling delay. We’ve now updated the pipeline to fully recognise all the new models: Newly recognized models:
Your dashboards and API responses will now show these correctly going forward. We’re also strengthening our process so we get earlier notice of upcoming model releases which will allow us to prepare mappings ahead of time and keep your data accurate from day one. If anything looks off or you have questions about a specific model, we’re here to help. ❤️ |
Beta Was this translation helpful? Give feedback.
-
|
Will the metric loc_added_sum be made available for the organization plan API in the future? Currently, the organization API only allows access to the LOC metric for code completion, excluding that for the agent/edit mode. |
Beta Was this translation helpful? Give feedback.
-
Copilot Metrics 'Code generation' Dashboard – Public Preview Rollout 🚀We've released a new Code generation Metrics Dashboard into public preview. This dashboard is the interactive companion to the API lines of code metrics shipped in September and brings LoC data directly into a visual experience for you. If you are in public preview you will already see Copilot usage and will now automatically get Code generation. Enabling the dashboardThe dashboard is opt in at the enterprise level. Customers can enable it from: AI Controls → Copilot → Metrics Once enabled, the dashboard appears immediately and API access is unlocked. If you are already opted in, the new dashboard will automatically appear. Refresher on Lines of Code MetricA quick reminder on how LoC metrics are calculated and feel free to read the updated docs here. Core fields
User initiated vs agent initiatedUser initiatedCompletions, inline chat, chat panel ask, edit, custom, and unknown modes. Agent initiatedOnly agent_edit. Agent mode behaves differently. There’s no suggestion → acceptance event. The agent plans a task, edits multiple files, retries, and self corrects as it works. Edits land straight in the editor, so there’s no “suggested line count.” Counting added + deleted lines gives a clearer picture of the actual impact, especially on larger or multi file changes. Key Dashboard Charts1. Total Lines Changed with AIShows Copilot’s total code generation volume by adding up all added and deleted lines across all features. 2. Agent ContributionHighlights how much of the total code change came from agent mode. 3. Average Lines Deleted by AgentShows how much cleanup agent mode performs per user. 4. User vs Agent Code Changes
5. Breakdowns by model and languagePattern holds:
Please let us know here if you have any questions or feedback, thank you! |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The AI era of software development isn’t about are teams using AI, but rather how well are they using it? The GitHub Copilot usage metrics dashboard and API, now in public preview for GitHub Enterprise customers using Copilot, helps you answer that question with data.
You can now see how Copilot adoption and engagement in the IDE varies across both your enterprise and your users to understand who’s using it, where, and how.
What’s included in the public preview
The Copilot usage metrics dashboard gives enterprise administrators and billing managers direct visibility into Copilot usage and adoption under the Insights tab.
The dashboard provides an aggregated enterprise view, while the NDJSON download or API offer user-level granularity for deeper analysis.
In this public preview, you’ll find metrics including:
These metrics help you understand:
Together, these are foundational metrics showing who’s adopting Copilot, how consistently, and what that usage looks like across your enterprise.
How to enable Copilot usage metrics in your enterprise
By default, Copilot usage metrics are disabled unless your enterprise participated in the private preview, in which case they remain enabled.
Enterprise admins can enable them as follows:
Once enabled, you can access the Copilot usage metrics dashboard directly from the Insights tab at the enterprise level or through the Enterprise and user-level API.
Learn more
Disclaimer: The UI for features in public preview is subject to change.
Beta Was this translation helpful? Give feedback.
All reactions