← All Daily

Daily⁠ · ⁠ · Copilot · 🌶️Mild: nice to know Why: New REST API

Script your Copilot model policies

Set Copilot model rules with a script, not a settings page. GET and PATCH REST endpoints are now generally available to read and update Copilot model policies for enterprises, enterprise teams, enterprise apps and organizations.

In plain English

Managing which Copilot models your enterprise can use just got easier. GitHub announced the API on Oct 19, 2026.

Where it works

Each level has its own endpoint:

  • Enterprise: /enterprises/{enterprise}/copilot/model-policies
  • Enterprise teams: /enterprises/{enterprise}/teams/{team_slug}/copilot/model-policies
  • Enterprise apps: /enterprises/{enterprise}/copilot/apps/model-policies
  • Organization: /orgs/{org}/copilot/model-policies

Who decides

Enterprise policies can hand model control down to organizations in organization mode, or to teams and apps in enterprise teams mode. GitHub’s docs on managing model availability in your enterprise and its REST API reference explain how to get started.

Source: GitHub Changelog: Copilot model policy API