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 allPopular
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.