Co-authored-by: Fernando <108433049+fgalind0@users.noreply.github.com> Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
28 lines
1.0 KiB
Markdown
28 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
|
|
redirect_from:
|
|
- /rest/copilot/copilot-usage
|
|
---
|
|
|
|
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
|
|
|
|
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).
|
|
|
|
{% data reusables.copilot.metrics-api-ghecom %}
|
|
|
|
<!-- Content after this section is automatically generated -->
|