--- 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: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 ghec: '*' topics: - API autogenerated: rest allowTitleToDifferFromFilename: true --- 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](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies#defining-policies-for-your-enterprise).