Add notes that the metrics API isn't on GHE.com (#54659)
This commit is contained in:
@@ -30,11 +30,13 @@ This guide demonstrates how to query the API, store data, and analyze a trend fo
|
|||||||
|
|
||||||
## About endpoint availability
|
## 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 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**.
|
* 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
|
## 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).
|
* 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).
|
||||||
|
|||||||
@@ -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).
|
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 -->
|
<!-- Content after this section is automatically generated -->
|
||||||
|
|||||||
1
data/reusables/copilot/metrics-api-ghecom.md
Normal file
1
data/reusables/copilot/metrics-api-ghecom.md
Normal 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 %}.
|
||||||
Reference in New Issue
Block a user