1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Add notes that the metrics API isn't on GHE.com (#54659)

This commit is contained in:
Isaac Brown
2025-03-04 15:30:30 +00:00
committed by GitHub
parent 05b21aa933
commit 373f5fcb2d
3 changed files with 6 additions and 1 deletions

View File

@@ -30,11 +30,13 @@ This guide demonstrates how to query the API, store data, and analyze a trend fo
## About endpoint availability
Endpoints are available to get data for an enterprise, organization, organization team, or enterprise team.
Endpoints are available to get data for an enterprise, organization, organization team, or enterprise team on {% data variables.product.prodname_dotcom_the_website %}.
* If you have a {% data variables.product.prodname_copilot_for_business %} or {% data variables.product.prodname_copilot_enterprise %} subscription as part of a regular organization or enterprise, you can use the endpoints for **an enterprise, an organization, or an organization team**. You don't have access to enterprise teams unless you're enrolled in a preview.
* If you use a dedicated enterprise for {% data variables.product.prodname_copilot_for_business %}—an enterprise account without the ability to create organizations—you can use the endpoints for **an enterprise or an enterprise team**.
{% data reusables.copilot.metrics-api-ghecom %}
## Prerequisites
* The **{% data variables.product.prodname_copilot_short %} metrics API access** policy must be enabled for your enterprise or organization. See [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization) or [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise).

View File

@@ -22,4 +22,6 @@ If you currently use the [AUTOTITLE](/rest/copilot/copilot-usage), we recommend
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 -->

View File

@@ -0,0 +1 @@
>[!NOTE] The {% data variables.product.prodname_copilot_short %} metrics endpoints are **not** available for {% data variables.enterprise.data_residency %} on {% data variables.enterprise.data_residency_site %}.