sincecutoff.com
← all changes

GitHub GraphQL adds the rerequestReviews mutation

Introduced 2026-10-05 · score 0.95

HOW TO USE IT

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.

mutation RerequestReviews($input: RerequestReviewsInput!) { rerequestReviews(input: $input) { actor { __typename } clientMutationId pullRequest { id } requestedReviewersEdge { node { __typename } } } } # Variables: {"input":{"pullRequestId":"<PULL_REQUEST_NODE_ID>","userIds":["<USER_NODE_ID>"],"teamIds":["<TEAM_NODE_ID>"],"botIds":["<BOT_NODE_ID>"]}}

WHY THIS HELPS

Rerequest reviews for a pull request and specify reviewers by user, team, or bot ID.

REQUIREMENTS AND LIMITATIONS

  • 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.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card