Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, 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.

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.

Explore the schema reference

Actions

Reference documentation for GraphQL schema types in the Actions category.

Explore the schema reference

Activity

Reference documentation for GraphQL schema types in the Activity category.

Explore the schema reference

Branches

Reference documentation for GraphQL schema types in the Branches category.

Understand API changes and limits

Breaking changes

Learn about recent and upcoming breaking changes to the GitHub GraphQL API.

Explore the schema reference

Checks

Reference documentation for GraphQL schema types in the Checks category.

Explore the schema reference

Commits

Reference documentation for GraphQL schema types in the Commits category.

Explore the schema reference

Copilot

Reference documentation for GraphQL schema types in the Copilot category.

Explore the schema reference

Dependabot

Reference documentation for GraphQL schema types in the Dependabot category.

Showing 1-9 of 44