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-enterprise.graphql (Enterprise Server 3.1)
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Or, learn how to contribute.