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.
Start here
View allForming calls with GraphQL
Learn how to authenticate to the GraphQL API, then learn how to create and run queries and mutations.
Introduction to GraphQL
Learn useful terminology and concepts for using the GitHub GraphQL API.
Using GraphQL Clients
You can run queries on real GitHub data using various GraphQL clients and libraries.
Migrating from REST to GraphQL
Learn best practices and considerations for migrating from GitHub's REST API to GitHub's GraphQL API.
Managing enterprise accounts
You can manage your enterprise account and the organizations it owns with the GraphQL API.
Using global node IDs
You can get global node IDs of objects via the REST API and use them in GraphQL operations.