This is my scratch pad of GitHub graph QL queries I run with the Graphiql app.
Make sure to "Edit HTTP Headers" in Graphiql and set the header with your GitHub Personal Dev API Token:
Authorization Bearer ghp_ubRfl1F4...
query FindRepo {
repository(owner: "richkuz", name: "repo2") {
id
}