Use the REST API to view {% data variables.product.prodname_copilot_short %} metrics.
fpt
ghec
*
*
API
rest
true
/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 100 days
Numbers of active users and engaged users
Breakdowns by language and IDE
The option to view metrics for an enterprise, organization, or team