{
  "slug": "github-graphql-adds-the-rerequestreviews-mutation-1c7da650d6af",
  "title": "GitHub GraphQL adds the rerequestReviews mutation",
  "tools": [
    "github-graphql-api"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-05T00:00:00.000Z",
  "announced_at": "2026-10-05T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need to rerequest pull request reviews, call `rerequestReviews` with the pull request’s Node ID and any reviewer Node IDs; select the returned payload fields you need.",
    "examples": [
      "mutation RerequestReviews($input: RerequestReviewsInput!) { rerequestReviews(input: $input) { actor { __typename } clientMutationId pullRequest { id } requestedReviewersEdge { node { __typename } } } }\n# Variables: {\"input\":{\"pullRequestId\":\"<PULL_REQUEST_NODE_ID>\",\"userIds\":[\"<USER_NODE_ID>\"],\"teamIds\":[\"<TEAM_NODE_ID>\"],\"botIds\":[\"<BOT_NODE_ID>\"]}}"
    ],
    "gotchas": [
      "input (required): RerequestReviewsInput passed to the mutation.",
      "pullRequestId (required): Pull request Node ID to modify.",
      "userIds: Node IDs of users whose reviews to rerequest.",
      "teamIds: Node IDs of teams whose reviews to rerequest.",
      "botIds: Node IDs of bots whose reviews to rerequest.",
      "clientMutationId: Unique identifier for the client performing the mutation.",
      "Prerequisite: Authenticate to GitHub GraphQL API with a token; required scopes or permissions depend on the requested data.",
      "Prerequisite: GraphQL endpoint: https://api.github.com/graphql; mutations use POST."
    ]
  },
  "why_it_matters": "Rerequest reviews for a pull request and specify reviewers by user, team, or bot ID.",
  "sources": [
    "https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2026-10-05",
    "https://docs.github.com/en/graphql/reference/pulls",
    "https://docs.github.com/en/graphql/guides/forming-calls-with-graphql"
  ],
  "rank": 0.95024,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-784234a2a677510e-1:gate",
    "evidence_hash": "bd1f5bcf3318d5f8f20d2d2ba4f7f05792172849e773b4b1ed0eca65d8c9e1fe"
  },
  "review": {
    "draft_hash": "befd11cb4abf3cebe81efed94d37dc0a7b1009d503c31b3c4ac4aefd7d852fe3",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
