| title | Public schema | ||||||
|---|---|---|---|---|---|---|---|
| intro | Download the public schema for the {% data variables.product.prodname_dotcom %} GraphQL API. | ||||||
| redirect_from |
|
||||||
| versions |
|
||||||
| category |
|
You can perform introspection against the GraphQL API directly.
Alternatively, you can download the latest version of the public schema here:
{% ifversion fpt %}
{% octicon "desktop-download" aria-label="Download" %} schema.docs.graphql
{% endif %}
{% ifversion ghec %}
{% octicon "desktop-download" aria-label="Download" %} schema.docs.graphql
{% endif %}
{% ifversion ghes %}
[{% octicon "desktop-download" aria-label="Download" %} schema.docs-enterprise.graphql](/public/ghes-{{ allVersions[currentVersion].currentRelease }}/schema.docs-enterprise.graphql) ({{ allVersions[currentVersion].versionTitle }})
{% endif %}