Get model policies for an organization
Changed onUse this endpoint to retrieve the effective Copilot model policy for every model available to an organization, whether explicitly configured or determined by default availability.
For a model without an effective explicit policy that is eligible for default availability, the enterprise default is used when it is configured. Otherwise, the organization's default is used. A model that is not eligible for default availability and has no effective explicit policy is disabled. For more information, see About default availability of Copilot models.
The organization must either be independent or belong to an enterprise that is not using enterprise teams for model policy.
Organization owners can use this endpoint.
OAuth app tokens and personal access tokens (classic) need the admin:org or repo scope to use this endpoint. Organization SAML authorization and OAuth app access restrictions also apply.
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/copilot/model-policies
- Auth: none declared
Path parameters
The organization name. The name is not case sensitive.
Response
OK
Changes
- info
endpoint added
- info