You can execute the query using the following curl command
curl --request POST \
--url https://api.github.com/graphql \
--header 'authorization: Bearer <GITHUB_TOKEN>' \
--header 'content-type: application/json' \
--data '{"query":"query SearchPullRequestFromCommitSha {\n search (\n first: 100, type: ISSUE,\n query: \"type:pr repo:octokit/octokit.rb cd410f734e090e49d0f6e1ccff7ad3403259bd4d\"\n ) {\n nodes {\n ... on PullRequest {\n id, number, title, headRefName\n }\n }\n }\n}","operationName":"SearchPullRequestFromCommitSha"}'