GraphQL Schema Reference
The docs in the sidebar are generated from the GitHub GraphQL schema. All calls are validated and executed against the schema. Use these docs to find out what data you can call:
Schema-defined types: scalars, objects, enums, interfaces, unions, and input objects.
You can access this same content via the Explorer Docs sidebar. Note that you may need to rely on both the docs and the schema validation to successfully call the GraphQL API.
For other information, such as authentication and rate limits, check out the overview or read the guides.
Overview
-
Query
-
Mutations
- acceptTopicSuggestion
- addComment
- addProjectCard
- addProjectColumn
- addPullRequestReview
- addPullRequestReviewComment
- addReaction
- addStar
- createProject
- declineTopicSuggestion
- deleteProject
- deleteProjectCard
- deleteProjectColumn
- deletePullRequestReview
- dismissPullRequestReview
- moveProjectCard
- moveProjectColumn
- removeOutsideCollaborator
- removeReaction
- removeStar
- requestReviews
- submitPullRequestReview
- updateProject
- updateProjectCard
- updateProjectColumn
- updatePullRequestReview
- updatePullRequestReviewComment
- updateSubscription
- updateTopics
-
Objects
- AddedToProjectEvent
- AssignedEvent
- BaseRefChangedEvent
- BaseRefForcePushedEvent
- Blame
- BlameRange
- Blob
- Bot
- ClosedEvent
- CodeOfConduct
- CommentDeletedEvent
- Commit
- CommitComment
- CommitCommentThread
- ConvertedNoteToIssueEvent
- CrossReferencedEvent
- DemilestonedEvent
- DeployedEvent
- Deployment
- DeploymentStatus
- ExternalIdentity
- ExternalIdentitySamlAttributes
- ExternalIdentityScimAttributes
- Gist
- GistComment
- GitActor
- GitHubMetadata
- GpgSignature
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- Issue
- IssueComment
- Label
- LabeledEvent
- Language
- License
- LicenseRule
- LockedEvent
- MentionedEvent
- MergedEvent
- Milestone
- MilestonedEvent
- MovedColumnsInProjectEvent
- Organization
- OrganizationIdentityProvider
- OrganizationInvitation
- PageInfo
- Project
- ProjectCard
- ProjectColumn
- ProtectedBranch
- PullRequest
- PullRequestCommit
- PullRequestReview
- PullRequestReviewComment
- PullRequestReviewThread
- PushAllowance
- RateLimit
- Reaction
- ReactionGroup
- Ref
- ReferencedEvent
- Release
- ReleaseAsset
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- Repository
- RepositoryInvitation
- RepositoryInvitationRepository
- RepositoryTopic
- ReviewDismissalAllowance
- ReviewDismissedEvent
- ReviewRequest
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- SmimeSignature
- Status
- StatusContext
- SubscribedEvent
- SuggestedReviewer
- Tag
- Team
- Topic
- Tree
- TreeEntry
- UnassignedEvent
- UnknownSignature
- UnlabeledEvent
- UnlockedEvent
- UnsubscribedEvent
- User
-
Interfaces
-
Enums
- CollaboratorAffiliation
- CommentAuthorAssociation
- CommentCannotUpdateReason
- DefaultRepositoryPermissionField
- DeploymentState
- DeploymentStatusState
- GistOrderField
- GistPrivacy
- GitSignatureState
- IssueOrderField
- IssuePubSubTopic
- IssueState
- LanguageOrderField
- MergeableState
- MilestoneState
- OrderDirection
- OrganizationInvitationRole
- OrganizationInvitationType
- ProjectCardState
- ProjectOrderField
- ProjectState
- PullRequestPubSubTopic
- PullRequestReviewEvent
- PullRequestReviewState
- PullRequestState
- ReactionContent
- ReactionOrderField
- RepositoryAffiliation
- RepositoryCollaboratorAffiliation
- RepositoryLockReason
- RepositoryOrderField
- RepositoryPermission
- RepositoryPrivacy
- SearchType
- StarOrderField
- StatusState
- SubscriptionState
- TeamMemberRole
- TeamMembershipType
- TeamOrderField
- TeamPrivacy
- TeamRepositoryOrderField
- TeamRole
- TopicSuggestionDeclineReason
-
Unions
-
Input Objects
-
Scalars