Download the public schema for the GitHub GraphQL API.
You can perform introspection against the GraphQL API directly.
Alternatively, you can download the latest version of the public schema here:
schema.docs-ghae.graphql (GitHub AE)
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Or, learn how to contribute.