enterprise-admin

Get model policies for enterprise apps

Changed on

Use this endpoint to retrieve Copilot model policies for enterprise apps. The response shows which model settings can be changed and which are controlled by enterprise policy.

For models whose settings can be changed, the response shows the configured setting or optional if no setting has been configured. For models controlled by enterprise policy, it shows the enterprise setting or the applicable default. These settings do not necessarily determine whether an individual user can access a model.

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/apps/model-policies

Request

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

Path parameters

enterprisestring required

The slug version of the enterprise name.

Response

OK

Changes