Skip to content
HUIAHUB

NewsCoding & dev tools

GitHub opens Copilot code review settings to the REST and GraphQL APIs

GitHub lets admins manage Copilot code review settings through REST and GraphQL, adds attribution fields and a more compact review overview.

Edited by Published 4 min read2 sources
A central microchip connects to settings controls, network nodes, document stacks, attribution cards and compact code review panels.

Illustration generated with ChatGPT

GitHub announced on 2026-11-07 that Copilot code review settings can now be read and changed through the REST and GraphQL APIs, at the enterprise, organization and repository level. The same GitHub changelog post (opens in a new tab) describes a shorter review overview comment and a set of fixes for billing, automatic reviews and reliability. GitHub says the updates apply to the Copilot Pro, Pro+, Max, Business and Enterprise plans.

What is new in the Copilot code review API

Before this release, the REST API could already request a Copilot review, pick its effort level and return information about it. That earlier step is covered in Copilot code review gets API requests and a Balanced default effort level. The new release adds three things to the review data:

  • Explicit attribution fields that identify which reviews and comments came from Copilot.
  • The effort level a review used, when that metadata exists.
  • The skills, MCP servers and custom instructions Copilot reported as sources for a comment.

Settings management is the larger change. GitHub splits it by role:

  • Enterprise administrators can turn code review on or off for every organization, or leave the decision to organization administrators.
  • Organization administrators control enablement, the default review effort and the runner configuration. They cannot override settings the enterprise manages.
  • Repository administrators set the review effort and decide whether reviews use custom instructions and MCP tools.

According to the changelog, the REST API accepts the same effort levels as the web interface. Organization and repository settings responses list which levels are available to the caller. The GitHub docs name those levels Lite, Balanced and Max.

The compact review overview

Copilot's overview comment on a pull request now puts findings at the top. The effort used and any surveys move into a small footer. Skipped files and content-excluded files now share one "Files not reviewed" section, which lists filenames and links to the exclusion reasons. Empty sections are dropped, and long lists end with an overflow count.

Feedback also changed. After a thumbs-down, a user can pick a reason, for example disagreeing with an approval, comments that are too verbose, or findings that are wrong or nitpicky.

Other changes in the same release

The changelog lists several smaller updates:

  • Copilot code review agent sessions show the AI credits a review consumed.
  • The "Automatically request Copilot code review" repository rule supports the bypass list, so exempt actors do not get an automatic Copilot review.
  • On later reviews of the same pull request, findings unrelated to the latest changes are collapsed, then hidden.
  • Balanced effort reviews now run three reviewer models, and a separate model merges their findings.

On the fix side, billing and preview settings survive turning code review off and back on. Failed or timed-out reviews are retried once, and Copilot can switch to another eligible model. A false failure report right after a review started, which discarded its results, is fixed. Reviews running during a service update get more time to finish, and surveys stay hidden for organizations that opted out of feedback collection.

Who the Copilot code review API is for

The settings API matters most to platform and admin teams that manage many organizations or repositories. With the settings endpoints, an enterprise or organization can read and update its code review policy from scripts. Repository administrators can do the same for review effort and the custom instructions and MCP tool settings.

The attribution and source fields help teams that collect review data. With them, a tool can separate Copilot comments from human ones and see which skills, MCP servers or instructions shaped a given comment. Teams that write their own MCP servers, for example with the official Python SDK, can check whether Copilot cited those servers.

How to try it

GitHub points to the "Configuring Copilot code review with the API" section of its code review configuration docs (opens in a new tab). That section summarizes what each level can change and refers readers to the GraphQL API reference for Copilot. Neither the changelog nor that section lists endpoint paths.

Token type matters. The enterprise and organization settings endpoints, including the organization runner endpoint, do not accept GitHub Apps or fine-grained personal access tokens. The repository settings endpoints accept both, with Administration: read permission to read settings and Administration: write permission to change them. A classic personal access token needs repository administrator access.

Limits and open questions

The API does not cover every setting. GitHub's docs say maximum review effort, billing and approval settings are not available through the API.

Some details are not stated in the sources. The changelog does not give the exact endpoint paths or GraphQL field names in its text. It also does not say which three models the Balanced effort uses, or which model combines their findings. The effort-level metadata on a review appears only when it is available, and GitHub does not list the cases where it is missing.

Sources

  1. 1.Copilot code review: API management and review overview updates - GitHub ChangelogOfficial docsPrimarygithub.blog
  2. 2.docs.github.com/copilot/how-tos/copilot-on-github/set-up-copilot/configure-code-reviewOfficial docsPrimary

Spotted an error? See our corrections policy.

Enjoyed this? Get the weekly brief.

New guides, Project & Tool of the Week and the AI developments that matter. One email, no spam.

Read next

More on these topics