enterprise-admin

Get model policies for an enterprise

Changed on

Use this endpoint to retrieve Copilot model policies for an enterprise. For enterprises that manage Copilot through organizations, delegated models use the policy state of delegate_to_organizations.

Enterprise owners and users with the read_enterprise_ai_controls permission can use this endpoint.

OAuth app tokens and personal access tokens (classic) need the read:enterprise scope to use this endpoint.

get/enterprises/{enterprise}/copilot/model-policies

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/enterprises/{enterprise}/copilot/model-policies
  • Auth: none declared

Path parameters

enterprisestring required

The slug version of the enterprise name.

Response

OK

Changes