You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: descriptions-next/api.github.com/api.github.com.2022-11-28.yaml
+45-23Lines changed: 45 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -1767,6 +1767,9 @@ paths:
1767
1767
get:
1768
1768
summary: Get Copilot metrics for an enterprise team
1769
1769
description: |-
1770
+
> [!NOTE]
1771
+
> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)."
1772
+
1770
1773
Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.
1771
1774
1772
1775
The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
@@ -1843,7 +1846,7 @@ paths:
1843
1846
summary: Get a summary of Copilot usage for an enterprise team
1844
1847
description: |-
1845
1848
> [!NOTE]
1846
-
> This endpoint is in public preview and is subject to change.
1849
+
> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)."
1847
1850
1848
1851
You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
1849
1852
for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
@@ -8496,13 +8499,11 @@ paths:
8496
8499
Purchases a GitHub Copilot seat for all users within each specified team.
8497
8500
The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)."
8498
8501
8499
-
Only organization owners can add Copilot seats for their organization members.
8500
-
8501
-
In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
8502
+
Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.
8502
8503
For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)."
8503
8504
For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)."
8504
8505
8505
-
The response will contain the total number of new seats that were created and existing seats that were refreshed.
8506
+
The response contains the total number of new seats that were created and existing seats that were refreshed.
8506
8507
8507
8508
OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
8508
8509
tags:
@@ -8580,14 +8581,11 @@ paths:
8580
8581
8581
8582
Sets seats for all members of each team specified to "pending cancellation".
8582
8583
This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.
8583
-
8584
-
For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)."
8585
-
8586
-
For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)."
8584
+
For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)."
8587
8585
8588
8586
Only organization owners can cancel Copilot seats for their organization members.
8589
8587
8590
-
The response will contain the total number of seats set to "pending cancellation".
8588
+
The response contains the total number of seats set to "pending cancellation".
8591
8589
8592
8590
OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
8593
8591
tags:
@@ -8667,13 +8665,11 @@ paths:
8667
8665
Purchases a GitHub Copilot seat for each user specified.
8668
8666
The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)."
8669
8667
8670
-
Only organization owners can add Copilot seats for their organization members.
8671
-
8672
-
In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
8668
+
Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.
8673
8669
For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)."
8674
8670
For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)."
8675
8671
8676
-
The response will contain the total number of new seats that were created and existing seats that were refreshed.
8672
+
The response contains the total number of new seats that were created and existing seats that were refreshed.
8677
8673
8678
8674
OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
8679
8675
tags:
@@ -8750,14 +8746,11 @@ paths:
8750
8746
8751
8747
Sets seats for all users specified to "pending cancellation".
8752
8748
This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.
8753
-
8754
-
For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)."
8755
-
8756
-
For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)."
8749
+
For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)."
8757
8750
8758
8751
Only organization owners can cancel Copilot seats for their organization members.
8759
8752
8760
-
The response will contain the total number of seats set to "pending cancellation".
8753
+
The response contains the total number of seats set to "pending cancellation".
8761
8754
8762
8755
OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
0 commit comments