This version of GitHub Enterprise Server was discontinued on 2024-03-26. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.
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.