Get Copilot seat information and settings for an organization
[!NOTE] This endpoint is in public preview and is subject to change.
Gets information about an organization’s Copilot subscription, including seat breakdown and feature policies. To configure these settings, go to your organization’s settings on GitHub.com. For more information, see “Managing policies for Copilot in your organization.”
Only organization owners can view details about the organization’s Copilot Business or Copilot Enterprise subscription.
OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:org scopes to use this endpoint.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The organization name. The name is not case sensitive.
Responses
Section titled “ Responses ”OK
Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription.
object
The breakdown of Copilot Business seats for the organization.
object
The total number of seats being billed for the organization as of the current billing cycle.
Seats added during the current billing cycle.
The number of seats that are pending cancellation at the end of the current billing cycle.
The number of users who have been invited to receive a Copilot seat through this organization.
The number of seats that have used Copilot during the current billing cycle.
The number of seats that have not used Copilot during the current billing cycle.
The organization policy for allowing or blocking suggestions matching public code (duplication detection filter).
The organization policy for allowing or disallowing Copilot Chat in the IDE.
The organization policy for allowing or disallowing Copilot features on GitHub.com.
The organization policy for allowing or disallowing Copilot CLI.
The mode of assigning new seats.
The Copilot plan of the organization, or the parent enterprise, when applicable.
Examples
{ "seat_breakdown": { "total": 12, "added_this_cycle": 9, "pending_invitation": 0, "pending_cancellation": 0, "active_this_cycle": 12, "inactive_this_cycle": 11 }, "seat_management_setting": "assign_selected", "ide_chat": "enabled", "platform_chat": "enabled", "cli": "enabled", "public_code_suggestions": "block", "plan_type": "business"}Requires authentication
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Forbidden
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Resource not found
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}There is a problem with your account’s associated payment method.
Internal Error
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}