{
  "slug": "github-graphql-adds-requestcopilotcodereview-mutation-c7c048a5167f",
  "title": "GitHub GraphQL adds requestCopilotCodeReview mutation",
  "tools": [
    "github-graphql-api"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-11-03T00:00:00.000Z",
  "announced_at": "2026-11-03T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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`.",
    "examples": [
      "mutation($input: RequestCopilotCodeReviewInput!) { requestCopilotCodeReview(input: $input) { success failureReason clientMutationId } }"
    ],
    "gotchas": [
      "input.pullRequestId (required): Node ID of the pull request.",
      "input.reviewEffort: Effort level for the Copilot code review."
    ]
  },
  "why_it_matters": "Request a Copilot code review for a pull request from code or tooling that consumes GitHub's GraphQL API.",
  "sources": [
    "https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2026-11-03",
    "https://docs.github.com/en/graphql/reference/pulls"
  ],
  "rank": 0.95025,
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261103-21",
    "verdict_id": "daily-20261103-21:daily-20261103-21-7bebbda8bc1a1b0e-2:gate",
    "evidence_hash": "9cff73d19d0b72e130774db7a29f9efe05876666a66b92e3eccd43014f8ca03f"
  }
}
