GitHub GraphQL API documentation
To create integrations, retrieve data, and automate your workflows, use the GitHub GraphQL API. The GitHub GraphQL API offers more precise and flexible queries than the GitHub REST API.
Recommended
About the GraphQL API
The GitHub GraphQL API offers flexibility and the ability to define precisely the data you want to fetch.
Introduction to GraphQL
Learn useful terminology and concepts for using the GitHub GraphQL API.
Forming calls with GraphQL
Learn how to authenticate to the GraphQL API, then learn how to create and run queries and mutations.
Articles
About the GraphQL API
The GitHub GraphQL API offers flexibility and the ability to define precisely the data you want to fetch.
Breaking changes
Learn about recent and upcoming breaking changes to the GitHub GraphQL API.
Enums
Enums represent possible sets of values for a field.
Forming calls with GraphQL
Learn how to authenticate to the GraphQL API, then learn how to create and run queries and mutations.
Input objects
Input objects can be described as "composable objects" because they include a set of input fields that define the object.
Interfaces
Interfaces serve as parent objects from which other objects can inherit.
Introduction to GraphQL
Learn useful terminology and concepts for using the GitHub GraphQL API.
Managing enterprise accounts
You can manage your enterprise account and the organizations it owns with the GraphQL API.
Migrating from REST to GraphQL
Learn best practices and considerations for migrating from GitHub's REST API to GitHub's GraphQL API.