the graphql server has a contract (the schema) that it will follow, or 500. So you know what you get back is exactly to spec. Or you get nothing.
REST endpoints are usually way more blackbox.
You can't claim that REST is better cuz you can look at the server... when you could do the same thing to the graphql server.
Graphql will -never- return you unwanted data. Because you wrote in the query exactly what you want.
If you want to examine an endpoint and JUST what it returns, you can do so really easily with graphiql.
https://developer.github.com/v4/explorer/
Just enter the api and you get an auto complete list of all the data fields you have access to. Or just use the schema explorer and click through. 100x easier than going through a sql query and analyzing a table.