1
0
mirror of synced 2025-12-23 03:44:00 -05:00
Files
docs/content/rest/copilot/copilot-metrics.md

26 lines
1.0 KiB
Markdown

---
title: REST API endpoints for Copilot metrics
shortTitle: Copilot metrics
intro: Use the REST API to view Copilot metrics.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
---
You can use these endpoints to get a breakdown of aggregated metrics for various {% data variables.product.prodname_copilot %} features. The API includes:
* Data for the last 28 days
* Numbers of active users and engaged users
* Breakdowns by language and IDE
* The option to view metrics for an enterprise, organization, or team
If you currently use the [AUTOTITLE](/rest/copilot/copilot-usage), we recommend migrating to these endpoints as soon as possible.
For help getting started, see [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/analyzing-usage-over-time-with-the-copilot-metrics-api).
<!-- Content after this section is automatically generated -->