v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.2 MB
copilot

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.

get/orgs/{org}/copilot/billing

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Response

OK

public_code_suggestions'allow' | 'block' | 'unconfigured' required

The organization policy for allowing or blocking suggestions matching public code (duplication detection filter).

ide_chat'enabled' | 'disabled' | 'unconfigured'

The organization policy for allowing or disallowing Copilot Chat in the IDE.

platform_chat'enabled' | 'disabled' | 'unconfigured'

The organization policy for allowing or disallowing Copilot features on GitHub.com.

cli'enabled' | 'disabled' | 'unconfigured'

The organization policy for allowing or disallowing Copilot CLI.

seat_management_setting'assign_all' | 'assign_selected' | 'disabled' | 'unconfigured' required

The mode of assigning new seats.

plan_type'business' | 'enterprise'

The Copilot plan of the organization, or the parent enterprise, when applicable.