# GitHub Enterprise GraphQL API

Hosted GitHub Enterprise Cloud REST API. Provides full access to repositories, issues, pull requests, GitHub Actions, packages, code scanning, secret scanning, Dependabot, audit log, SCIM provisioning, and enterprise admin endpoints. Authentication via fine-grained personal access tokens, GitHub App installation tokens, or OAuth.

## GitHub Enterprise Cloud REST API

**Endpoint:** https://api.github.com

**Documentation:** https://docs.github.com/en/enterprise-cloud@latest/rest

**GraphQL Properties:**

- GraphQL API: https://docs.github.com/en/enterprise-cloud@latest/graphql

## GitHub Enterprise Server REST API

Self-hosted GitHub Enterprise Server REST API served from a customer's own hostname under /api/v3. Per-version OpenAPI descriptions are published for each GHES release (ghes-X.X) alongside the hosted GHEC and api.github.com descriptions in github/rest-api-description.

**Endpoint:** https://HOSTNAME/api/v3

**Documentation:** https://docs.github.com/en/enterprise-server@latest/rest

**GraphQL Properties:**

- GraphQL API: https://docs.github.com/en/enterprise-server@latest/graphql
