| title |
REST API endpoints for Copilot usage metrics |
| shortTitle |
Copilot usage metrics |
| intro |
Use the REST API to view {% data variables.product.prodname_copilot_short %} usage metrics. |
| versions |
|
| autogenerated |
rest |
| allowTitleToDifferFromFilename |
true |
| redirect_from |
/rest/copilot/copilot-usage |
/rest/copilot/copilot-metrics |
|
| category |
Use Copilot and AI services |
|
To enable these endpoints, the "{% data variables.product.prodname_copilot_short %} usage metrics" policy must be set to Enabled everywhere for the enterprise. See AUTOTITLE.
For more information on the metrics returned by these endpoints, see AUTOTITLE.
For help understanding gaps or discrepancies in {% data variables.product.prodname_copilot_short %} usage data, see AUTOTITLE.