get_copilot_organization_details
Retrieve GitHub Copilot seat breakdown and policy settings for an organization, including subscription plan, active seats, and code filtering configuration.
Instructions
Get GitHub Copilot seat information and policy settings for an organization.Returns seat breakdown (total, active, inactive, pending cancellation, pending invitation, added this cycle), subscription plan type (business or enterprise), and policy settings (public code suggestions filter, IDE chat, platform chat, CLI enablement, seat management mode). Requires the authenticated user to be an organization owner. Requires a token with manage_billing:copilot or read:org scope. Returns 404 if the organization does not have a Copilot Business or Enterprise subscription. Returns 403 if the token lacks sufficient scope or the user is not an org owner. Docs: https://docs.github.com/en/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | The organization login name (e.g. "my-company"). |