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.
OverviewQuickstartRecommended
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 callsAbout the GraphQL API
The GitHub GraphQL API offers flexibility and the ability to define precisely the data you want to fetch.
Explore the schema referenceActions
Reference documentation for GraphQL schema types in the Actions category.
Explore the schema referenceActivity
Reference documentation for GraphQL schema types in the Activity category.
Explore the schema referenceBranches
Reference documentation for GraphQL schema types in the Branches category.
Understand API changes and limitsBreaking changes
Learn about recent and upcoming breaking changes to the GitHub GraphQL API.
Explore the schema referenceChecks
Reference documentation for GraphQL schema types in the Checks category.
Explore the schema referenceCode scanning
Reference documentation for GraphQL schema types in the Code scanning category.
Explore the schema referenceCommits
Reference documentation for GraphQL schema types in the Commits category.
Explore the schema referenceCopilot
Reference documentation for GraphQL schema types in the Copilot category.
Showing 1-9 of 56