This version of GitHub Enterprise Server was discontinued on 2026-04-23. 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.
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
Get started and make API calls
About the GraphQL API
The GitHub GraphQL API offers flexibility and the ability to define precisely the data you want to fetch.
Understand API changes and limits
Breaking changes
Learn about recent and upcoming breaking changes to the GitHub GraphQL API.
Explore the schema reference
Enums
Enums represent possible sets of values for a field.
Get started and make API calls
Forming calls with GraphQL
Learn how to authenticate to the GraphQL API, then learn how to create and run queries and mutations.
Explore the schema reference
Input objects
Input objects can be described as "composable objects" because they include a set of input fields that define the object.
Explore the schema reference
Interfaces
Interfaces serve as parent objects from which other objects can inherit.
Get started and make API calls
Introduction to GraphQL
Learn useful terminology and concepts for using the GitHub GraphQL API.
Get started and make API calls
Managing enterprise accounts
You can manage your enterprise account and the organizations it owns with the GraphQL API.
Understand API changes and limits
Migrating from REST to GraphQL
Learn best practices and considerations for migrating from GitHub's REST API to GitHub's GraphQL API.
Showing 1-9 of 20
