GitHub GraphQL adds requestCopilotCodeReview mutation
Introduced 2026-11-03 · score 0.95
HOW TO USE IT
When requesting a Copilot code review for a pull request, call `requestCopilotCodeReview` with its node ID; optionally set the review effort. A pending request can return `REQUEST_CONFLICT`.
mutation($input: RequestCopilotCodeReviewInput!) { requestCopilotCodeReview(input: $input) { success failureReason clientMutationId } }WHY THIS HELPS
Request a Copilot code review for a pull request from code or tooling that consumes GitHub's GraphQL API.
REQUIREMENTS AND LIMITATIONS
- input.pullRequestId (required): Node ID of the pull request.
- input.reviewEffort: Effort level for the Copilot code review.
FIRST-PARTY EVIDENCE
- https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2026-11-03
- https://docs.github.com/en/graphql/reference/pulls
Check the installed version and the source before using it. Entry JSON