Connectors

Cloud Infrastructure & DevOps

GitHub

Code hosting: repositories, issues, pull requests, actions, and releases
GitHub API referenceAPI checked August 16, 2026
Signs in with
API token
Runs on
Cloud or On-Prem Worker
Operations
1,220
Ready-made triggers
54

Connect GitHub

  1. In Neblex open Connect › Connections and click New Connection.
  2. Search for GitHub and give the connection a clear name.
  3. Fill in the fields. Secret values are encrypted and never shown again.
  4. Click Test, then Create Connection.
FieldWhat to enter
Access tokenOptionalSecret
OAuth application client IDOptional
OAuth application client secretOptionalSecret

Triggers

Start a flow when something changes in GitHub: add a Poll for changes trigger, choose GitHub and pick the event.

EventWhat it doesHow
New or updated actionFires for each action that appears or changes since the last check.Checks for changes
New or updated activityFires for each activity that appears or changes since the last check.Checks for changes
New or updated agent taskFires for each agent task created or changed since the last check.Checks for changes by updated_at
New or updated agentFires for each agent created or changed since the last check.Checks for changes by updated_at
New or updated appFires for each app created or changed since the last check.Checks for changes by updated_at
New or updated campaignFires for each campaign created or changed since the last check.Checks for changes by updated_at
New or updated checkFires for each check that appears or changes since the last check.Checks for changes
New or updated code scanningFires for each code scanning created or changed since the last check.Checks for changes by updated_at
New or updated codespaceFires for each codespace created or changed since the last check.Checks for changes by updated_at
New or updated copilotFires for each copilot created or changed since the last check.Checks for changes by updated_at
New or updated copilot spaceFires for each copilot space created or changed since the last check.Checks for changes by updated_at
New or updated dependabotFires for each dependabot created or changed since the last check.Checks for changes by updated_at
New or updated enterprise team membershipFires for each enterprise team membership that appears or changes since the last check.Checks for changes
New or updated enterprise teamFires for each enterprise team created or changed since the last check.Checks for changes by updated_at
New or updated gistFires for each gist created or changed since the last check.Checks for changes by updated_at
New or updated hosted computeFires for each hosted compute that appears or changes since the last check.Checks for changes
New or updated issueFires for each issue created or changed since the last check.Checks for changes by updated_at
New or updated migrationFires for each migration created or changed since the last check.Checks for changes by updated_at
New or updated orgFires for each org that appears or changes since the last check.Checks for changes
New or updated private registryFires for each private registry created or changed since the last check.Checks for changes by updated_at
New or updated projectFires for each project created or changed since the last check.Checks for changes by updated_at
New or updated pullFires for each pull created or changed since the last check.Checks for changes by updated_at
New or updated reactionFires for each reaction that appears or changes since the last check.Checks for changes
New or updated repoFires for each repo created or changed since the last check.Checks for changes by updated_at
New or updated secret scanningFires for each secret scanning created or changed since the last check.Checks for changes by updated_at
New or updated teamFires for each team that appears or changes since the last check.Checks for changes
New or updated userFires for each user that appears or changes since the last check.Checks for changes
New actionFires for each action that appears since the last check.Checks for changes
New activityFires for each activity that appears since the last check.Checks for changes
New agent taskFires for each agent task created since the last check.Checks for changes by created_at
New agentFires for each agent created since the last check.Checks for changes by created_at
New appFires for each app created since the last check.Checks for changes by created_at
New campaignFires for each campaign created since the last check.Checks for changes by created_at
New checkFires for each check that appears since the last check.Checks for changes
New code scanningFires for each code scanning created since the last check.Checks for changes by created_at
New codespaceFires for each codespace created since the last check.Checks for changes by created_at
New copilotFires for each copilot created since the last check.Checks for changes by created_at
New copilot spaceFires for each copilot space created since the last check.Checks for changes by created_at
New dependabotFires for each dependabot created since the last check.Checks for changes by created_at
New enterprise team membershipFires for each enterprise team membership that appears since the last check.Checks for changes
New enterprise teamFires for each enterprise team created since the last check.Checks for changes by created_at
New gistFires for each gist created since the last check.Checks for changes by created_at
New hosted computeFires for each hosted compute created since the last check.Checks for changes by created_on
New issueFires for each issue created since the last check.Checks for changes by created_at
New migrationFires for each migration created since the last check.Checks for changes by created_at
New orgFires for each org that appears since the last check.Checks for changes
New private registryFires for each private registry created since the last check.Checks for changes by created_at
New projectFires for each project created since the last check.Checks for changes by created_at
New pullFires for each pull created since the last check.Checks for changes by created_at
New reactionFires for each reaction created since the last check.Checks for changes by created_at
New repoFires for each repo created since the last check.Checks for changes by created_at
New secret scanningFires for each secret scanning created since the last check.Checks for changes by created_at
New teamFires for each team that appears since the last check.Checks for changes
New userFires for each user that appears since the last check.Checks for changes

Use it in a flow

  1. Open a flow, open the node library and search for GitHub.
  2. Drag it onto the canvas and choose an Operation and your connection.
  3. Map the operation's fields from earlier steps, or click Map with Matt.
  4. Use Test this step to see what it returns, then save.

Operations

1,220 operations in 47 groups. Each one is a step you can add to a flow.

Action187
Add a repository to the list of repositories allowed to useactions_enable_selected_repository_self_hosted_runners_organizationPUTAdds a repository to the list of repositories that are allowed to use self-hosted runners in an organization.
Add a self-hosted runner to a group for an organizationactions_add_self_hosted_runner_to_group_for_orgPUTAdds a self-hosted runner to a runner group configured in an organization.
Add custom labels to a self-hosted runner for a repositoryactions_add_custom_labels_to_self_hosted_runner_for_repoPOSTAdds custom labels to a self-hosted runner configured in a repository.
Add custom labels to a self-hosted runner for an organizationactions_add_custom_labels_to_self_hosted_runner_for_orgPOSTAdds custom labels to a self-hosted runner configured in an organization.
Add repository access to a self-hosted runner group in anactions_add_repo_access_to_self_hosted_runner_group_in_orgPUTAdds a repository to the list of repositories that can access a self-hosted runner group.
Add selected repository to an organization secretactions_add_selected_repo_to_org_secretPUTAdds a repository to an organization secret when the visibility for repository access is set to selected.
Add selected repository to an organization variableactions_add_selected_repo_to_org_variablePUTAdds a repository to an organization variable that is available to selected repositories.
Approve a workflow run for a fork pull requestactions_approve_workflow_runPOSTApproves a workflow run for a pull request from a public fork of a first time contributor.
Cancel a workflow runactions_cancel_workflow_runPOSTCancels a workflow run using its id.
Create a GitHub-hosted runner for an organizationactions_create_hosted_runner_for_orgPOSTCreates a GitHub-hosted runner for an organization.
Create a registration token for a repositoryactions_create_registration_token_for_repoPOSTReturns a token that you can pass to the config script.
Create a registration token for an organizationactions_create_registration_token_for_orgPOSTReturns a token that you can pass to the config script.
Create a remove token for a repositoryactions_create_remove_token_for_repoPOSTReturns a token that you can pass to the config script to remove a self-hosted runner from an repository.
Create a remove token for an organizationactions_create_remove_token_for_orgPOSTReturns a token that you can pass to the config script to remove a self-hosted runner from an organization.
Create a repository variableactions_create_repo_variablePOSTCreates a repository variable that you can reference in a GitHub Actions workflow.
Create a self-hosted runner group for an organizationactions_create_self_hosted_runner_group_for_orgPOSTCreates a new self-hosted runner group for an organization.
Create a workflow dispatch eventactions_create_workflow_dispatchPOSTYou can use this endpoint to manually trigger a GitHub Actions workflow run.
Create an environment variableactions_create_environment_variablePOSTCreate an environment variable that you can reference in a GitHub Actions workflow.
Create an organization variableactions_create_org_variablePOSTCreates an organization variable that you can reference in a GitHub Actions workflow.
Create configuration for a just-in-time runner for a repositoryactions_generate_runner_jitconfig_for_repoPOSTGenerates a configuration that can be passed to the runner application at startup.
Create configuration for a just-in-time runner for anactions_generate_runner_jitconfig_for_orgPOSTGenerates a configuration that can be passed to the runner application at startup.
Create or update a repository secretactions_create_or_update_repo_secretPUTCreates or updates a repository secret with an encrypted value.
Create or update an environment secretactions_create_or_update_environment_secretPUTCreates or updates an environment secret with an encrypted value.
Create or update an organization secretactions_create_or_update_org_secretPUTCreates or updates an organization secret with an encrypted value.
Delete a custom image from the organizationactions_delete_custom_image_from_orgDELETEDelete a custom image from the organization.
Delete a GitHub Actions cache for a repository (using a cacheactions_delete_actions_cache_by_idDELETEDeletes a GitHub Actions cache for a repository, using a cache ID.
Delete a GitHub-hosted runner for an organizationactions_delete_hosted_runner_for_orgDELETEDeletes a GitHub-hosted runner for an organization.
Delete a repository secretactions_delete_repo_secretDELETEDeletes a secret in a repository using the secret name.
Delete a repository variableactions_delete_repo_variableDELETEDeletes a repository variable using the variable name.
Delete a self-hosted runner from a repositoryactions_delete_self_hosted_runner_from_repoDELETEForces the removal of a self-hosted runner from a repository.
Delete a self-hosted runner from an organizationactions_delete_self_hosted_runner_from_orgDELETEForces the removal of a self-hosted runner from an organization.
Delete a self-hosted runner group from an organizationactions_delete_self_hosted_runner_group_from_orgDELETEDeletes a self-hosted runner group for an organization.
Delete a workflow runactions_delete_workflow_runDELETEDeletes a specific workflow run.
Delete an artifactactions_delete_artifactDELETEDeletes an artifact for a workflow run.
Delete an environment secretactions_delete_environment_secretDELETEDeletes a secret in an environment using the secret name.
Delete an environment variableactions_delete_environment_variableDELETEDeletes an environment variable using the variable name.
Delete an image version of custom image from the organizationactions_delete_custom_image_version_from_orgDELETEDelete an image version of custom image from the organization.
Delete an organization secretactions_delete_org_secretDELETEDeletes a secret in an organization using the secret name.
Delete an organization variableactions_delete_org_variableDELETEDeletes an organization variable using the variable name.
Delete GitHub Actions caches for a repository (using a cacheactions_delete_actions_cache_by_keyDELETEDeletes one or more GitHub Actions caches for a repository, using a complete cache key.
Delete workflow run logsactions_delete_workflow_run_logsDELETEDeletes all logs for a workflow run.
Disable a selected repository for GitHub Actions in anactions_disable_selected_repository_github_actions_organizationDELETERemoves a repository from the list of selected repositories that are enabled for GitHub Actions in an organization.
Disable a workflowactions_disable_workflowPUTDisables a workflow and sets the state of the workflow to disabled manually.
Download an artifactactions_download_artifactGETGets a redirect URL to download an archive for a repository.
Download job logs for a workflow runactions_download_job_logs_for_workflow_runGETGets a redirect URL to download a plain text file of logs for a workflow job.
Download workflow run attempt logsactions_download_workflow_run_attempt_logsGETGets a redirect URL to download an archive of log files for a specific workflow run attempt.
Download workflow run logsactions_download_workflow_run_logsGETGets a redirect URL to download an archive of log files for a workflow run.
Enable a selected repository for GitHub Actions in anactions_enable_selected_repository_github_actions_organizationPUTAdds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization.
Enable a workflowactions_enable_workflowPUTEnables a workflow and sets the state of the workflow to active.
Force cancel a workflow runactions_force_cancel_workflow_runPOSTCancels a workflow run and bypasses conditions that would otherwise cause a workflow execution to continue, such as an always() condition on a job.
Get a concurrency group for a repositoryactions_get_concurrency_group_for_repositoryGETGets a specific concurrency group for a repository, including all instances in the group's queue.
Get a custom image definition for GitHub Actions Hosted Runnersactions_get_custom_image_for_orgGETGet a custom image definition for GitHub Actions Hosted Runners.
Get a GitHub-hosted runner for an organizationactions_get_hosted_runner_for_orgGETGets a GitHub-hosted runner configured in an organization.
Get a job for a workflow runactions_get_job_for_workflow_runGETGets a specific job in a workflow run.
Get a repository public keyactions_get_repo_public_keyGETGets your public key, which you need to encrypt secrets.
Get a repository secretactions_get_repo_secretGETGets a single repository secret without revealing its encrypted value.
Get a repository variableactions_get_repo_variableGETGets a specific variable in a repository.
Get a self-hosted runner for a repositoryactions_get_self_hosted_runner_for_repoGETGets a specific self-hosted runner configured in a repository.
Get a self-hosted runner for an organizationactions_get_self_hosted_runner_for_orgGETGets a specific self-hosted runner configured in an organization.
Get a self-hosted runner group for an organizationactions_get_self_hosted_runner_group_for_orgGETGets a specific self-hosted runner group for an organization.
Get a workflowactions_get_workflowGETGets a specific workflow.
Get a workflow runactions_get_workflow_runGETGets a specific workflow run.
Get a workflow run attemptactions_get_workflow_run_attemptGETGets a specific workflow run attempt.
Get allowed actions and reusable workflows for a repositoryactions_get_allowed_actions_repositoryGETGets the settings for selected actions and reusable workflows that are allowed in a repository.
Get allowed actions and reusable workflows for an organizationactions_get_allowed_actions_organizationGETGets the selected actions and reusable workflows that are allowed in an organization.
Get an artifactactions_get_artifactGETGets a specific artifact for a workflow run.
Get an environment public keyactions_get_environment_public_keyGETGet the public key for an environment, which you need to encrypt environment secrets.
Get an environment secretactions_get_environment_secretGETGets a single environment secret without revealing its encrypted value.
Get an environment variableactions_get_environment_variableGETGets a specific variable in an environment.
Get an image version of a custom image for GitHub Actionsactions_get_custom_image_version_for_orgGETGet an image version of a custom image for GitHub Actions Hosted Runners.
Get an organization public keyactions_get_org_public_keyGETGets your public key, which you need to encrypt secrets.
Get an organization secretactions_get_org_secretGETGets a single organization secret without revealing its encrypted value.
Get an organization variableactions_get_org_variableGETGets a specific variable in an organization.
Get artifact and log retention settings for a repositoryactions_get_artifact_and_log_retention_settings_repositoryGETGets artifact and log retention settings for a repository.
Get artifact and log retention settings for an organizationactions_get_artifact_and_log_retention_settings_organizationGETGets artifact and log retention settings for an organization.
Get default workflow permissions for a repositoryactions_get_github_actions_default_workflow_permissions_repositoryGETGets the default workflow permissions granted to the GITHUB TOKEN when running workflows in a repository, as well as if GitHub Actions can submit approving pull request reviews.
Get default workflow permissions for an organizationactions_get_github_actions_default_workflow_permissions_organizationGETGets the default workflow permissions granted to the GITHUB TOKEN when running workflows in an organization, as well as whether GitHub Actions can submit approving pull request reviews.
Get fork PR contributor approval permissions for a repositoryactions_get_fork_pr_contributor_approval_permissions_repositoryGETGets the fork PR contributor approval policy for a repository.
Get fork PR contributor approval permissions for an organizationactions_get_fork_pr_contributor_approval_permissions_organizationGETGets the fork PR contributor approval policy for an organization.
Get GitHub Actions cache retention limit for a repositoryactions_get_actions_cache_retention_limit_for_repositoryGETGets GitHub Actions cache retention limit for a repository.
Get GitHub Actions cache retention limit for an enterpriseactions_get_actions_cache_retention_limit_for_enterpriseGETGets GitHub Actions cache retention limit for an enterprise.
Get GitHub Actions cache retention limit for an organizationactions_get_actions_cache_retention_limit_for_organizationGETGets GitHub Actions cache retention limit for an organization.
Get GitHub Actions cache storage limit for a repositoryactions_get_actions_cache_storage_limit_for_repositoryGETGets GitHub Actions cache storage limit for a repository.
Get GitHub Actions cache storage limit for an enterpriseactions_get_actions_cache_storage_limit_for_enterpriseGETGets GitHub Actions cache storage limit for an enterprise.
Get GitHub Actions cache storage limit for an organizationactions_get_actions_cache_storage_limit_for_organizationGETGets GitHub Actions cache storage limit for an organization.
Get GitHub Actions cache usage for a repositoryactions_get_actions_cache_usageGETGets GitHub Actions cache usage for a repository.
Get GitHub Actions cache usage for an organizationactions_get_actions_cache_usage_for_orgGETGets the total GitHub Actions cache usage for an organization.
Get GitHub Actions permissions for a repositoryactions_get_github_actions_permissions_repositoryGETGets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository.
Get GitHub Actions permissions for an organizationactions_get_github_actions_permissions_organizationGETGets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.
Get GitHub-hosted runners machine specs for an organizationactions_get_hosted_runners_machine_specs_for_orgGETGet the list of machine specs available for GitHub-hosted runners for an organization.
Get GitHub-owned images for GitHub-hosted runners in anactions_get_hosted_runners_github_owned_images_for_orgGETGet the list of GitHub-owned images available for GitHub-hosted runners for an organization.
Get limits on GitHub-hosted runners for an organizationactions_get_hosted_runners_limits_for_orgGETGet the GitHub-hosted runners limits for an organization.
Get partner images for GitHub-hosted runners in an organizationactions_get_hosted_runners_partner_images_for_orgGETGet the list of partner images available for GitHub-hosted runners for an organization.
Get pending deployments for a workflow runactions_get_pending_deployments_for_runGETGet all deployment environments for a workflow run that are waiting for protection rules to pass.
Get platforms for GitHub-hosted runners in an organizationactions_get_hosted_runners_platforms_for_orgGETGet the list of platforms available for GitHub-hosted runners for an organization.
Get private repo fork PR workflow settings for a repositoryactions_get_private_repo_fork_pr_workflows_settings_repositoryGETGets the settings for whether workflows from fork pull requests can run on a private repository.
Get private repo fork PR workflow settings for an organizationactions_get_private_repo_fork_pr_workflows_settings_organizationGETGets the settings for whether workflows from fork pull requests can run on private repositories in an organization.
Get self-hosted runners settings for an organizationactions_get_self_hosted_runners_permissions_organizationGETGets the settings for self-hosted runners for an organization.
Get the customization template for an OIDC subject claim for aactions_get_custom_oidc_sub_claim_for_repoGETGets the customization template for an OpenID Connect (OIDC) subject claim.
Get the level of access for workflows outside of the repositoryactions_get_workflow_access_to_repositoryGETGets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.
Get the review history for a workflow runactions_get_reviews_for_runGETAnyone with read access to the repository can use this endpoint.
Get workflow run usageactions_get_workflow_run_usageGET[!WARNING] This endpoint is in the process of closing down.
Get workflow usageactions_get_workflow_usageGET[!WARNING] This endpoint is in the process of closing down.
List artifacts for a repositoryactions_list_artifacts_for_repoGETLists all artifacts for a repository.
List concurrency groups for a repositoryactions_list_concurrency_groups_for_repositoryGETLists the active concurrency groups for a repository.
List concurrency groups for a workflow runactions_list_concurrency_groups_for_workflow_runGETLists all concurrency groups associated with a workflow run or its jobs.
List custom images for an organizationactions_list_custom_images_for_orgGETList custom images for an organization.
List environment secretsactions_list_environment_secretsGETLists all secrets available in an environment without revealing their encrypted values.
List environment variablesactions_list_environment_variablesGETLists all environment variables.
List GitHub Actions caches for a repositoryactions_get_actions_cache_listGETLists the GitHub Actions caches for a repository.
List GitHub-hosted runners for an organizationactions_list_hosted_runners_for_orgGETLists all GitHub-hosted runners configured in an organization.
List GitHub-hosted runners in a group for an organizationactions_list_github_hosted_runners_in_group_for_orgGETLists the GitHub-hosted runners in an organization group.
List image versions of a custom image for an organizationactions_list_custom_image_versions_for_orgGETList image versions of a custom image for an organization.
List jobs for a workflow runactions_list_jobs_for_workflow_runGETLists jobs for a workflow run.
List jobs for a workflow run attemptactions_list_jobs_for_workflow_run_attemptGETLists jobs for a specific workflow run attempt.
List labels for a self-hosted runner for a repositoryactions_list_labels_for_self_hosted_runner_for_repoGETLists all labels for a self-hosted runner configured in a repository.
List labels for a self-hosted runner for an organizationactions_list_labels_for_self_hosted_runner_for_orgGETLists all labels for a self-hosted runner configured in an organization.
List organization secretsactions_list_org_secretsGETLists all secrets available in an organization without revealing their encrypted values.
List organization variablesactions_list_org_variablesGETLists all organization variables.
List repositories allowed to use self-hosted runners in anactions_list_selected_repositories_self_hosted_runners_organizationGETLists repositories that are allowed to use self-hosted runners in an organization.
List repositories with GitHub Actions cache usage for anactions_get_actions_cache_usage_by_repo_for_orgGETLists repositories and their GitHub Actions cache usage for an organization.
List repository access to a self-hosted runner group in anactions_list_repo_access_to_self_hosted_runner_group_in_orgGETLists the repositories with access to a self-hosted runner group configured in an organization.
List repository organization secretsactions_list_repo_organization_secretsGETLists all organization secrets shared with a repository without revealing their encrypted values.
List repository organization variablesactions_list_repo_organization_variablesGETLists all organization variables shared with a repository.
List repository secretsactions_list_repo_secretsGETLists all secrets available in a repository without revealing their encrypted values.
List repository variablesactions_list_repo_variablesGETLists all repository variables.
List repository workflowsactions_list_repo_workflowsGETLists the workflows in a repository.
List runner applications for a repositoryactions_list_runner_applications_for_repoGETLists binaries for the runner application that you can download and run.
List runner applications for an organizationactions_list_runner_applications_for_orgGETLists binaries for the runner application that you can download and run.
List selected repositories enabled for GitHub Actions in anactions_list_selected_repositories_enabled_github_actions_organizationGETLists the selected repositories that are enabled for GitHub Actions in an organization.
List selected repositories for an organization secretactions_list_selected_repos_for_org_secretGETLists all repositories that have been selected when the visibility for repository access to a secret is set to selected.
List selected repositories for an organization variableactions_list_selected_repos_for_org_variableGETLists all repositories that can access an organization variable that is available to selected repositories.
List self-hosted runner groups for an organizationactions_list_self_hosted_runner_groups_for_orgGETLists all self-hosted runner groups configured in an organization and inherited from an enterprise.
List self-hosted runners for a repositoryactions_list_self_hosted_runners_for_repoGETLists all self-hosted runners configured in a repository.
List self-hosted runners for an organizationactions_list_self_hosted_runners_for_orgGETLists all self-hosted runners configured in an organization.
List self-hosted runners in a group for an organizationactions_list_self_hosted_runners_in_group_for_orgGETLists self-hosted runners that are in a specific organization group.
List workflow run artifactsactions_list_workflow_run_artifactsGETLists artifacts for a workflow run.
List workflow runs for a repositoryactions_list_workflow_runs_for_repoGETLists all workflow runs for a repository.
List workflow runs for a workflowactions_list_workflow_runsGETList all workflow runs for a workflow.
Re-run a job from a workflow runactions_re_run_job_for_workflow_runPOSTRe-run a job and its dependent jobs in a workflow run.
Re-run a workflowactions_re_run_workflowPOSTRe-runs your workflow run using its id.
Re-run failed jobs from a workflow runactions_re_run_workflow_failed_jobsPOSTRe-run all of the failed jobs and their dependent jobs in a workflow run using the id of the workflow run.
Remove a custom label from a self-hosted runner for a repositoryactions_remove_custom_label_from_self_hosted_runner_for_repoDELETERemove a custom label from a self-hosted runner configured in a repository.
Remove a custom label from a self-hosted runner for anactions_remove_custom_label_from_self_hosted_runner_for_orgDELETERemove a custom label from a self-hosted runner configured in an organization.
Remove a repository from the list of repositories allowed toactions_disable_selected_repository_self_hosted_runners_organizationDELETERemoves a repository from the list of repositories that are allowed to use self-hosted runners in an organization.
Remove a self-hosted runner from a group for an organizationactions_remove_self_hosted_runner_from_group_for_orgDELETERemoves a self-hosted runner from a group configured in an organization.
Remove all custom labels from a self-hosted runner for aactions_remove_all_custom_labels_from_self_hosted_runner_for_repoDELETERemove all custom labels from a self-hosted runner configured in a repository.
Remove all custom labels from a self-hosted runner for anactions_remove_all_custom_labels_from_self_hosted_runner_for_orgDELETERemove all custom labels from a self-hosted runner configured in an organization.
Remove repository access to a self-hosted runner group in anactions_remove_repo_access_to_self_hosted_runner_group_in_orgDELETERemoves a repository from the list of selected repositories that can access a self-hosted runner group.
Remove selected repository from an organization secretactions_remove_selected_repo_from_org_secretDELETERemoves a repository from an organization secret when the visibility for repository access is set to selected.
Remove selected repository from an organization variableactions_remove_selected_repo_from_org_variableDELETERemoves a repository from an organization variable that is available to selected repositories.
Review custom deployment protection rules for a workflow runactions_review_custom_gates_for_runPOSTApprove or reject custom deployment protection rules provided by a GitHub App for a workflow run.
Review pending deployments for a workflow runactions_review_pending_deployments_for_runPOSTApprove or reject pending deployments that are waiting on approval by a required reviewer.
Set allowed actions and reusable workflows for a repositoryactions_set_allowed_actions_repositoryPUTSets the actions and reusable workflows that are allowed in a repository.
Set allowed actions and reusable workflows for an organizationactions_set_allowed_actions_organizationPUTSets the actions and reusable workflows that are allowed in an organization.
Set artifact and log retention settings for a repositoryactions_set_artifact_and_log_retention_settings_repositoryPUTSets artifact and log retention settings for a repository.
Set artifact and log retention settings for an organizationactions_set_artifact_and_log_retention_settings_organizationPUTSets artifact and log retention settings for an organization.
Set custom labels for a self-hosted runner for a repositoryactions_set_custom_labels_for_self_hosted_runner_for_repoPUTRemove all previous custom labels and set the new custom labels for a specific self-hosted runner configured in a repository.
Set custom labels for a self-hosted runner for an organizationactions_set_custom_labels_for_self_hosted_runner_for_orgPUTRemove all previous custom labels and set the new custom labels for a specific self-hosted runner configured in an organization.
Set default workflow permissions for a repositoryactions_set_github_actions_default_workflow_permissions_repositoryPUTSets the default workflow permissions granted to the GITHUB TOKEN when running workflows in a repository, and sets if GitHub Actions can submit approving pull request reviews.
Set default workflow permissions for an organizationactions_set_github_actions_default_workflow_permissions_organizationPUTSets the default workflow permissions granted to the GITHUB TOKEN when running workflows in an organization, and sets if GitHub Actions can submit approving pull request reviews.
Set fork PR contributor approval permissions for a repositoryactions_set_fork_pr_contributor_approval_permissions_repositoryPUTSets the fork PR contributor approval policy for a repository.
Set fork PR contributor approval permissions for an organizationactions_set_fork_pr_contributor_approval_permissions_organizationPUTSets the fork PR contributor approval policy for an organization.
Set GitHub Actions cache retention limit for a repositoryactions_set_actions_cache_retention_limit_for_repositoryPUTSets GitHub Actions cache retention limit for a repository.
Set GitHub Actions cache retention limit for an enterpriseactions_set_actions_cache_retention_limit_for_enterprisePUTSets GitHub Actions cache retention limit for an enterprise.
Set GitHub Actions cache retention limit for an organizationactions_set_actions_cache_retention_limit_for_organizationPUTSets GitHub Actions cache retention limit for an organization.
Set GitHub Actions cache storage limit for a repositoryactions_set_actions_cache_storage_limit_for_repositoryPUTSets GitHub Actions cache storage limit for a repository.
Set GitHub Actions cache storage limit for an enterpriseactions_set_actions_cache_storage_limit_for_enterprisePUTSets GitHub Actions cache storage limit for an enterprise.
Set GitHub Actions cache storage limit for an organizationactions_set_actions_cache_storage_limit_for_organizationPUTSets GitHub Actions cache storage limit for an organization.
Set GitHub Actions permissions for a repositoryactions_set_github_actions_permissions_repositoryPUTSets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository.
Set GitHub Actions permissions for an organizationactions_set_github_actions_permissions_organizationPUTSets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.
Set private repo fork PR workflow settings for a repositoryactions_set_private_repo_fork_pr_workflows_settings_repositoryPUTSets the settings for whether workflows from fork pull requests can run on a private repository.
Set private repo fork PR workflow settings for an organizationactions_set_private_repo_fork_pr_workflows_settings_organizationPUTSets the settings for whether workflows from fork pull requests can run on private repositories in an organization.
Set repositories allowed to use self-hosted runners in anactions_set_selected_repositories_self_hosted_runners_organizationPUTSets repositories that are allowed to use self-hosted runners in an organization.
Set repository access for a self-hosted runner group in anactions_set_repo_access_to_self_hosted_runner_group_in_orgPUTReplaces the list of repositories that have access to a self-hosted runner group configured in an organization.
Set selected repositories enabled for GitHub Actions in anactions_set_selected_repositories_enabled_github_actions_organizationPUTReplaces the list of selected repositories that are enabled for GitHub Actions in an organization.
Set selected repositories for an organization secretactions_set_selected_repos_for_org_secretPUTReplaces all repositories for an organization secret when the visibility for repository access is set to selected.
Set selected repositories for an organization variableactions_set_selected_repos_for_org_variablePUTReplaces all repositories for an organization variable that is available to selected repositories.
Set self-hosted runners in a group for an organizationactions_set_self_hosted_runners_in_group_for_orgPUTReplaces the list of self-hosted runners that are part of an organization runner group.
Set self-hosted runners settings for an organizationactions_set_self_hosted_runners_permissions_organizationPUTSets the settings for self-hosted runners for an organization.
Set the customization template for an OIDC subject claim for aactions_set_custom_oidc_sub_claim_for_repoPUTSets the customization template and opt-in or opt-out flag for an OpenID Connect (OIDC) subject claim for a repository.
Set the level of access for workflows outside of the repositoryactions_set_workflow_access_to_repositoryPUTSets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.
Update a GitHub-hosted runner for an organizationactions_update_hosted_runner_for_orgPATCHUpdates a GitHub-hosted runner for an organization.
Update a repository variableactions_update_repo_variablePATCHUpdates a repository variable that you can reference in a GitHub Actions workflow.
Update a self-hosted runner group for an organizationactions_update_self_hosted_runner_group_for_orgPATCHUpdates the name and visibility of a self-hosted runner group in an organization.
Update an environment variableactions_update_environment_variablePATCHUpdates an environment variable that you can reference in a GitHub Actions workflow.
Update an organization variableactions_update_org_variablePATCHUpdates an organization variable that you can reference in a GitHub Actions workflow.
Activity32
Check if a repository is starred by the authenticated useractivity_check_repo_is_starred_by_authenticated_userGETWhether the authenticated user has starred the repository.
Delete a repository subscriptionactivity_delete_repo_subscriptionDELETEThis endpoint should only be used to stop watching a repository.
Delete a thread subscriptionactivity_delete_thread_subscriptionDELETEMutes all future notifications for a conversation until you comment on the thread or get an @mention .
Get a repository subscriptionactivity_get_repo_subscriptionGETGets information about whether the authenticated user is subscribed to the repository.
Get a threadactivity_get_threadGETGets information about a notification thread.
Get a thread subscription for the authenticated useractivity_get_thread_subscription_for_authenticated_userGETThis checks to see if the current user is subscribed to a thread.
Get feedsactivity_get_feedsGETLists the feeds available to the authenticated user.
List events for the authenticated useractivity_list_events_for_authenticated_userGETIf you are authenticated as the given user, you will see your private events.
List events received by the authenticated useractivity_list_received_events_for_userGETThese are events that you've received by watching repositories and following users.
List notifications for the authenticated useractivity_list_notifications_for_authenticated_userGETList all notifications for the current user, sorted by most recently updated.
List organization events for the authenticated useractivity_list_org_events_for_authenticated_userGETThis is the user's organization dashboard.
List public eventsactivity_list_public_eventsGET[!NOTE] This API is not built to serve real-time use cases.
List public events for a network of repositoriesactivity_list_public_events_for_repo_networkGET[!NOTE] This API is not built to serve real-time use cases.
List public events for a useractivity_list_public_events_for_userGET[!NOTE] This API is not built to serve real-time use cases.
List public events received by a useractivity_list_received_public_events_for_userGET[!NOTE] This API is not built to serve real-time use cases.
List public organization eventsactivity_list_public_org_eventsGET[!NOTE] This API is not built to serve real-time use cases.
List repositories starred by a useractivity_list_repos_starred_by_userGETLists repositories a user has starred.
List repositories starred by the authenticated useractivity_list_repos_starred_by_authenticated_userGETLists repositories the authenticated user has starred.
List repositories watched by a useractivity_list_repos_watched_by_userGETLists repositories a user is watching.
List repositories watched by the authenticated useractivity_list_watched_repos_for_authenticated_userGETLists repositories the authenticated user is watching.
List repository eventsactivity_list_repo_eventsGET[!NOTE] This API is not built to serve real-time use cases.
List repository notifications for the authenticated useractivity_list_repo_notifications_for_authenticated_userGETLists all notifications for the current user in the specified repository.
List stargazersactivity_list_stargazers_for_repoGETLists the people that have starred the repository.
List watchersactivity_list_watchers_for_repoGETLists the people watching the specified repository.
Mark a thread as doneactivity_mark_thread_as_doneDELETEMarks a thread as "done." Marking a thread as "done" is equivalent to marking a notification in your notification inbox on GitHub as done: https://github.com/notifications.
Mark a thread as readactivity_mark_thread_as_readPATCHMarks a thread as "read." Marking a thread as "read" is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications.
Mark notifications as readactivity_mark_notifications_as_readPUTMarks all notifications as "read" for the current user.
Mark repository notifications as readactivity_mark_repo_notifications_as_readPUTMarks all notifications in a repository as "read" for the current user.
Set a repository subscriptionactivity_set_repo_subscriptionPUTIf you would like to watch a repository, set subscribed to true.
Set a thread subscriptionactivity_set_thread_subscriptionPUTIf you are watching a repository, you receive notifications for all threads by default.
Star a repository for the authenticated useractivity_star_repo_for_authenticated_userPUTNote that you'll need to set Content-Length to zero when calling out to this endpoint.
Unstar a repository for the authenticated useractivity_unstar_repo_for_authenticated_userDELETEUnstar a repository that the authenticated user has previously starred.
Agent30
Add selected repository to an organization secretagents_add_selected_repo_to_org_secretPUTAdds a repository to an organization secret when the visibility for repository access is set to selected.
Add selected repository to an organization variableagents_add_selected_repo_to_org_variablePUTAdds a repository to an organization agent variable that is available to selected repositories.
Create a repository variableagents_create_repo_variablePOSTCreates a repository variable that you can reference in a GitHub Actions workflow.
Create an organization variableagents_create_org_variablePOSTCreates an organization agent variable that you can reference in a GitHub Actions workflow.
Create or update a repository secretagents_create_or_update_repo_secretPUTCreates or updates a repository secret with an encrypted value.
Create or update an organization secretagents_create_or_update_org_secretPUTCreates or updates an organization secret with an encrypted value.
Delete a repository secretagents_delete_repo_secretDELETEDeletes a secret in a repository using the secret name.
Delete a repository variableagents_delete_repo_variableDELETEDeletes a repository variable using the variable name.
Delete an organization secretagents_delete_org_secretDELETEDeletes a secret in an organization using the secret name.
Delete an organization variableagents_delete_org_variableDELETEDeletes an organization agent variable using the variable name.
Get a repository public keyagents_get_repo_public_keyGETGets your public key, which you need to encrypt secrets.
Get a repository secretagents_get_repo_secretGETGets a single repository secret without revealing its encrypted value.
Get a repository variableagents_get_repo_variableGETGets a specific variable in a repository.
Get an organization public keyagents_get_org_public_keyGETGets your public key, which you need to encrypt secrets.
Get an organization secretagents_get_org_secretGETGets a single organization secret without revealing its encrypted value.
Get an organization variableagents_get_org_variableGETGets a specific agent variable in an organization.
List organization secretsagents_list_org_secretsGETLists all secrets available in an organization without revealing their encrypted values.
List organization variablesagents_list_org_variablesGETLists all agent variables available in an organization.
List repository organization secretsagents_list_repo_organization_secretsGETLists all organization secrets shared with a repository without revealing their encrypted values.
List repository organization variablesagents_list_repo_organization_variablesGETLists all organization variables shared with a repository.
List repository secretsagents_list_repo_secretsGETLists all secrets available in a repository without revealing their encrypted values.
List repository variablesagents_list_repo_variablesGETLists all repository variables.
List selected repositories for an organization secretagents_list_selected_repos_for_org_secretGETLists all repositories that have been selected when the visibility for repository access to a secret is set to selected.
List selected repositories for an organization variableagents_list_selected_repos_for_org_variableGETLists all repositories that can access an organization agent variable that is available to selected repositories.
Remove selected repository from an organization secretagents_remove_selected_repo_from_org_secretDELETERemoves a repository from an organization secret when the visibility for repository access is set to selected.
Remove selected repository from an organization variableagents_remove_selected_repo_from_org_variableDELETERemoves a repository from an organization agent variable that is available to selected repositories.
Set selected repositories for an organization secretagents_set_selected_repos_for_org_secretPUTReplaces all repositories for an organization secret when the visibility for repository access is set to selected.
Set selected repositories for an organization variableagents_set_selected_repos_for_org_variablePUTReplaces all repositories for an organization agent variable that is available to selected repositories.
Update a repository variableagents_update_repo_variablePATCHUpdates a repository variable that you can reference in a GitHub Actions workflow.
Update an organization variableagents_update_org_variablePATCHUpdates an organization agent variable that you can reference in a GitHub Actions workflow.
Agent Task5
Get a task by IDagent_tasks_get_task_by_idGET[!NOTE] This endpoint is in public preview and is subject to change.
Get a task by repoagent_tasks_get_task_by_repo_and_idGET[!NOTE] This endpoint is in public preview and is subject to change.
List tasksagent_tasks_list_tasksGET[!NOTE] This endpoint is in public preview and is subject to change.
List tasks for repositoryagent_tasks_list_tasks_for_repoGET[!NOTE] This endpoint is in public preview and is subject to change.
Start a taskagent_tasks_create_task_in_repoPOST[!NOTE] This endpoint is in public preview and is subject to change.
App37
Add a repository to an app installationapps_add_repo_to_installation_for_authenticated_userPUTAdd a single repository to an installation.
Check a tokenapps_check_tokenPOSTOAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login...
Create a GitHub App from a manifestapps_create_from_manifestPOSTUse this endpoint to complete the handshake necessary when implementing the GitHub App Manifest flow.
Create a scoped access tokenapps_scope_tokenPOSTUse a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token.
Create an installation access token for an appapps_create_installation_access_tokenPOSTCreates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account.
Delete an app authorizationapps_delete_authorizationDELETEOAuth and GitHub application owners can revoke a grant for their application and a specific user.
Delete an app tokenapps_delete_tokenDELETEOAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization.
Delete an installation for the authenticated appapps_delete_installationDELETEUninstalls a GitHub App on a user, organization, or enterprise account.
Get a delivery for an app webhookapps_get_webhook_deliveryGETReturns a delivery for the webhook configured for a GitHub App.
Get a repository installation for the authenticated appapps_get_repo_installationGETEnables an authenticated GitHub App to find the repository's installation information.
Get a subscription plan for an accountapps_get_subscription_plan_for_accountGETShows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App.
Get a subscription plan for an account (stubbed)apps_get_subscription_plan_for_account_stubbedGETShows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App.
Get a user installation for the authenticated appapps_get_user_installationGETEnables an authenticated GitHub App to find the user’s installation information.
Get a webhook configuration for an appapps_get_webhook_config_for_appGETReturns the webhook configuration for a GitHub App.
Get an appapps_get_by_slugGET[!NOTE] The :app slug is just the URL-friendly name of your GitHub App.
Get an installation for the authenticated appapps_get_installationGETEnables an authenticated GitHub App to find an installation's information using the installation id.
Get an organization installation for the authenticated appapps_get_org_installationGETEnables an authenticated GitHub App to find the organization's installation information.
Get the authenticated appapps_get_authenticatedGETReturns the GitHub App associated with the authentication credentials used.
List accounts for a planapps_list_accounts_for_planGETReturns user and organization accounts associated with the specified plan, including free plans.
List accounts for a plan (stubbed)apps_list_accounts_for_plan_stubbedGETReturns repository and organization accounts associated with the specified plan, including free plans.
List app installations accessible to the user access tokenapps_list_installations_for_authenticated_userGETLists installations of your GitHub App that the authenticated user has explicit permission (:read, :write, or :admin) to access.
List deliveries for an app webhookapps_list_webhook_deliveriesGETReturns a list of webhook deliveries for the webhook configured for a GitHub App.
List installation requests for the authenticated appapps_list_installation_requests_for_authenticated_appGETLists all the pending installation requests for the authenticated GitHub App.
List installations for the authenticated appapps_list_installationsGETThe permissions the installation has are included under the permissions key.
List plansapps_list_plansGETLists all plans that are part of your GitHub Marketplace listing.
List plans (stubbed)apps_list_plans_stubbedGETLists all plans that are part of your GitHub Marketplace listing.
List repositories accessible to the app installationapps_list_repos_accessible_to_installationGETList repositories that an app installation can access.
List repositories accessible to the user access tokenapps_list_installation_repos_for_authenticated_userGETList repositories that the authenticated user has explicit permission (:read, :write, or :admin) to access for an installation.
List subscriptions for the authenticated userapps_list_subscriptions_for_authenticated_userGETLists the active subscriptions for the authenticated user.
List subscriptions for the authenticated user (stubbed)apps_list_subscriptions_for_authenticated_user_stubbedGETLists the active subscriptions for the authenticated user.
Redeliver a delivery for an app webhookapps_redeliver_webhook_deliveryPOSTRedeliver a delivery for the webhook configured for a GitHub App.
Remove a repository from an app installationapps_remove_repo_from_installation_for_authenticated_userDELETERemove a single repository from an installation.
Reset a tokenapps_reset_tokenPATCHOAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement.
Revoke an installation access tokenapps_revoke_installation_access_tokenDELETERevokes the installation token you're using to authenticate as an installation and access this endpoint.
Suspend an app installationapps_suspend_installationPUTSuspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources.
Unsuspend an app installationapps_unsuspend_installationDELETERemoves a GitHub App installation suspension.
Update a webhook configuration for an appapps_update_webhook_config_for_appPATCHUpdates the webhook configuration for a GitHub App.
Billing13
Create a budget for an organizationbilling_create_organization_budgetPOSTCreates a new budget for an organization.
Delete a budget for an organizationbilling_delete_budget_orgDELETEDeletes a budget by ID for an organization.
Get a budget by ID for an organizationbilling_get_budget_orgGETGets a budget by ID.
Get all budgets for an organizationbilling_get_all_budgets_orgGETGets all budgets for an organization.
Get billing AI credit usage report for a userbilling_get_github_billing_ai_credit_usage_report_userGETGets a report of AI credit usage for a user.
Get billing AI credit usage report for an organizationbilling_get_github_billing_ai_credit_usage_report_orgGETGets a report of AI credit usage for an organization.
Get billing premium request usage report for a userbilling_get_github_billing_premium_request_usage_report_userGETGets a report of premium request usage for a user.
Get billing premium request usage report for an organizationbilling_get_github_billing_premium_request_usage_report_orgGETGets a report of premium request usage for an organization.
Get billing usage report for a userbilling_get_github_billing_usage_report_userGETGets a report of the total usage for a user.
Get billing usage report for an organizationbilling_get_github_billing_usage_report_orgGETGets a report of the total usage for an organization.
Get billing usage summary for a userbilling_get_github_billing_usage_summary_report_userGET[!NOTE] This endpoint is in public preview and is subject to change.
Get billing usage summary for an organizationbilling_get_github_billing_usage_summary_report_orgGET[!NOTE] This endpoint is in public preview and is subject to change.
Update a budget for an organizationbilling_update_budget_orgPATCHUpdates an existing budget for an organization.
Campaign5
Create a campaign for an organizationcampaigns_create_campaignPOSTCreate a campaign for an organization.
Delete a campaign for an organizationcampaigns_delete_campaignDELETEDeletes a campaign in an organization.
Get a campaign for an organizationcampaigns_get_campaign_summaryGETGets a campaign for an organization.
List campaigns for an organizationcampaigns_list_org_campaignsGETLists campaigns in an organization.
Update a campaigncampaigns_update_campaignPATCHUpdates a campaign in an organization.
Check12
Create a check runchecks_createPOSTCreates a new check run for a specific commit in a repository.
Create a check suitechecks_create_suitePOSTCreates a check suite manually.
Get a check runchecks_getGETGets a single check run using its id.
Get a check suitechecks_get_suiteGETGets a single check suite using its id.
List check run annotationschecks_list_annotationsGETLists annotations for a check run using the annotation id.
List check runs for a Git referencechecks_list_for_refGETLists check runs for a commit ref.
List check runs in a check suitechecks_list_for_suiteGETLists check runs for a check suite using its id.
List check suites for a Git referencechecks_list_suites_for_refGETLists check suites for a commit ref.
Rerequest a check runchecks_rerequest_runPOSTTriggers GitHub to rerequest an existing check run, without pushing new code to a repository.
Rerequest a check suitechecks_rerequest_suitePOSTTriggers GitHub to rerequest an existing check suite, without pushing new code to a repository.
Update a check runchecks_updatePATCHUpdates a check run for a specific commit in a repository.
Update repository preferences for check suiteschecks_set_suites_preferencesPATCHChanges the default automatic flow when creating check suites.
Classroom6
Get a classroomclassroom_get_a_classroomGETGets a GitHub Classroom classroom for the current user.
Get an assignmentclassroom_get_an_assignmentGETGets a GitHub Classroom assignment.
Get assignment gradesclassroom_get_assignment_gradesGETGets grades for a GitHub Classroom assignment.
List accepted assignments for an assignmentclassroom_list_accepted_assignments_for_an_assignmentGETLists any assignment repositories that have been created by students accepting a GitHub Classroom assignment.
List assignments for a classroomclassroom_list_assignments_for_a_classroomGETLists GitHub Classroom assignments for a classroom.
List classroomsclassroom_list_classroomsGETLists GitHub Classroom classrooms for the current user.
Code Quality4
Get a code quality findingcode_quality_get_findingGETGets a single code quality finding.
Get a code quality setup configurationcode_quality_get_setupGETGets a code quality setup configuration.
List code quality findings for a repositorycode_quality_list_findings_for_repoGETLists code quality findings for a repository.
Update a code quality setup configurationcode_quality_update_setupPATCHUpdates a code quality setup configuration.
Code Scanning21
Commit an autofix for a code scanning alertcode_scanning_commit_autofixPOSTCommits an autofix for a code scanning alert from the repository's default branch.
Create a CodeQL variant analysiscode_scanning_create_variant_analysisPOSTCreates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories.
Create an autofix for a code scanning alertcode_scanning_create_autofixPOSTCreates an autofix for a code scanning alert from the repository's default branch.
Delete a code scanning analysis from a repositorycode_scanning_delete_analysisDELETEDeletes a specified code scanning analysis from a repository.
Delete a CodeQL databasecode_scanning_delete_codeql_databaseDELETEDeletes a CodeQL database for a language in a repository.
Get a code scanning alertcode_scanning_get_alertGETGets a single code scanning alert.
Get a code scanning analysis for a repositorycode_scanning_get_analysisGETGets a specified code scanning analysis for a repository.
Get a code scanning default setup configurationcode_scanning_get_default_setupGETGets a code scanning default setup configuration.
Get a CodeQL database for a repositorycode_scanning_get_codeql_databaseGETGets a CodeQL database for a language in a repository.
Get information about a SARIF uploadcode_scanning_get_sarifGETGets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis.
Get the analysis status of a repository in a CodeQL variantcode_scanning_get_variant_analysis_repo_taskGETGets the analysis status of a repository in a CodeQL variant analysis.
Get the status of an autofix for a code scanning alertcode_scanning_get_autofixGETGets the status and description of an autofix for a code scanning alert on the repository's default branch.
Get the summary of a CodeQL variant analysiscode_scanning_get_variant_analysisGETGets the summary of a CodeQL variant analysis.
List code scanning alerts for a repositorycode_scanning_list_alerts_for_repoGETLists code scanning alerts.
List code scanning alerts for an organizationcode_scanning_list_alerts_for_orgGETLists code scanning alerts for the default branch for all eligible repositories in an organization.
List code scanning analyses for a repositorycode_scanning_list_recent_analysesGETLists the details of all code scanning analyses for a repository, starting with the most recent.
List CodeQL databases for a repositorycode_scanning_list_codeql_databasesGETLists the CodeQL databases that are available in a repository.
List instances of a code scanning alertcode_scanning_list_alert_instancesGETLists all instances of the specified code scanning alert.
Update a code scanning alertcode_scanning_update_alertPATCHUpdates the status of a single code scanning alert.
Update a code scanning default setup configurationcode_scanning_update_default_setupPATCHUpdates a code scanning default setup configuration.
Upload an analysis as SARIF datacode_scanning_upload_sarifPOSTUploads SARIF data containing the results of a code scanning analysis to make the results available in a repository.
Code Security20
Attach a configuration to repositoriescode_security_attach_configurationPOSTAttach a code security configuration to a set of repositories.
Attach an enterprise configuration to repositoriescode_security_attach_enterprise_configurationPOSTAttaches an enterprise code security configuration to repositories.
Create a code security configurationcode_security_create_configurationPOSTCreates a code security configuration in an organization.
Create a code security configuration for an enterprisecode_security_create_configuration_for_enterprisePOSTCreates a code security configuration in an enterprise.
Delete a code security configurationcode_security_delete_configurationDELETEDeletes the desired code security configuration from an organization.
Delete a code security configuration for an enterprisecode_security_delete_configuration_for_enterpriseDELETEDeletes a code security configuration from an enterprise.
Detach configurations from repositoriescode_security_detach_configurationDELETEDetach code security configuration(s) from a set of repositories.
Get a code security configurationcode_security_get_configurationGETGets a code security configuration available in an organization.
Get code security configurations for an enterprisecode_security_get_configurations_for_enterpriseGETLists all code security configurations available in an enterprise.
Get code security configurations for an organizationcode_security_get_configurations_for_orgGETLists all code security configurations available in an organization.
Get default code security configurationscode_security_get_default_configurationsGETLists the default code security configurations for an organization.
Get default code security configurations for an enterprisecode_security_get_default_configurations_for_enterpriseGETLists the default code security configurations for an enterprise.
Get repositories associated with a code security configurationcode_security_get_repositories_for_configurationGETLists the repositories associated with a code security configuration in an organization.
Get repositories associated with an enterprise code securitycode_security_get_repositories_for_enterprise_configurationGETLists the repositories associated with an enterprise code security configuration in an organization.
Get the code security configuration associated with a repositorycode_security_get_configuration_for_repositoryGETGet the code security configuration that manages a repository's code security settings.
Retrieve a code security configuration of an enterprisecode_security_get_single_configuration_for_enterpriseGETGets a code security configuration available in an enterprise.
Set a code security configuration as a default for ancode_security_set_configuration_as_defaultPUTSets a code security configuration as a default to be applied to new repositories in your organization.
Set a code security configuration as a default for an enterprisecode_security_set_configuration_as_default_for_enterprisePUTSets a code security configuration as a default to be applied to new repositories in your enterprise.
Update a code security configurationcode_security_update_configurationPATCHUpdates a code security configuration in an organization.
Update a custom code security configuration for an enterprisecode_security_update_enterprise_configurationPATCHUpdates a code security configuration in an enterprise.
Codes Of Conduct2
Get a code of conductcodes_of_conduct_get_conduct_codeGETReturns information about the specified GitHub code of conduct.
Get all codes of conductcodes_of_conduct_get_all_codes_of_conductGETReturns array of all GitHub's codes of conduct.
Codespace48
Add a selected repository to a user secretcodespaces_add_repository_for_secret_for_authenticated_userPUTAdds a repository to the selected repositories for a user's development environment secret.
Add selected repository to an organization secretcodespaces_add_selected_repo_to_org_secretPUTAdds a repository to an organization development environment secret when the visibility for repository access is set to selected.
Add users to Codespaces access for an organizationcodespaces_set_codespaces_access_usersPOSTCodespaces for the specified users will be billed to the organization.
Check if permissions defined by a devcontainer have beencodespaces_check_permissions_for_devcontainerGETChecks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.
Create a codespace for the authenticated usercodespaces_create_for_authenticated_userPOSTCreates a new codespace, owned by the authenticated user.
Create a codespace from a pull requestcodespaces_create_with_pr_for_authenticated_userPOSTCreates a codespace owned by the authenticated user for the specified pull request.
Create a codespace in a repositorycodespaces_create_with_repo_for_authenticated_userPOSTCreates a codespace owned by the authenticated user in the specified repository.
Create a repository from an unpublished codespacecodespaces_publish_for_authenticated_userPOSTPublishes an unpublished codespace, creating a new repository and assigning it to the codespace.
Create or update a repository secretcodespaces_create_or_update_repo_secretPUTCreates or updates a repository development environment secret with an encrypted value.
Create or update a secret for the authenticated usercodespaces_create_or_update_secret_for_authenticated_userPUTCreates or updates a development environment secret for a user's codespace with an encrypted value.
Create or update an organization secretcodespaces_create_or_update_org_secretPUTCreates or updates an organization development environment secret with an encrypted value.
Delete a codespace for the authenticated usercodespaces_delete_for_authenticated_userDELETEDeletes a user's codespace.
Delete a codespace from the organizationcodespaces_delete_from_organizationDELETEDeletes a user's codespace.
Delete a repository secretcodespaces_delete_repo_secretDELETEDeletes a development environment secret in a repository using the secret name.
Delete a secret for the authenticated usercodespaces_delete_secret_for_authenticated_userDELETEDeletes a development environment secret from a user's codespaces using the secret name.
Delete an organization secretcodespaces_delete_org_secretDELETEDeletes an organization development environment secret using the secret name.
Export a codespace for the authenticated usercodespaces_export_for_authenticated_userPOSTTriggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored.
Get a codespace for the authenticated usercodespaces_get_for_authenticated_userGETGets information about a user's codespace.
Get a repository public keycodespaces_get_repo_public_keyGETGets your public key, which you need to encrypt secrets.
Get a repository secretcodespaces_get_repo_secretGETGets a single repository development environment secret without revealing its encrypted value.
Get a secret for the authenticated usercodespaces_get_secret_for_authenticated_userGETGets a development environment secret available to a user's codespaces without revealing its encrypted value.
Get an organization public keycodespaces_get_org_public_keyGETGets a public key for an organization, which is required in order to encrypt secrets.
Get an organization secretcodespaces_get_org_secretGETGets an organization development environment secret without revealing its encrypted value.
Get default attributes for a codespacecodespaces_pre_flight_with_repo_for_authenticated_userGETGets the default attributes for codespaces created by the user with the repository.
Get details about a codespace exportcodespaces_get_export_details_for_authenticated_userGETGets information about an export of a codespace.
Get public key for the authenticated usercodespaces_get_public_key_for_authenticated_userGETGets your public key, which you need to encrypt secrets.
List available machine types for a repositorycodespaces_repo_machines_for_authenticated_userGETList the machine types available for a given repository based on its configuration.
List codespaces for a user in organizationcodespaces_get_codespaces_for_user_in_orgGETLists the codespaces that a member of an organization has for repositories in that organization.
List codespaces for the authenticated usercodespaces_list_for_authenticated_userGETLists the authenticated user's codespaces.
List codespaces for the organizationcodespaces_list_in_organizationGETLists the codespaces associated to a specified organization.
List codespaces in a repository for the authenticated usercodespaces_list_in_repository_for_authenticated_userGETLists the codespaces associated to a specified repository and the authenticated user.
List devcontainer configurations in a repository for thecodespaces_list_devcontainers_in_repository_for_authenticated_userGETLists the devcontainer.json files associated with a specified repository and the authenticated user.
List machine types for a codespacecodespaces_codespace_machines_for_authenticated_userGETList the machine types a codespace can transition to use.
List organization secretscodespaces_list_org_secretsGETLists all Codespaces development environment secrets available at the organization-level without revealing their encrypted values.
List repository secretscodespaces_list_repo_secretsGETLists all development environment secrets available in a repository without revealing their encrypted values.
List secrets for the authenticated usercodespaces_list_secrets_for_authenticated_userGETLists all development environment secrets available for a user's codespaces without revealing their encrypted values.
List selected repositories for a user secretcodespaces_list_repositories_for_secret_for_authenticated_userGETList the repositories that have been granted the ability to use a user's development environment secret.
List selected repositories for an organization secretcodespaces_list_selected_repos_for_org_secretGETLists all repositories that have been selected when the visibility for repository access to a secret is set to selected.
Manage access control for organization codespacescodespaces_set_codespaces_accessPUTSets which users can access codespaces in an organization.
Remove a selected repository from a user secretcodespaces_remove_repository_for_secret_for_authenticated_userDELETERemoves a repository from the selected repositories for a user's development environment secret.
Remove selected repository from an organization secretcodespaces_remove_selected_repo_from_org_secretDELETERemoves a repository from an organization development environment secret when the visibility for repository access is set to selected.
Remove users from Codespaces access for an organizationcodespaces_delete_codespaces_access_usersDELETECodespaces for the specified users will no longer be billed to the organization.
Set selected repositories for a user secretcodespaces_set_repositories_for_secret_for_authenticated_userPUTSelect the repositories that will use a user's development environment secret.
Set selected repositories for an organization secretcodespaces_set_selected_repos_for_org_secretPUTReplaces all repositories for an organization development environment secret when the visibility for repository access is set to selected.
Start a codespace for the authenticated usercodespaces_start_for_authenticated_userPOSTStarts a user's codespace.
Stop a codespace for an organization usercodespaces_stop_in_organizationPOSTStops a user's codespace.
Stop a codespace for the authenticated usercodespaces_stop_for_authenticated_userPOSTStops a user's codespace.
Update a codespace for the authenticated usercodespaces_update_for_authenticated_userPATCHUpdates a codespace owned by the authenticated user.
Copilot31
Add organizations to the enterprise coding agent policycopilot_add_organizations_to_enterprise_coding_agent_policyPOSTEnables Copilot cloud agent for the specified organizations within the enterprise.
Add teams to the Copilot subscription for an organizationcopilot_add_copilot_seats_for_teamsPOST[!NOTE] This endpoint is in public preview and is subject to change.
Add users to the Copilot subscription for an organizationcopilot_add_copilot_seats_for_usersPOST[!NOTE] This endpoint is in public preview and is subject to change.
Disable a repository for Copilot cloud agent in an organizationcopilot_disable_copilot_coding_agent_for_repository_in_organizationDELETE[!NOTE] This endpoint is in public preview and is subject to change.
Enable a repository for Copilot cloud agent in an organizationcopilot_enable_copilot_coding_agent_for_repository_in_organizationPUT[!NOTE] This endpoint is in public preview and is subject to change.
Get Copilot cloud agent configuration for a repositorycopilot_get_copilot_cloud_agent_configurationGET[!NOTE] This endpoint is in public preview and is subject to change.
Get Copilot cloud agent permissions for an organizationcopilot_get_copilot_coding_agent_permissions_organizationGET[!NOTE] This endpoint is in public preview and is subject to change.
Get Copilot content exclusion rules for an organizationcopilot_copilot_content_exclusion_for_organizationGET[!NOTE] This endpoint is in public preview and is subject to change.
Get Copilot enterprise repository report for a specific daycopilot_copilot_enterprise_repos_one_day_reportGETUse this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day.
Get Copilot enterprise usage metricscopilot_copilot_enterprise_usage_metricsGETUse this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report.
Get Copilot enterprise usage metrics for a specific daycopilot_copilot_enterprise_one_day_usage_metricsGETUse this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day.
Get Copilot enterprise user-teams report for a specific daycopilot_copilot_enterprise_user_teams_one_day_reportGETUse this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day.
Get Copilot organization repository report for a specific daycopilot_copilot_organization_repos_one_day_reportGETUse this endpoint to retrieve download links for the Copilot organization repository report for a specific day.
Get Copilot organization usage metricscopilot_copilot_organization_usage_metricsGETUse this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report.
Get Copilot organization usage metrics for a specific daycopilot_copilot_organization_one_day_usage_metricsGETUse this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day.
Get Copilot organization user-teams report for a specific daycopilot_copilot_organization_user_teams_one_day_reportGETUse this endpoint to retrieve download links for the Copilot organization user-teams report for a specific day.
Get Copilot organization users usage metricscopilot_copilot_organization_users_usage_metricsGETUse this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report.
Get Copilot organization users usage metrics for a specific daycopilot_copilot_organization_users_one_day_usage_metricsGETUse this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day.
Get Copilot seat assignment details for a usercopilot_get_copilot_seat_details_for_userGET[!NOTE] This endpoint is in public preview and is subject to change.
Get Copilot seat information and settings for an organizationcopilot_get_copilot_organization_detailsGET[!NOTE] This endpoint is in public preview and is subject to change.
Get Copilot users usage metricscopilot_copilot_users_usage_metricsGETUse this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report.
Get Copilot users usage metrics for a specific daycopilot_copilot_users_one_day_usage_metricsGETUse this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day.
List all Copilot seat assignments for an organizationcopilot_list_copilot_seatsGET[!NOTE] This endpoint is in public preview and is subject to change.
List repositories enabled for Copilot cloud agent in ancopilot_list_copilot_coding_agent_selected_repositories_for_organizationGET[!NOTE] This endpoint is in public preview and is subject to change.
Remove organizations from the enterprise coding agent policycopilot_remove_organizations_from_enterprise_coding_agent_policyDELETEDisables Copilot cloud agent for the specified organizations within the enterprise.
Remove teams from the Copilot subscription for an organizationcopilot_cancel_copilot_seat_assignment_for_teamsDELETE[!NOTE] This endpoint is in public preview and is subject to change.
Remove users from the Copilot subscription for an organizationcopilot_cancel_copilot_seat_assignment_for_usersDELETE[!NOTE] This endpoint is in public preview and is subject to change.
Set Copilot cloud agent permissions for an organizationcopilot_set_copilot_coding_agent_permissions_organizationPUT[!NOTE] This endpoint is in public preview and is subject to change.
Set Copilot content exclusion rules for an organizationcopilot_set_copilot_content_exclusion_for_organizationPUT[!NOTE] This endpoint is in public preview and is subject to change.
Set selected repositories for Copilot cloud agent in ancopilot_set_copilot_coding_agent_selected_repositories_for_organizationPUT[!NOTE] This endpoint is in public preview and is subject to change.
Set the coding agent policy for an enterprisecopilot_set_enterprise_coding_agent_policyPUTSets the policy for Copilot cloud agent usage across an enterprise.
Copilot Space28
Add a collaborator to a Copilot Space for a usercopilot_spaces_add_collaborator_for_userPOSTAdds a collaborator to a specific Copilot Space owned by a user.
Add a collaborator to an organization Copilot Spacecopilot_spaces_add_collaborator_for_orgPOSTAdds a collaborator (user or team) to a specific Copilot Space owned by an organization.
Create a Copilot Space for a usercopilot_spaces_create_for_userPOSTCreates a new Copilot Space owned by a user.
Create a resource for a Copilot Space for a usercopilot_spaces_create_resource_for_userPOSTCreates a new resource in a specific Copilot Space owned by a user.
Create a resource for an organization Copilot Spacecopilot_spaces_create_resource_for_orgPOSTCreates a new resource in a specific Copilot Space owned by an organization.
Create an organization Copilot Spacecopilot_spaces_create_for_orgPOSTCreates a new Copilot Space owned by an organization.
Delete a Copilot Space for a usercopilot_spaces_delete_for_userDELETEDeletes a Copilot Space owned by a user.
Delete a resource from a Copilot Space for a usercopilot_spaces_delete_resource_for_userDELETEDeletes a resource from a specific Copilot Space owned by a user.
Delete a resource from an organization Copilot Spacecopilot_spaces_delete_resource_for_orgDELETEDeletes a resource from a specific Copilot Space owned by an organization.
Delete an organization Copilot Spacecopilot_spaces_delete_for_orgDELETEDeletes a Copilot Space owned by an organization.
Get a Copilot Space for a usercopilot_spaces_get_for_userGETGets details about a specific Copilot Space owned by a user.
Get a resource for a Copilot Space for a usercopilot_spaces_get_resource_for_userGETGets a specific resource attached to a Copilot Space owned by a user.
Get a resource for an organization Copilot Spacecopilot_spaces_get_resource_for_orgGETGets a specific resource attached to a Copilot Space owned by an organization.
Get an organization Copilot Spacecopilot_spaces_get_for_orgGETGets details about a specific Copilot Space owned by an organization.
List collaborators for a Copilot Space for a usercopilot_spaces_list_collaborators_for_userGETLists all collaborators for a specific Copilot Space owned by a user.
List collaborators for an organization Copilot Spacecopilot_spaces_list_collaborators_for_orgGETLists all collaborators for a specific Copilot Space owned by an organization.
List Copilot Spaces for a usercopilot_spaces_list_for_userGETLists Copilot Spaces owned by a user.
List organization Copilot Spacescopilot_spaces_list_for_orgGETLists Copilot Spaces owned by an organization.
List resources for a Copilot Space for a usercopilot_spaces_list_resources_for_userGETLists all resources attached to a specific Copilot Space owned by a user.
List resources for an organization Copilot Spacecopilot_spaces_list_resources_for_orgGETLists all resources attached to a specific Copilot Space owned by an organization.
Remove a collaborator from a Copilot Space for a usercopilot_spaces_remove_collaborator_for_userDELETERemoves a collaborator from a specific Copilot Space owned by a user.
Remove a collaborator from an organization Copilot Spacecopilot_spaces_remove_collaborator_for_orgDELETERemoves a collaborator from a specific Copilot Space owned by an organization.
Set a collaborator role for a Copilot Space for a usercopilot_spaces_update_collaborator_for_userPUTUpdates the role of a collaborator for a specific Copilot Space owned by a user.
Set a collaborator role for an organization Copilot Spacecopilot_spaces_update_collaborator_for_orgPUTUpdates the role of a collaborator for a specific Copilot Space owned by an organization.
Set a Copilot Space for a usercopilot_spaces_update_for_userPUTUpdates a Copilot Space owned by a user.
Set a resource for a Copilot Space for a usercopilot_spaces_update_resource_for_userPUTUpdates the metadata of a resource in a specific Copilot Space owned by a user.
Set a resource for an organization Copilot Spacecopilot_spaces_update_resource_for_orgPUTUpdates the metadata of a resource in a specific Copilot Space owned by an organization.
Set an organization Copilot Spacecopilot_spaces_update_for_orgPUTUpdates a Copilot Space owned by an organization.
Credential1
Revoke a list of credentialscredentials_revokePOSTSubmit a list of credentials to be revoked.
Dependabot25
Add selected repository to an organization secretdependabot_add_selected_repo_to_org_secretPUTAdds a repository to an organization secret when the visibility for repository access is set to selected.
Create or update a repository secretdependabot_create_or_update_repo_secretPUTCreates or updates a repository secret with an encrypted value.
Create or update an organization secretdependabot_create_or_update_org_secretPUTCreates or updates an organization secret with an encrypted value.
Delete a repository secretdependabot_delete_repo_secretDELETEDeletes a secret in a repository using the secret name.
Delete an organization secretdependabot_delete_org_secretDELETEDeletes a secret in an organization using the secret name.
Get a Dependabot alertdependabot_get_alertGETOAuth app tokens and personal access tokens (classic) need the security events scope to use this endpoint.
Get a repository public keydependabot_get_repo_public_keyGETGets your public key, which you need to encrypt secrets.
Get a repository secretdependabot_get_repo_secretGETGets a single repository secret without revealing its encrypted value.
Get an organization public keydependabot_get_org_public_keyGETGets your public key, which you need to encrypt secrets.
Get an organization secretdependabot_get_org_secretGETGets a single organization secret without revealing its encrypted value.
List Dependabot alerts for a repositorydependabot_list_alerts_for_repoGETOAuth app tokens and personal access tokens (classic) need the security events scope to use this endpoint.
List Dependabot alerts for an enterprisedependabot_list_alerts_for_enterpriseGETLists Dependabot alerts for repositories that are owned by the specified enterprise.
List Dependabot alerts for an organizationdependabot_list_alerts_for_orgGETLists Dependabot alerts for an organization.
List organization secretsdependabot_list_org_secretsGETLists all secrets available in an organization without revealing their encrypted values.
List repository secretsdependabot_list_repo_secretsGETLists all secrets available in a repository without revealing their encrypted values.
List selected repositories for an organization secretdependabot_list_selected_repos_for_org_secretGETLists all repositories that have been selected when the visibility for repository access to a secret is set to selected.
Lists the repositories Dependabot can access in an enterprisedependabot_repository_access_for_enterpriseGETLists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.
Lists the repositories Dependabot can access in an organizationdependabot_repository_access_for_orgGETLists repositories that organization admins have allowed Dependabot to access when updating dependencies.
Remove selected repository from an organization secretdependabot_remove_selected_repo_from_org_secretDELETERemoves a repository from an organization secret when the visibility for repository access is set to selected.
Set selected repositories for an organization secretdependabot_set_selected_repos_for_org_secretPUTReplaces all repositories for an organization secret when the visibility for repository access is set to selected.
Set the default repository access level for Dependabotdependabot_set_repository_access_default_levelPUTSets the default level of repository access Dependabot will have while performing an update.
Set the default repository access level for Dependabot in andependabot_set_repository_access_default_level_for_enterprisePUTSets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise.
Update a Dependabot alertdependabot_update_alertPATCHThe authenticated user must have access to security alerts for the repository to use this endpoint.
Updates Dependabot's repository access list for an enterprisedependabot_update_repository_access_for_enterprisePATCHUpdates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.
Updates Dependabot's repository access list for an organizationdependabot_update_repository_access_for_orgPATCHUpdates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.
Dependency Graph5
Create a snapshot of dependencies for a repositorydependency_graph_create_repository_snapshotPOSTCreate a new snapshot of a repository's dependencies.
Export a software bill of materials (SBOM) for a repository.dependency_graph_export_sbomGETExports the software bill of materials (SBOM) for a repository in SPDX JSON format.
Fetch a software bill of materials (SBOM) for a repository.dependency_graph_fetch_sbom_reportGETFetches a previously generated software bill of materials (SBOM) for a repository.
Get a diff of the dependencies between commitsdependency_graph_diff_rangeGETGets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits.
Request generation of a software bill of materials (SBOM) for adependency_graph_generate_sbom_reportGETTriggers a job to generate a software bill of materials (SBOM) for a repository in SPDX JSON format.
Emoji1
Get emojisemojis_getGETLists all the emojis available to use on GitHub.
Enterprise Team5
Create an enterprise teamenterprise_teams_createPOSTTo create an enterprise team, the authenticated user must be an owner of the enterprise.
Delete an enterprise teamenterprise_teams_deleteDELETETo delete an enterprise team, the authenticated user must be an enterprise owner.
Get an enterprise teamenterprise_teams_getGETGets a team using the team's slug.
List enterprise teamsenterprise_teams_listGETList all teams in the enterprise for the authenticated user
Update an enterprise teamenterprise_teams_updatePATCHTo edit a team, the authenticated user must be an enterprise owner.
Enterprise Team Membership6
Add team memberenterprise_team_memberships_addPUTAdd a team member to an enterprise team.
Bulk add team membersenterprise_team_memberships_bulk_addPOSTAdd multiple team members to an enterprise team.
Bulk remove team membersenterprise_team_memberships_bulk_removePOSTRemove multiple team members from an enterprise team.
Get enterprise team membershipenterprise_team_memberships_getGETReturns whether the user is a member of the enterprise team.
List members in an enterprise teamenterprise_team_memberships_listGETLists all team members in an enterprise team.
Remove team membershipenterprise_team_memberships_removeDELETERemove membership of a specific user from a particular team in an enterprise.
Enterprise Team Organization6
Add an organization assignmententerprise_team_organizations_addPUTAssign an enterprise team to an organization.
Add organization assignmentsenterprise_team_organizations_bulk_addPOSTAssign an enterprise team to multiple organizations.
Delete an organization assignmententerprise_team_organizations_deleteDELETEUnassign an enterprise team from an organization.
Get organization assignmententerprise_team_organizations_get_assignmentGETCheck if an enterprise team is assigned to an organization
Get organization assignmentsenterprise_team_organizations_get_assignmentsGETGet all organizations assigned to an enterprise team
Remove organization assignmentsenterprise_team_organizations_bulk_removePOSTUnassign an enterprise team from multiple organizations.
Gist20
Check if a gist is starredgists_check_is_starredGET
Create a gistgists_createPOSTAllows you to add a new gist with one or more files.
Create a gist commentgists_create_commentPOSTCreates a comment on a gist.
Delete a gistgists_deleteDELETE
Delete a gist commentgists_delete_commentDELETE
Fork a gistgists_forkPOST
Get a gistgists_getGETGets a specified gist.
Get a gist commentgists_get_commentGETGets a comment on a gist.
Get a gist revisiongists_get_revisionGETGets a specified gist revision.
List gist commentsgists_list_commentsGETLists the comments on a gist.
List gist commitsgists_list_commitsGET
List gist forksgists_list_forksGET
List gists for a usergists_list_for_userGETLists public gists for the specified user:
List gists for the authenticated usergists_listGETLists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:
List public gistsgists_list_publicGETList public gists sorted by most recently updated to least recently updated.
List starred gistsgists_list_starredGETList the authenticated user's starred gists:
Star a gistgists_starPUTNote that you'll need to set Content-Length to zero when calling out to this endpoint.
Unstar a gistgists_unstarDELETE
Update a gistgists_updatePATCHAllows you to update a gist's description and to update, delete, or rename gist files.
Update a gist commentgists_update_commentPATCHUpdates a comment on a gist.
Git13
Create a blobgit_create_blobPOST
Create a commitgit_create_commitPOSTCreates a new Git commit object.
Create a referencegit_create_refPOSTCreates a reference for your repository.
Create a tag objectgit_create_tagPOSTNote that creating a tag object does not create the reference that makes a tag in Git.
Create a treegit_create_treePOSTThe tree creation API accepts nested entries.
Delete a referencegit_delete_refDELETEDeletes the provided reference.
Get a blobgit_get_blobGETThe content in the response will always be Base64 encoded.
Get a commit objectgit_get_commitGETGets a Git commit object.
Get a referencegit_get_refGETReturns a single reference from your Git database.
Get a taggit_get_tagGETSignature verification object
Get a treegit_get_treeGETReturns a single tree using the SHA1 value or ref name for that tree.
List matching referencesgit_list_matching_refsGETReturns an array of references from your Git database that match the supplied name.
Update a referencegit_update_refPATCHUpdates the provided reference to point to a new SHA.
Gitignore2
Get a gitignore templategitignore_get_templateGETGet the content of a gitignore template.
Get all gitignore templatesgitignore_get_all_templatesGETList all templates available to pass as an option when creating a repository.
Hosted Compute6
Create a hosted compute network configuration for anhosted_compute_create_network_configuration_for_orgPOSTCreates a hosted compute network configuration for an organization.
Delete a hosted compute network configuration from anhosted_compute_delete_network_configuration_from_orgDELETEDeletes a hosted compute network configuration from an organization.
Get a hosted compute network configuration for an organizationhosted_compute_get_network_configuration_for_orgGETGets a hosted compute network configuration configured in an organization.
Get a hosted compute network settings resource for anhosted_compute_get_network_settings_for_orgGETGets a hosted compute network settings resource configured for an organization.
List hosted compute network configurations for an organizationhosted_compute_list_network_configurations_for_orgGETLists all hosted compute network configurations configured in an organization.
Update a hosted compute network configuration for anhosted_compute_update_network_configuration_for_orgPATCHUpdates a hosted compute network configuration for an organization.
Interaction16
Add users to the pull request creation cap bypass list for ainteractions_set_pull_request_bypass_list_for_repoPUTAdds users to the pull request creation cap bypass list for a repository.
Get interaction restrictions for a repositoryinteractions_get_restrictions_for_repoGETShows which type of GitHub user can interact with this repository and when the restriction expires.
Get interaction restrictions for an organizationinteractions_get_restrictions_for_orgGETShows which type of GitHub user can interact with this organization and when the restriction expires.
Get interaction restrictions for your public repositoriesinteractions_get_restrictions_for_authenticated_userGETShows which type of GitHub user can interact with your public repositories and when the restriction expires.
Get pull request creation cap bypass list for a repositoryinteractions_get_pull_request_bypass_list_for_repoGETLists the users that are on the pull request creation cap bypass list for a repository.
Get pull request creation cap for a repositoryinteractions_get_pull_request_creation_cap_for_repoGETGets the pull request creation cap configuration for a repository.
Get pull request creation cap for an orginteractions_get_pull_request_creation_cap_for_orgGETGets the pull request creation cap configuration for an organization.
Remove interaction restrictions for a repositoryinteractions_remove_restrictions_for_repoDELETERemoves all interaction restrictions from the given repository.
Remove interaction restrictions for an organizationinteractions_remove_restrictions_for_orgDELETERemoves all interaction restrictions from public repositories in the given organization.
Remove interaction restrictions from your public repositoriesinteractions_remove_restrictions_for_authenticated_userDELETERemoves any interaction restrictions from your public repositories.
Remove users from the pull request creation cap bypass list forinteractions_remove_pull_request_bypass_list_for_repoDELETERemoves users from the pull request creation cap bypass list for a repository.
Set interaction restrictions for a repositoryinteractions_set_restrictions_for_repoPUTTemporarily restricts interactions to a certain type of GitHub user within the given repository.
Set interaction restrictions for an organizationinteractions_set_restrictions_for_orgPUTTemporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization.
Set interaction restrictions for your public repositoriesinteractions_set_restrictions_for_authenticated_userPUTTemporarily restricts which type of GitHub user can interact with your public repositories.
Update pull request creation cap for a repositoryinteractions_update_pull_request_creation_cap_for_repoPATCHUpdates the pull request creation cap for a repository.
Update pull request creation cap for an orginteractions_update_pull_request_creation_cap_for_orgPATCHUpdates the pull request creation cap for an organization.
Issue58
Add a dependency an issue is blocked byissues_add_blocked_by_dependencyPOSTYou can use the REST API to add a 'blocked by' relationship to an issue.
Add assignees to an issueissues_add_assigneesPOSTAdds up to 10 assignees to an issue.
Add issue field values to an issueissues_add_issue_field_valuesPOSTAdd custom field values to an issue.
Add labels to an issueissues_add_labelsPOSTAdds labels to an issue.
Add sub-issueissues_add_sub_issuePOSTYou can use the REST API to add sub-issues to issues.
Approve an issue suggestionissues_approve_suggestionPOSTApproves a pending suggestion on an issue.
Check if a user can be assignedissues_check_user_can_be_assignedGETChecks if a user has permission to be assigned to an issue in this repository.
Check if a user can be assigned to a issueissues_check_user_can_be_assigned_to_issueGETChecks if a user has permission to be assigned to a specific issue.
Create a labelissues_create_labelPOSTCreates a label for the specified repository with the given name and color.
Create a milestoneissues_create_milestonePOSTCreates a milestone.
Create an issueissues_createPOSTAny user with pull access to a repository can create an issue.
Create an issue commentissues_create_commentPOSTYou can use the REST API to create comments on issues and pull requests.
Delete a labelissues_delete_labelDELETEDeletes a label using the given label name.
Delete a milestoneissues_delete_milestoneDELETEDeletes a milestone using the given milestone number.
Delete an issue commentissues_delete_commentDELETEYou can use the REST API to delete comments on issues and pull requests.
Delete an issue field value from an issueissues_delete_issue_field_valueDELETERemove a specific custom field value from an issue.
Dismiss an issue suggestionissues_dismiss_suggestionPOSTDismisses a pending suggestion on an issue.
Get a labelissues_get_labelGETGets a label using the given name.
Get a milestoneissues_get_milestoneGETGets a milestone using the given milestone number.
Get an issueissues_getGETThe API returns a 301 Moved Permanently status if the issue was transferred to another repository.
Get an issue commentissues_get_commentGETYou can use the REST API to get comments on issues and pull requests.
Get an issue eventissues_get_eventGETGets a single event by the event id.
Get parent issueissues_get_parentGETYou can use the REST API to get the parent issue of a sub-issue.
List assigneesissues_list_assigneesGETLists the available assignees for issues in a repository.
List dependencies an issue is blocked byissues_list_dependencies_blocked_byGETYou can use the REST API to list the dependencies an issue is blocked by.
List dependencies an issue is blockingissues_list_dependencies_blockingGETYou can use the REST API to list the dependencies an issue is blocking.
List issue commentsissues_list_commentsGETYou can use the REST API to list comments on issues and pull requests.
List issue comments for a repositoryissues_list_comments_for_repoGETYou can use the REST API to list comments on issues and pull requests for a repository.
List issue eventsissues_list_eventsGETLists all events for an issue.
List issue events for a repositoryissues_list_events_for_repoGETLists events for a repository.
List issue field values for an issueissues_list_issue_field_values_for_issueGETLists all issue field values for an issue.
List issue suggestionsissues_list_suggestionsGETLists the suggestions on an issue.
List issues assigned to the authenticated userissues_listGETList issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories.
List labels for a repositoryissues_list_labels_for_repoGETLists all labels for a repository.
List labels for an issueissues_list_labels_on_issueGETLists all labels for an issue.
List labels for issues in a milestoneissues_list_labels_for_milestoneGETLists labels for issues in a milestone.
List milestonesissues_list_milestonesGETLists milestones for a repository.
List organization issues assigned to the authenticated userissues_list_for_orgGETList issues in an organization assigned to the authenticated user.
List repository issuesissues_list_for_repoGETList issues in a repository.
List sub-issuesissues_list_sub_issuesGETYou can use the REST API to list the sub-issues on an issue.
List timeline events for an issueissues_list_events_for_timelineGETList all timeline events for an issue.
List user account issues assigned to the authenticated userissues_list_for_authenticated_userGETList issues across owned and member repositories assigned to the authenticated user.
Lock an issueissues_lockPUTUsers with push access can lock an issue or pull request's conversation.
Pin an issue commentissues_pin_commentPUTYou can use the REST API to pin comments on issues.
Remove a label from an issueissues_remove_labelDELETERemoves the specified label from the issue, and returns the remaining labels on the issue.
Remove all labels from an issueissues_remove_all_labelsDELETERemoves all labels from an issue.
Remove assignees from an issueissues_remove_assigneesDELETERemoves one or more assignees from an issue.
Remove dependency an issue is blocked byissues_remove_dependency_blocked_byDELETEYou can use the REST API to remove a dependency that an issue is blocked by.
Remove sub-issueissues_remove_sub_issueDELETEYou can use the REST API to remove a sub-issue from an issue.
Reprioritize sub-issueissues_reprioritize_sub_issuePATCHYou can use the REST API to reprioritize a sub-issue to a different position in the parent list.
Set issue field values for an issueissues_set_issue_field_valuesPUTSet custom field values for an issue, replacing any existing values.
Set labels for an issueissues_set_labelsPUTRemoves any previous labels and sets the new labels for an issue.
Unlock an issueissues_unlockDELETEUsers with push access can unlock an issue's conversation.
Unpin an issue commentissues_unpin_commentDELETEYou can use the REST API to unpin comments on issues.
Update a labelissues_update_labelPATCHUpdates a label using the given label name.
Update a milestoneissues_update_milestonePATCH
Update an issueissues_updatePATCHIssue owners and users with push access or Triage role can edit an issue.
Update an issue commentissues_update_commentPATCHYou can use the REST API to update comments on issues and pull requests.
License3
Get a licenselicenses_getGETGets information about a specific license.
Get all commonly used licenseslicenses_get_all_commonly_usedGETLists the most commonly used licenses on GitHub.
Get the license for a repositorylicenses_get_for_repoGETThis method returns the contents of the repository's license file, if one is detected.
Markdown2
Render a Markdown documentmarkdown_renderPOSTDepending on what is rendered in the Markdown, you may need to provide additional token scopes for labels, such as issues:read or pull requests:read.
Render a Markdown document in raw modemarkdown_render_rawPOSTYou must send Markdown as plain text (using a Content-Type header of text/plain or text/x-markdown) to this endpoint, rather than using JSON format.
Meta5
Get all API versionsmeta_get_all_versionsGETGet all supported GitHub API versions.
Get GitHub meta informationmeta_getGETReturns meta information about GitHub, including a list of GitHub's IP addresses.
Get Octocatmeta_get_octocatGETGet the octocat as ASCII art
Get the Zen of GitHubmeta_get_zenGETGet a random sentence from the Zen of GitHub
GitHub API Rootmeta_rootGETGet Hypermedia links to resources accessible in GitHub's REST API
Migration22
Cancel an importmigrations_cancel_importDELETEStop an import for a repository.
Delete a user migration archivemigrations_delete_archive_for_authenticated_userDELETEDeletes a previous migration archive.
Delete an organization migration archivemigrations_delete_archive_for_orgDELETEDeletes a previous migration archive.
Download a user migration archivemigrations_get_archive_for_authenticated_userGETFetches the URL to download the migration archive as a tar.gz file.
Download an organization migration archivemigrations_download_archive_for_orgGETFetches the URL to a migration archive.
Get a user migration statusmigrations_get_status_for_authenticated_userGETFetches a single user migration.
Get an import statusmigrations_get_import_statusGETView the progress of an import.
Get an organization migration statusmigrations_get_status_for_orgGETFetches the status of a migration.
Get commit authorsmigrations_get_commit_authorsGETEach type of source control system represents authors in a different way.
Get large filesmigrations_get_large_filesGETList files larger than 100MB found during the import
List organization migrationsmigrations_list_for_orgGETLists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).
List repositories for a user migrationmigrations_list_repos_for_authenticated_userGETLists all the repositories for this user migration.
List repositories in an organization migrationmigrations_list_repos_for_orgGETList all the repositories for this organization migration.
List user migrationsmigrations_list_for_authenticated_userGETLists all migrations a user has started.
Map a commit authormigrations_map_commit_authorPATCHUpdate an author's identity for the import.
Start a user migrationmigrations_start_for_authenticated_userPOSTInitiates the generation of a user migration archive.
Start an importmigrations_start_importPUTStart a source import to a GitHub repository using GitHub Importer.
Start an organization migrationmigrations_start_for_orgPOSTInitiates the generation of a migration archive.
Unlock a user repositorymigrations_unlock_repo_for_authenticated_userDELETEUnlocks a repository.
Unlock an organization repositorymigrations_unlock_repo_for_orgDELETEUnlocks a repository that was locked for migration.
Update an importmigrations_update_importPATCHAn import can be updated with credentials or a project choice by passing in the appropriate parameters in this API request.
Update Git LFS preferencemigrations_set_lfs_preferencePATCHYou can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB.
Oidc8
Create an OIDC custom property inclusion for an enterpriseoidc_create_oidc_custom_property_inclusion_for_enterprisePOSTAdds a repository custom property to be included in the OIDC token for repository actions in an enterprise.
Create an OIDC custom property inclusion for an organizationoidc_create_oidc_custom_property_inclusion_for_orgPOSTAdds a repository custom property to be included in the OIDC token for repository actions in an organization.
Delete an OIDC custom property inclusion for an enterpriseoidc_delete_oidc_custom_property_inclusion_for_enterpriseDELETERemoves a repository custom property from being included in the OIDC token for repository actions in an enterprise.
Delete an OIDC custom property inclusion for an organizationoidc_delete_oidc_custom_property_inclusion_for_orgDELETERemoves a repository custom property from being included in the OIDC token for repository actions in an organization.
Get the customization template for an OIDC subject claim for anoidc_get_oidc_custom_sub_template_for_orgGETGets the customization template for an OpenID Connect (OIDC) subject claim.
List OIDC custom property inclusions for an enterpriseoidc_list_oidc_custom_property_inclusions_for_enterpriseGETLists the repository custom properties that are included in the OIDC token for repository actions in an enterprise.
List OIDC custom property inclusions for an organizationoidc_list_oidc_custom_property_inclusions_for_orgGETLists the repository custom properties that are included in the OIDC token for repository actions in an organization.
Set the customization template for an OIDC subject claim for anoidc_update_oidc_custom_sub_template_for_orgPUTCreates or updates the customization template for an OpenID Connect (OIDC) subject claim.
Org110
Add a security manager teamorgs_add_security_manager_teamPUT[!WARNING] Closing down notice: This operation is closing down and will be removed starting January 1, 2026.
Assign an organization role to a teamorgs_assign_team_to_org_rolePUTAssigns an organization role to a team in an organization.
Assign an organization role to a userorgs_assign_user_to_org_rolePUTAssigns an organization role to a member of an organization.
Block a user from an organizationorgs_block_userPUTBlocks the given user on behalf of the specified organization and returns a 204.
Cancel an organization invitationorgs_cancel_invitationDELETECancel an organization invitation.
Check if a user is blocked by an organizationorgs_check_blocked_userGETReturns a 204 if the given user is blocked by the given organization.
Check organization membership for a userorgs_check_membership_for_userGETCheck if a user is, publicly or privately, a member of the organization.
Check public organization membership for a userorgs_check_public_membership_for_userGETCheck if the provided user is a public member of the organization.
Convert an organization member to outside collaboratororgs_convert_member_to_outside_collaboratorPUTWhen an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows.
Create a cluster deployment records joborgs_create_cluster_deployment_records_jobPOSTCreate a background job to set deployment records for a given cluster.
Create an artifact deployment recordorgs_create_artifact_deployment_recordPOSTCreate or update deployment records for an artifact associated with an organization.
Create an organization invitationorgs_create_invitationPOSTInvite people to an organization by using their GitHub user ID or their email address.
Create an organization webhookorgs_create_webhookPOSTCreate a hook that posts payloads in JSON format.
Create artifact metadata storage recordorgs_create_artifact_storage_recordPOSTCreate metadata storage records for artifacts associated with an organization.
Create issue field for an organizationorgs_create_issue_fieldPOSTCreates a new issue field for an organization.
Create issue type for an organizationorgs_create_issue_typePOSTCreate a new issue type for an organization.
Create or update a custom property for an organizationorgs_custom_properties_for_repos_create_or_update_organization_definitionPUTCreates a new or updates an existing custom property that is defined for an organization.
Create or update custom properties for an organizationorgs_custom_properties_for_repos_create_or_update_organization_definitionsPATCHCreates new or updates existing custom properties defined for an organization in a batch.
Create or update custom property values for organizationorgs_custom_properties_for_repos_create_or_update_organization_valuesPATCHCreate new or update existing custom property values for repositories in a batch that belong to an organization.
Delete an organizationorgs_deleteDELETEDeletes an organization and all its repositories.
Delete an organization webhookorgs_delete_webhookDELETEDelete a webhook for an organization.
Delete attestations by IDorgs_delete_attestations_by_idDELETEDelete an artifact attestation by unique ID that is associated with a repository owned by an org.
Delete attestations by subject digestorgs_delete_attestations_by_subject_digestDELETEDelete an artifact attestation by subject digest.
Delete attestations in bulkorgs_delete_attestations_bulkPOSTDelete artifact attestations in bulk by either subject digests or unique ID.
Delete issue field for an organizationorgs_delete_issue_fieldDELETEDeletes an issue field for an organization.
Delete issue type for an organizationorgs_delete_issue_typeDELETEDeletes an issue type for an organization.
Disable a selected repository for immutable releases in anorgs_disable_selected_repository_immutable_releases_organizationDELETERemoves a repository from the list of selected repositories that are enforced for immutable releases in an organization.
Enable a selected repository for immutable releases in anorgs_enable_selected_repository_immutable_releases_organizationPUTAdds a repository to the list of selected repositories that are enforced for immutable releases in an organization.
Enable or disable a security feature for an organizationorgs_enable_or_disable_security_product_on_all_org_reposPOST[!WARNING] Closing down notice: The ability to enable or disable a security feature for all eligible repositories in an organization is closing down.
Get a custom property for an organizationorgs_custom_properties_for_repos_get_organization_definitionGETGets a custom property that is defined for an organization.
Get a webhook configuration for an organizationorgs_get_webhook_config_for_orgGETReturns the webhook configuration for an organization.
Get a webhook delivery for an organization webhookorgs_get_webhook_deliveryGETReturns a delivery for a webhook configured in an organization.
Get all custom properties for an organizationorgs_custom_properties_for_repos_get_organization_definitionsGETGets all custom properties defined for an organization.
Get all organization roles for an organizationorgs_list_org_rolesGETLists the organization roles available in this organization.
Get an organizationorgs_getGETGets information about an organization.
Get an organization membership for the authenticated userorgs_get_membership_for_authenticated_userGETIf the authenticated user is an active or pending member of the organization, this endpoint will return the user's membership.
Get an organization roleorgs_get_org_roleGETGets an organization role that is available to this organization.
Get an organization webhookorgs_get_webhookGETReturns a webhook configured in an organization.
Get cluster deployment records job statusorgs_get_cluster_deployment_records_jobGETGet the status and results of a previously created cluster deployment records job.
Get immutable releases settings for an organizationorgs_get_immutable_releases_settingsGETGets the immutable releases policy for repositories in an organization.
Get organization membership for a userorgs_get_membership_for_userGETIn order to get a user's membership with an organization, the authenticated user must be an organization member.
Get organization ruleset historyorgs_get_org_ruleset_historyGETGet the history of an organization ruleset.
Get organization ruleset versionorgs_get_org_ruleset_versionGETGet a version of an organization ruleset.
Get route stats by actorapi_insights_get_route_stats_by_actorGETGet API request count statistics for an actor broken down by route within a specified time frame.
Get subject statsapi_insights_get_subject_statsGETGet API request statistics for all subjects within an organization within a specified time frame.
Get summary statsapi_insights_get_summary_statsGETGet overall statistics of API requests made within an organization by all users and apps within a specified time frame.
Get summary stats by actorapi_insights_get_summary_stats_by_actorGETGet overall statistics of API requests within the organization made by a specific actor.
Get summary stats by userapi_insights_get_summary_stats_by_userGETGet overall statistics of API requests within the organization for a user.
Get time statsapi_insights_get_time_statsGETGet the number of API requests and rate-limited requests made within an organization over a specified time period.
Get time stats by actorapi_insights_get_time_stats_by_actorGETGet the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.
Get time stats by userapi_insights_get_time_stats_by_userGETGet the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.
Get user statsapi_insights_get_user_statsGETGet API usage statistics within an organization for a user broken down by the type of access.
List app installations for an organizationorgs_list_app_installationsGETLists all GitHub Apps in an organization.
List artifact deployment recordsorgs_list_artifact_deployment_recordsGETList deployment records for an artifact metadata associated with an organization.
List artifact storage recordsorgs_list_artifact_storage_recordsGETList artifact storage records with a given subject digest for repositories owned by an organization.
List attestation repositoriesorgs_list_attestation_repositoriesGETList repositories owned by the provided organization that have created at least one attested artifact Results will be sorted in ascending order by repository ID
List attestationsorgs_list_attestationsGETList a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.
List attestations by bulk subject digestsorgs_list_attestations_bulkPOSTList a collection of artifact attestations associated with any entry in a list of subject digests owned by an organization.
List custom property values for organization repositoriesorgs_custom_properties_for_repos_get_organization_valuesGETLists organization repositories with all of their custom property values.
List deliveries for an organization webhookorgs_list_webhook_deliveriesGETReturns a list of webhook deliveries for a webhook configured in an organization.
List failed organization invitationsorgs_list_failed_invitationsGETThe return hash contains failed at and failed reason fields which represent the time at which the invitation failed and the reason for the failure.
List fine-grained personal access tokens with access toorgs_list_pat_grantsGETLists approved fine-grained personal access tokens owned by organization members that can access organization resources.
List issue fields for an organizationorgs_list_issue_fieldsGETLists all issue fields for an organization.
List issue types for an organizationorgs_list_issue_typesGETLists all issue types for an organization.
List organization invitation teamsorgs_list_invitation_teamsGETList all teams associated with an invitation.
List organization membersorgs_list_membersGETList all users who are members of an organization.
List organization memberships for the authenticated userorgs_list_memberships_for_authenticated_userGETLists all of the authenticated user's organization memberships.
List organization webhooksorgs_list_webhooksGETList webhooks for an organization.
List organizationsorgs_listGETLists all organizations, in the order that they were created.
List organizations for a userorgs_list_for_userGETList public organization memberships for the specified user.
List organizations for the authenticated userorgs_list_for_authenticated_userGETList organizations for the authenticated user.
List outside collaborators for an organizationorgs_list_outside_collaboratorsGETList all users who are outside collaborators of an organization.
List pending organization invitationsorgs_list_pending_invitationsGETThe return hash contains a role field which refers to the Organization Invitation role and will be one of the following values: direct member, admin, billing manager, or hiring manager.
List public organization membersorgs_list_public_membersGETMembers of an organization can choose to have their membership publicized or not.
List repositories a fine-grained personal access token hasorgs_list_pat_grant_repositoriesGETLists the repositories a fine-grained personal access token has access to.
List repositories requested to be accessed by a fine-grainedorgs_list_pat_grant_request_repositoriesGETLists the repositories a fine-grained personal access token request is requesting access to.
List requests to access organization resources withorgs_list_pat_grant_requestsGETLists requests from organization members to access organization resources with a fine-grained personal access token.
List security manager teamsorgs_list_security_manager_teamsGET[!WARNING] Closing down notice: This operation is closing down and will be removed starting January 1, 2026.
List selected repositories for immutable releases enforcementorgs_get_immutable_releases_settings_repositoriesGETList all of the repositories that have been selected for immutable releases enforcement in an organization.
List teams that are assigned to an organization roleorgs_list_org_role_teamsGETLists the teams that are assigned to an organization role.
List users blocked by an organizationorgs_list_blocked_usersGETList the users blocked by an organization.
List users that are assigned to an organization roleorgs_list_org_role_usersGETLists organization members that are assigned to an organization role.
Ping an organization webhookorgs_ping_webhookPOSTThis will trigger a ping event to be sent to the hook.
Redeliver a delivery for an organization webhookorgs_redeliver_webhook_deliveryPOSTRedeliver a delivery for a webhook configured in an organization.
Remove a custom property for an organizationorgs_custom_properties_for_repos_delete_organization_definitionDELETERemoves a custom property that is defined for an organization.
Remove a security manager teamorgs_remove_security_manager_teamDELETE[!WARNING] Closing down notice: This operation is closing down and will be removed starting January 1, 2026.
Remove all organization roles for a teamorgs_revoke_all_org_roles_teamDELETERemoves all assigned organization roles from a team.
Remove all organization roles for a userorgs_revoke_all_org_roles_userDELETERevokes all assigned organization roles from a user.
Remove an organization memberorgs_remove_memberDELETERemoving a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.
Remove an organization role from a teamorgs_revoke_org_role_teamDELETERemoves an organization role from a team.
Remove an organization role from a userorgs_revoke_org_role_userDELETERemove an organization role from a user.
Remove organization membership for a userorgs_remove_membership_for_userDELETEIn order to remove a user's membership with an organization, the authenticated user must be an organization owner.
Remove outside collaborator from an organizationorgs_remove_outside_collaboratorDELETERemoving a user from this list will remove them from all the organization's repositories.
Remove public organization membership for the authenticated userorgs_remove_public_membership_for_authenticated_userDELETERemoves the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default.
Review a request to access organization resources with aorgs_review_pat_grant_requestPOSTApproves or denies a pending request to access organization resources via a fine-grained personal access token.
Review requests to access organization resources withorgs_review_pat_grant_requests_in_bulkPOSTApproves or denies multiple pending requests to access organization resources via a fine-grained personal access token.
Set cluster deployment recordsorgs_set_cluster_deployment_recordsPOSTSet deployment records for a given cluster.
Set immutable releases settings for an organizationorgs_set_immutable_releases_settingsPUTSets the immutable releases policy for repositories in an organization.
Set organization membership for a userorgs_set_membership_for_userPUTOnly authenticated organization owners can add a member to the organization or update the member's role.
Set public organization membership for the authenticated userorgs_set_public_membership_for_authenticated_userPUTThe user can publicize their own membership.
Set selected repositories for immutable releases enforcementorgs_set_immutable_releases_settings_repositoriesPUTReplaces all repositories that have been selected for immutable releases enforcement in an organization.
Unblock a user from an organizationorgs_unblock_userDELETEUnblocks the given user on behalf of the specified organization.
Update a webhook configuration for an organizationorgs_update_webhook_config_for_orgPATCHUpdates the webhook configuration for an organization.
Update an organizationorgs_updatePATCH[!WARNING] Closing down notice: GitHub will replace and discontinue members allowed repository creation type in favor of more granular permissions.
Update an organization membership for the authenticated userorgs_update_membership_for_authenticated_userPATCHConverts the authenticated user to an active member of the organization, if that user has a pending invitation from the organization.
Update an organization webhookorgs_update_webhookPATCHUpdates a webhook configured in an organization.
Update issue field for an organizationorgs_update_issue_fieldPATCHUpdates an issue field for an organization.
Update issue type for an organizationorgs_update_issue_typePUTUpdates an issue type for an organization.
Update the access a fine-grained personal access token has toorgs_update_pat_accessPOSTUpdates the access an organization member has to organization resources via a fine-grained personal access token.
Update the access to organization resources via fine-grainedorgs_update_pat_accessesPOSTUpdates the access organization members have to organization resources via fine-grained personal access tokens.
Package27
Delete a package for a userpackages_delete_package_for_userDELETEDeletes an entire package for a user.
Delete a package for an organizationpackages_delete_package_for_orgDELETEDeletes an entire package in an organization.
Delete a package for the authenticated userpackages_delete_package_for_authenticated_userDELETEDeletes a package owned by the authenticated user.
Delete a package version for the authenticated userpackages_delete_package_version_for_authenticated_userDELETEDeletes a specific package version for a package owned by the authenticated user.
Delete package version for a userpackages_delete_package_version_for_userDELETEDeletes a specific package version for a user.
Delete package version for an organizationpackages_delete_package_version_for_orgDELETEDeletes a specific package version in an organization.
Get a package for a userpackages_get_package_for_userGETGets a specific package metadata for a public package owned by a user.
Get a package for an organizationpackages_get_package_for_organizationGETGets a specific package in an organization.
Get a package for the authenticated userpackages_get_package_for_authenticated_userGETGets a specific package for a package owned by the authenticated user.
Get a package version for a userpackages_get_package_version_for_userGETGets a specific package version for a public package owned by a specified user.
Get a package version for an organizationpackages_get_package_version_for_organizationGETGets a specific package version in an organization.
Get a package version for the authenticated userpackages_get_package_version_for_authenticated_userGETGets a specific package version for a package owned by the authenticated user.
Get list of conflicting packages during Docker migration forpackages_list_docker_migration_conflicting_packages_for_authenticated_userGETLists all packages that are owned by the authenticated user within the user's namespace, and that encountered a conflict during a Docker migration.
Get list of conflicting packages during Docker migration forpackages_list_docker_migration_conflicting_packages_for_organizationGETLists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.
Get list of conflicting packages during Docker migration forpackages_list_docker_migration_conflicting_packages_for_userGETLists all packages that are in a specific user's namespace, that the requesting user has access to, and that encountered a conflict during Docker migration.
List package versions for a package owned by a userpackages_get_all_package_versions_for_package_owned_by_userGETLists package versions for a public package owned by a specified user.
List package versions for a package owned by an organizationpackages_get_all_package_versions_for_package_owned_by_orgGETLists package versions for a package owned by an organization.
List package versions for a package owned by the authenticatedpackages_get_all_package_versions_for_package_owned_by_authenticated_userGETLists package versions for a package owned by the authenticated user.
List packages for a userpackages_list_packages_for_userGETLists all packages in a user's namespace for which the requesting user has access.
List packages for an organizationpackages_list_packages_for_organizationGETLists packages in an organization readable by the user.
List packages for the authenticated user's namespacepackages_list_packages_for_authenticated_userGETLists packages owned by the authenticated user within the user's namespace.
Restore a package for a userpackages_restore_package_for_userPOSTRestores an entire package for a user.
Restore a package for an organizationpackages_restore_package_for_orgPOSTRestores an entire package in an organization.
Restore a package for the authenticated userpackages_restore_package_for_authenticated_userPOSTRestores a package owned by the authenticated user.
Restore a package version for the authenticated userpackages_restore_package_version_for_authenticated_userPOSTRestores a package version owned by the authenticated user.
Restore package version for a userpackages_restore_package_version_for_userPOSTRestores a specific package version for a user.
Restore package version for an organizationpackages_restore_package_version_for_orgPOSTRestores a specific package version in an organization.
Private Registry6
Create a private registry for an organizationprivate_registries_create_org_private_registryPOSTCreates a private registry configuration with an encrypted value for an organization.
Delete a private registry for an organizationprivate_registries_delete_org_private_registryDELETEDelete a private registry configuration at the organization-level.
Get a private registry for an organizationprivate_registries_get_org_private_registryGETGet the configuration of a single private registry defined for an organization, omitting its encrypted value.
Get private registries public key for an organizationprivate_registries_get_org_public_keyGETGets the org public key, which is needed to encrypt private registry secrets.
List private registries for an organizationprivate_registries_list_org_private_registriesGETLists all private registry configurations available at the organization-level without revealing their encrypted values.
Update a private registry for an organizationprivate_registries_update_org_private_registryPATCHUpdates a private registry configuration with an encrypted value for an organization.
Project26
Add a field to an organization-owned project.projects_add_field_for_orgPOSTAdd a field to an organization-owned project.
Add field to user owned projectprojects_add_field_for_userPOSTAdd a field to a specified user owned project.
Add item to organization owned projectprojects_add_item_for_orgPOSTAdd an issue or pull request item to the specified organization owned project.
Add item to user owned projectprojects_add_item_for_userPOSTAdd an issue or pull request item to the specified user owned project.
Create a view for a user-owned projectprojects_create_view_for_userPOSTCreate a new view in a user-owned project.
Create a view for an organization-owned projectprojects_create_view_for_orgPOSTCreate a new view in an organization-owned project.
Create draft item for organization owned projectprojects_create_draft_item_for_orgPOSTCreate draft issue item for the specified organization owned project.
Create draft item for user owned projectprojects_create_draft_item_for_authenticated_userPOSTCreate draft issue item for the specified user owned project.
Delete project item for organizationprojects_delete_item_for_orgDELETEDelete a specific item from an organization-owned project.
Delete project item for userprojects_delete_item_for_userDELETEDelete a specific item from a user-owned project.
Get an item for a user owned projectprojects_get_user_itemGETGet a specific item from a user-owned project.
Get an item for an organization owned projectprojects_get_org_itemGETGet a specific item from an organization-owned project.
Get project field for organizationprojects_get_field_for_orgGETGet a specific field for an organization-owned project.
Get project field for userprojects_get_field_for_userGETGet a specific field for a user-owned project.
Get project for organizationprojects_get_for_orgGETGet a specific organization-owned project.
Get project for userprojects_get_for_userGETGet a specific user-owned project.
List items for a user owned projectprojects_list_items_for_userGETList all items for a specific user-owned project accessible by the authenticated user.
List items for a user project viewprojects_list_view_items_for_userGETList items in a user project with the saved view's filter applied.
List items for an organization owned projectprojects_list_items_for_orgGETList all items for a specific organization-owned project accessible by the authenticated user.
List items for an organization project viewprojects_list_view_items_for_orgGETList items in an organization project with the saved view's filter applied.
List project fields for organizationprojects_list_fields_for_orgGETList all fields for a specific organization-owned project.
List project fields for userprojects_list_fields_for_userGETList all fields for a specific user-owned project.
List projects for organizationprojects_list_for_orgGETList all projects owned by a specific organization accessible by the authenticated user.
List projects for userprojects_list_for_userGETList all projects owned by a specific user accessible by the authenticated user.
Update project item for organizationprojects_update_item_for_orgPATCHUpdate a specific item in an organization-owned project.
Update project item for userprojects_update_item_for_userPATCHUpdate a specific item in a user-owned project.
Pull34
Add pull requests to a pull request stackpull_request_stacks_addPOSTAppends an ordered list of pull request numbers onto the top of an existing stack.
Check if a pull request has been mergedpulls_check_if_mergedGETChecks if a pull request has been merged into the base branch.
Create a pull requestpulls_createPOSTDraft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private...
Create a pull request stackpull_request_stacks_createPOSTCreates a stack from an ordered list of pull request numbers.
Create a reply for a review commentpulls_create_reply_for_review_commentPOSTCreates a reply to a review comment for a pull request.
Create a review comment for a pull requestpulls_create_review_commentPOSTCreates a review comment on the diff of a specified pull request.
Create a review for a pull requestpulls_create_reviewPOSTCreates a review on a specified pull request.
Delete a pending review for a pull requestpulls_delete_pending_reviewDELETEDeletes a pull request review that has not been submitted.
Delete a review comment for a pull requestpulls_delete_review_commentDELETEDeletes a review comment.
Dismiss a review for a pull requestpulls_dismiss_reviewPUTDismisses a specified review on a pull request.
Get a pull requestpulls_getGETDraft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private...
Get a pull request stackpull_request_stacks_getGETGets a pull request stack by providing its stack number.
Get a review comment for a pull requestpulls_get_review_commentGETProvides details for a specified review comment.
Get a review for a pull requestpulls_get_reviewGETRetrieves a pull request review by its ID.
Get all requested reviewers for a pull requestpulls_list_requested_reviewersGETGets the users or teams whose review is requested for a pull request.
Get the result of an asynchronous mergepulls_get_merge_async_resultGETFetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.
List comments for a pull request reviewpulls_list_comments_for_reviewGETLists comments for a specific pull request review.
List commits on a pull requestpulls_list_commitsGETLists a maximum of 250 commits for a pull request.
List pull request stackspull_request_stacks_listGETLists pull request stacks in a repository.
List pull requestspulls_listGETLists pull requests in a specified repository.
List pull requests filespulls_list_filesGETLists the files in a specified pull request.
List review comments in a repositorypulls_list_review_comments_for_repoGETLists review comments for all pull requests in a repository.
List review comments on a pull requestpulls_list_review_commentsGETLists all review comments for a specified pull request.
List reviews for a pull requestpulls_list_reviewsGETLists all reviews for a specified pull request.
Merge a pull requestpulls_mergePUTMerges a pull request into the base branch.
Merge a pull request asynchronouslypulls_merge_asyncPUTMerges a pull request into the base branch in the background.
Remove pull requests from a pull request stackpull_request_stacks_unstackPOSTRemoves the unmerged pull requests from a stack.
Remove requested reviewers from a pull requestpulls_remove_requested_reviewersDELETERemoves review requests from a pull request for a given set of users and/or teams.
Request reviewers for a pull requestpulls_request_reviewersPOSTRequests reviews for a pull request from a given set of users and/or teams.
Submit a review for a pull requestpulls_submit_reviewPOSTSubmits a pending review for a pull request.
Update a pull requestpulls_updatePATCHDraft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private...
Update a pull request branchpulls_update_branchPUTUpdates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
Update a review comment for a pull requestpulls_update_review_commentPATCHEdits the content of a specified review comment.
Update a review for a pull requestpulls_update_reviewPUTUpdates the contents of a specified review summary comment.
Rate Limit1
Get rate limit status for the authenticated userrate_limit_getGET[!NOTE] Accessing this endpoint does not count against your REST API rate limit.
Reaction15
Create reaction for a commit commentreactions_create_for_commit_commentPOSTCreate a reaction to a commit comment.
Create reaction for a pull request review commentreactions_create_for_pull_request_review_commentPOSTCreate a reaction to a pull request review comment.
Create reaction for a releasereactions_create_for_releasePOSTCreate a reaction to a release.
Create reaction for an issuereactions_create_for_issuePOSTCreate a reaction to an issue.
Create reaction for an issue commentreactions_create_for_issue_commentPOSTCreate a reaction to an issue comment.
Delete a commit comment reactionreactions_delete_for_commit_commentDELETE[!NOTE] You can also specify a repository by repository id using the route DELETE /repositories/:repository id/comments/:comment id/reactions/:reaction id.
Delete a pull request comment reactionreactions_delete_for_pull_request_commentDELETE[!NOTE] You can also specify a repository by repository id using the route DELETE /repositories/:repository id/pulls/comments/:comment id/reactions/:reaction id.
Delete a release reactionreactions_delete_for_releaseDELETE[!NOTE] You can also specify a repository by repository id using the route DELETE delete /repositories/:repository id/releases/:release id/reactions/:reaction id.
Delete an issue comment reactionreactions_delete_for_issue_commentDELETE[!NOTE] You can also specify a repository by repository id using the route DELETE delete /repositories/:repository id/issues/comments/:comment id/reactions/:reaction id.
Delete an issue reactionreactions_delete_for_issueDELETE[!NOTE] You can also specify a repository by repository id using the route DELETE /repositories/:repository id/issues/:issue number/reactions/:reaction id.
List reactions for a commit commentreactions_list_for_commit_commentGETList the reactions to a commit comment.
List reactions for a pull request review commentreactions_list_for_pull_request_review_commentGETList the reactions to a pull request review comment.
List reactions for a releasereactions_list_for_releaseGETList the reactions to a release.
List reactions for an issuereactions_list_for_issueGETList the reactions to an issue.
List reactions for an issue commentreactions_list_for_issue_commentGETList the reactions to an issue comment.
Repo203
Accept a repository invitationrepos_accept_invitation_for_authenticated_userPATCH
Add a repository collaboratorrepos_add_collaboratorPUTAdd a user to a repository with a specified level of access.
Add app access restrictionsrepos_add_app_access_restrictionsPOSTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Add status check contextsrepos_add_status_check_contextsPOSTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Add team access restrictionsrepos_add_team_access_restrictionsPOSTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Add user access restrictionsrepos_add_user_access_restrictionsPOSTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Cancel a GitHub Pages deploymentrepos_cancel_pages_deploymentPOSTCancels a GitHub Pages deployment.
Check if a user is a repository collaboratorrepos_check_collaboratorGETFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through...
Check if Dependabot security updates are enabled for arepos_check_automated_security_fixesGETShows whether Dependabot security updates are enabled, disabled or paused for a repository.
Check if immutable releases are enabled for a repositoryrepos_check_immutable_releasesGETShows whether immutable releases are enabled or disabled.
Check if private vulnerability reporting is enabled for arepos_check_private_vulnerability_reportingGETReturns a boolean indicating whether or not private vulnerability reporting is enabled for the repository.
Check if vulnerability alerts are enabled for a repositoryrepos_check_vulnerability_alertsGETShows whether dependency alerts are enabled or disabled for a repository.
Compare two commitsrepos_compare_commitsGETCompares two commits against one another.
Create a commit commentrepos_create_commit_commentPOSTCreate a comment for a commit using its :commit sha.
Create a commit statusrepos_create_commit_statusPOSTUsers with push access in a repository can create commit statuses for a given SHA.
Create a custom deployment protection rule on an environmentrepos_create_deployment_protection_rulePOSTEnable a custom deployment protection rule for an environment.
Create a deploy keyrepos_create_deploy_keyPOSTYou can create a read-only deploy key.
Create a deploymentrepos_create_deploymentPOSTDeployments offer a few configurable parameters with certain defaults.
Create a deployment branch policyrepos_create_deployment_branch_policyPOSTCreates a deployment branch or tag policy for an environment.
Create a deployment statusrepos_create_deployment_statusPOSTUsers with push access can create deployment statuses for a given deployment.
Create a forkrepos_create_forkPOSTCreate a fork for the authenticated user.
Create a GitHub Pages deploymentrepos_create_pages_deploymentPOSTCreate a GitHub Pages deployment for a repository.
Create a GitHub Pages siterepos_create_pages_sitePOSTConfigures a GitHub Pages site.
Create a releaserepos_create_releasePOSTUsers with push access to the repository can create a release.
Create a repository dispatch eventrepos_create_dispatch_eventPOSTYou can use this endpoint to trigger a webhook event called repository dispatch when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App...
Create a repository for the authenticated userrepos_create_for_authenticated_userPOSTCreates a new repository for the authenticated user.
Create a repository rulesetrepos_create_repo_rulesetPOSTCreate a ruleset for a repository.
Create a repository using a templaterepos_create_using_templatePOSTCreates a new repository using a repository template.
Create a repository webhookrepos_create_webhookPOSTRepositories can have multiple webhooks installed.
Create an attestationrepos_create_attestationPOSTStore an artifact attestation and associate it with a repository.
Create an autolink reference for a repositoryrepos_create_autolinkPOSTUsers with admin access to the repository can create an autolink.
Create an organization repositoryrepos_create_in_orgPOSTCreates a new repository in the specified organization.
Create an organization repository rulesetrepos_create_org_rulesetPOSTCreate a repository ruleset for an organization.
Create commit signature protectionrepos_create_commit_signature_protectionPOSTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Create or update an environmentrepos_create_or_update_environmentPUTCreate or update an environment with protection rules, such as required reviewers.
Create or update custom property values for a repositoryrepos_custom_properties_for_repos_create_or_update_repository_valuesPATCHCreate new or update existing custom property values for a repository.
Create or update file contentsrepos_create_or_update_file_contentsPUTCreates a new file or replaces an existing file in a repository.
Decline a repository invitationrepos_decline_invitation_for_authenticated_userDELETE
Delete a commit commentrepos_delete_commit_commentDELETE
Delete a deploy keyrepos_delete_deploy_keyDELETEDeploy keys are immutable.
Delete a deploymentrepos_delete_deploymentDELETEIf the repository only has one deployment, you can delete the deployment regardless of its status.
Delete a deployment branch policyrepos_delete_deployment_branch_policyDELETEDeletes a deployment branch or tag policy for an environment.
Delete a filerepos_delete_fileDELETEDeletes a file in a repository.
Delete a GitHub Pages siterepos_delete_pages_siteDELETEDeletes a GitHub Pages site.
Delete a releaserepos_delete_releaseDELETEUsers with push access to the repository can delete a release.
Delete a release assetrepos_delete_release_assetDELETE
Delete a repositoryrepos_deleteDELETEDeleting a repository requires admin access.
Delete a repository invitationrepos_delete_invitationDELETE
Delete a repository rulesetrepos_delete_repo_rulesetDELETEDelete a ruleset for a repository.
Delete a repository webhookrepos_delete_webhookDELETEDelete a webhook for an organization.
Delete access restrictionsrepos_delete_access_restrictionsDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Delete admin branch protectionrepos_delete_admin_branch_protectionDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Delete an autolink reference from a repositoryrepos_delete_autolinkDELETEThis deletes a single autolink reference by ID that was configured for the given repository.
Delete an environmentrepos_delete_an_environmentDELETEOAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
Delete an organization repository rulesetrepos_delete_org_rulesetDELETEDelete a ruleset for an organization.
Delete branch protectionrepos_delete_branch_protectionDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Delete commit signature protectionrepos_delete_commit_signature_protectionDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Delete pull request review protectionrepos_delete_pull_request_review_protectionDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Disable a custom protection rule for an environmentrepos_disable_deployment_protection_ruleDELETEDisables a custom deployment protection rule for an environment.
Disable Dependabot security updatesrepos_disable_automated_security_fixesDELETEDisables Dependabot security updates for a repository.
Disable immutable releasesrepos_disable_immutable_releasesDELETEDisables immutable releases for a repository.
Disable private vulnerability reporting for a repositoryrepos_disable_private_vulnerability_reportingDELETEDisables private vulnerability reporting for a repository.
Disable vulnerability alertsrepos_disable_vulnerability_alertsDELETEDisables dependency alerts and the dependency graph for a repository.
Download a repository archive (tar)repos_download_tarball_archiveGETGets a redirect URL to download a tar archive for a repository.
Download a repository archive (zip)repos_download_zipball_archiveGETGets a redirect URL to download a zip archive for a repository.
Enable Dependabot security updatesrepos_enable_automated_security_fixesPUTEnables Dependabot security updates for a repository.
Enable immutable releasesrepos_enable_immutable_releasesPUTEnables immutable releases for a repository.
Enable private vulnerability reporting for a repositoryrepos_enable_private_vulnerability_reportingPUTEnables private vulnerability reporting for a repository.
Enable vulnerability alertsrepos_enable_vulnerability_alertsPUTEnables dependency alerts and the dependency graph for a repository.
Generate release notes content for a releaserepos_generate_release_notesPOSTGenerate a name and body describing a release.
Get a branchrepos_get_branchGET
Get a commitrepos_get_commitGETReturns the contents of a single commit reference.
Get a commit commentrepos_get_commit_commentGETGets a specified commit comment.
Get a custom deployment protection rulerepos_get_custom_deployment_protection_ruleGETGets an enabled custom deployment protection rule for an environment.
Get a delivery for a repository webhookrepos_get_webhook_deliveryGETReturns a delivery for a webhook configured in a repository.
Get a deploy keyrepos_get_deploy_keyGET
Get a deploymentrepos_get_deploymentGET
Get a deployment branch policyrepos_get_deployment_branch_policyGETGets a deployment branch or tag policy for an environment.
Get a deployment statusrepos_get_deployment_statusGETUsers with pull access can view a deployment status for a deployment:
Get a DNS health check for GitHub Pagesrepos_get_pages_health_checkGETGets a health check of the DNS settings for the CNAME record configured for a repository's GitHub Pages.
Get a GitHub Pages siterepos_get_pagesGETGets information about a GitHub Pages site.
Get a releaserepos_get_releaseGETGets a public release with the specified release ID.
Get a release assetrepos_get_release_assetGETTo download the asset's binary content:
Get a release by tag namerepos_get_release_by_tagGETGet a published release with the specified tag.
Get a repositoryrepos_getGETThe parent and source objects are present when the repository is a fork.
Get a repository READMErepos_get_readmeGETGets the preferred README for a repository.
Get a repository README for a directoryrepos_get_readme_in_directoryGETGets the README from a repository directory.
Get a repository rule suiterepos_get_repo_rule_suiteGETGets information about a suite of rule evaluations from within a repository.
Get a repository rulesetrepos_get_repo_rulesetGETGet a ruleset for a repository.
Get a repository webhookrepos_get_webhookGETReturns a webhook configured in a repository.
Get a webhook configuration for a repositoryrepos_get_webhook_config_for_repoGETReturns the webhook configuration for a repository.
Get access restrictionsrepos_get_access_restrictionsGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get admin branch protectionrepos_get_admin_branch_protectionGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get all autolinks of a repositoryrepos_list_autolinksGETGets all autolinks that are configured for a repository.
Get all contributor commit activityrepos_get_contributors_statsGETReturns the total number of commits authored by the contributor.
Get all custom property values for a repositoryrepos_custom_properties_for_repos_get_repository_valuesGETGets all custom property values that are set for a repository.
Get all deployment protection rules for an environmentrepos_get_all_deployment_protection_rulesGETGets all custom deployment protection rules that are enabled for an environment.
Get all organization repository rulesetsrepos_get_org_rulesetsGETGet all the repository rulesets for an organization.
Get all repository rulesetsrepos_get_repo_rulesetsGETGet all the rulesets for a repository.
Get all repository topicsrepos_get_all_topicsGET
Get all status check contextsrepos_get_all_status_check_contextsGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get an autolink reference of a repositoryrepos_get_autolinkGETThis returns a single autolink reference by ID that was configured for the given repository.
Get an environmentrepos_get_environmentGET[!NOTE] To get information about name patterns that branches must match in order to deploy to this environment, see "Get a deployment branch policy."
Get an organization repository rulesetrepos_get_org_rulesetGETGet a repository ruleset for an organization.
Get an organization rule suiterepos_get_org_rule_suiteGETGets information about a suite of rule evaluations from within an organization.
Get apps with access to the protected branchrepos_get_apps_with_access_to_protected_branchGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get branch protectionrepos_get_branch_protectionGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get commit signature protectionrepos_get_commit_signature_protectionGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get community profile metricsrepos_get_community_profile_metricsGETReturns all community profile metrics for a repository.
Get GitHub Pages buildrepos_get_pages_buildGETGets information about a GitHub Pages build.
Get latest Pages buildrepos_get_latest_pages_buildGETGets information about the single most recent build of a GitHub Pages site.
Get page viewsrepos_get_viewsGETGet the total number of views and breakdown per day or week for the last 14 days.
Get pull request review protectionrepos_get_pull_request_review_protectionGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get repository clonesrepos_get_clonesGETGet the total number of clones and breakdown per day or week for the last 14 days.
Get repository contentrepos_get_contentGETGets the contents of a file or directory in a repository.
Get repository permissions for a userrepos_get_collaborator_permission_levelGETChecks the repository permission and role of a collaborator.
Get repository ruleset historyrepos_get_repo_ruleset_historyGETGet the history of a repository ruleset.
Get repository ruleset versionrepos_get_repo_ruleset_versionGETGet a version of a repository ruleset.
Get rules for a branchrepos_get_branch_rulesGETReturns all active rules that apply to the specified branch.
Get status checks protectionrepos_get_status_checks_protectionGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get teams with access to the protected branchrepos_get_teams_with_access_to_protected_branchGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Get the combined status for a specific referencerepos_get_combined_status_for_refGETUsers with pull access in a repository can access a combined view of commit statuses for a given ref.
Get the hash algorithm for a repositoryrepos_get_hash_algorithmGETReturns the hash algorithm used to store repository objects.
Get the hourly commit count for each dayrepos_get_punch_card_statsGETEach array contains the day number, hour number, and number of commits:
Get the last year of commit activityrepos_get_commit_activity_statsGETReturns the last year of commit activity grouped by week.
Get the latest releaserepos_get_latest_releaseGETView the latest published full release for the repository.
Get the status of a GitHub Pages deploymentrepos_get_pages_deploymentGETGets the current status of a GitHub Pages deployment.
Get the weekly commit activityrepos_get_code_frequency_statsGETReturns a weekly aggregate of the number of additions and deletions pushed to a repository.
Get the weekly commit countrepos_get_participation_statsGETReturns the total commit counts for the owner and total commit counts in all.
Get top referral pathsrepos_get_top_pathsGETGet the top 10 popular contents over the last 14 days.
Get top referral sourcesrepos_get_top_referrersGETGet the top 10 referrers over the last 14 days.
Get users with access to the protected branchrepos_get_users_with_access_to_protected_branchGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
List attestationsrepos_list_attestationsGETList a collection of artifact attestations with a given subject digest that are associated with a repository.
List branchesrepos_list_branchesGET
List branches for HEAD commitrepos_list_branches_for_head_commitGETProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
List CODEOWNERS errorsrepos_codeowners_errorsGETList any syntax errors that are detected in the CODEOWNERS file.
List commit commentsrepos_list_comments_for_commitGETLists the comments for a specified commit.
List commit comments for a repositoryrepos_list_commit_comments_for_repoGETLists the commit comments for a specified repository.
List commit statuses for a referencerepos_list_commit_statuses_for_refGETUsers with pull access in a repository can view commit statuses for a given ref.
List commitsrepos_list_commitsGETSignature verification object
List custom deployment rule integrations available for anrepos_list_custom_deployment_rule_integrationsGETGets all custom deployment protection rule integrations that are available for an environment.
List deliveries for a repository webhookrepos_list_webhook_deliveriesGETReturns a list of webhook deliveries for a webhook configured in a repository.
List deploy keysrepos_list_deploy_keysGET
List deployment branch policiesrepos_list_deployment_branch_policiesGETLists the deployment branch policies for an environment.
List deployment statusesrepos_list_deployment_statusesGETUsers with pull access can view deployment statuses for a deployment:
List deploymentsrepos_list_deploymentsGETSimple filtering of deployments is available via query parameters:
List environmentsrepos_get_all_environmentsGETLists the environments for a repository.
List forksrepos_list_forksGET
List GitHub Pages buildsrepos_list_pages_buildsGETLists builts of a GitHub Pages site.
List issue types for a repositoryrepos_list_issue_typesGETLists issue types available for a repository (inherited from its organization owner, with any per-repository overrides applied).
List organization repositoriesrepos_list_for_orgGETLists repositories for the specified organization.
List organization rule suitesrepos_get_org_rule_suitesGETLists suites of rule evaluations at the organization level.
List public repositoriesrepos_list_publicGETLists all public repositories in the order that they were created.
List pull requests associated with a commitrepos_list_pull_requests_associated_with_commitGETLists the merged pull request that introduced the commit to the repository.
List release assetsrepos_list_release_assetsGET
List releasesrepos_list_releasesGETThis returns a list of releases, which does not include regular Git tags that have not been associated with a release.
List repositories for a userrepos_list_for_userGETLists public repositories for the specified user.
List repositories for the authenticated userrepos_list_for_authenticated_userGETLists repositories that the authenticated user has explicit permission (:read, :write, or :admin) to access.
List repository activitiesrepos_list_activitiesGETLists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.
List repository collaboratorsrepos_list_collaboratorsGETFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through...
List repository contributorsrepos_list_contributorsGETLists contributors to the specified repository and sorts them by the number of commits per contributor in descending order.
List repository invitationsrepos_list_invitationsGETWhen authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
List repository invitations for the authenticated userrepos_list_invitations_for_authenticated_userGETWhen authenticating as a user, this endpoint will list all currently open repository invitations for that user.
List repository languagesrepos_list_languagesGETLists languages for the specified repository.
List repository rule suitesrepos_get_repo_rule_suitesGETLists suites of rule evaluations at the repository level.
List repository tagsrepos_list_tagsGET
List repository teamsrepos_list_teamsGETLists the teams that have access to the specified repository and that are also visible to the authenticated user.
List repository webhooksrepos_list_webhooksGETLists webhooks for a repository.
Merge a branchrepos_mergePOST
Ping a repository webhookrepos_ping_webhookPOSTThis will trigger a ping event to be sent to the hook.
Redeliver a delivery for a repository webhookrepos_redeliver_webhook_deliveryPOSTRedeliver a webhook delivery for a webhook configured in a repository.
Remove a repository collaboratorrepos_remove_collaboratorDELETERemoves a collaborator from a repository.
Remove app access restrictionsrepos_remove_app_access_restrictionsDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Remove status check contextsrepos_remove_status_check_contextsDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Remove status check protectionrepos_remove_status_check_protectionDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Remove team access restrictionsrepos_remove_team_access_restrictionsDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Remove user access restrictionsrepos_remove_user_access_restrictionsDELETEProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Rename a branchrepos_rename_branchPOSTRenames a branch in a repository.
Replace all repository topicsrepos_replace_all_topicsPUT
Request a GitHub Pages buildrepos_request_pages_buildPOSTYou can request that your site be built from the latest revision on the default branch.
Set admin branch protectionrepos_set_admin_branch_protectionPOSTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Set app access restrictionsrepos_set_app_access_restrictionsPUTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Set status check contextsrepos_set_status_check_contextsPUTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Set team access restrictionsrepos_set_team_access_restrictionsPUTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Set user access restrictionsrepos_set_user_access_restrictionsPUTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Sync a fork branch with the upstream repositoryrepos_merge_upstreamPOSTSync a branch of a forked repository to keep it up-to-date with the upstream repository.
Test the push repository webhookrepos_test_push_webhookPOSTThis will trigger the hook with the latest push to the current repository if the hook is subscribed to push events.
Transfer a repositoryrepos_transferPOSTA transfer request will need to be accepted by the new owner when transferring a personal repository to another user.
Update a commit commentrepos_update_commit_commentPATCHUpdates the contents of a specified commit comment.
Update a deployment branch policyrepos_update_deployment_branch_policyPUTUpdates a deployment branch or tag policy for an environment.
Update a releaserepos_update_releasePATCHUsers with push access to the repository can edit a release.
Update a release assetrepos_update_release_assetPATCHUsers with push access to the repository can edit a release asset.
Update a repositoryrepos_updatePATCHNote : To edit a repository's topics, use the Replace all repository topics endpoint.
Update a repository invitationrepos_update_invitationPATCH
Update a repository rulesetrepos_update_repo_rulesetPUTUpdate a ruleset for a repository.
Update a repository webhookrepos_update_webhookPATCHUpdates a webhook configured in a repository.
Update a webhook configuration for a repositoryrepos_update_webhook_config_for_repoPATCHUpdates the webhook configuration for a repository.
Update an organization repository rulesetrepos_update_org_rulesetPUTUpdate a ruleset for an organization.
Update branch protectionrepos_update_branch_protectionPUTProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Update information about a GitHub Pages siterepos_update_information_about_pages_sitePUTUpdates information for a GitHub Pages site.
Update pull request review protectionrepos_update_pull_request_review_protectionPATCHProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Update status check protectionrepos_update_status_check_protectionPATCHProtected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub...
Upload a release assetrepos_upload_release_assetPOSTThis endpoint makes use of a Hypermedia relation to determine which URL to access.
Search7
Search codesearch_codeGETSearches for query terms inside of a file.
Search commitssearch_commitsGETFind commits via various criteria on the default branch (usually main).
Search issues and pull requestssearch_issues_and_pull_requestsGETFind issues by state and keyword.
Search labelssearch_labelsGETFind labels in a repository with names or descriptions that match search keywords.
Search repositoriessearch_reposGETFind repositories via various criteria.
Search topicssearch_topicsGETFind topics via various criteria.
Search userssearch_usersGETFind users via various criteria.
Secret Scanning17
Bulk create organization custom patternssecret_scanning_bulk_create_org_custom_patternsPOSTBulk creates secret scanning custom patterns for an organization.
Bulk create repository custom patternssecret_scanning_bulk_create_repo_custom_patternsPOSTBulk creates secret scanning custom patterns for a repository.
Bulk delete organization custom patternssecret_scanning_bulk_delete_org_custom_patternsDELETEBulk deletes secret scanning custom patterns for an organization.
Bulk delete repository custom patternssecret_scanning_bulk_delete_repo_custom_patternsDELETEBulk deletes secret scanning custom patterns for a repository.
Create a push protection bypasssecret_scanning_create_push_protection_bypassPOSTCreates a bypass for a previously push protected secret.
Get a secret scanning alertsecret_scanning_get_alertGETGets a single secret scanning alert detected in an eligible repository.
Get secret scanning scan history for a repositorysecret_scanning_get_scan_historyGETLists the latest default incremental and backfill scans by type for a repository.
List locations for a secret scanning alertsecret_scanning_list_locations_for_alertGETLists all locations for a given secret scanning alert for an eligible repository.
List organization custom patternssecret_scanning_list_org_custom_patternsGETLists secret scanning custom patterns for an organization.
List organization pattern configurationssecret_scanning_list_org_pattern_configsGETLists the secret scanning pattern configurations for an organization.
List repository custom patternssecret_scanning_list_repo_custom_patternsGETLists secret scanning custom patterns for a repository.
List secret scanning alerts for a repositorysecret_scanning_list_alerts_for_repoGETLists secret scanning alerts for an eligible repository, from newest to oldest.
List secret scanning alerts for an organizationsecret_scanning_list_alerts_for_orgGETLists secret scanning alerts for eligible repositories in an organization, from newest to oldest.
Update a repository custom patternsecret_scanning_update_repo_custom_patternPATCHUpdates a secret scanning custom pattern for a repository.
Update a secret scanning alertsecret_scanning_update_alertPATCHUpdates the status of a secret scanning alert in an eligible repository.
Update an organization custom patternsecret_scanning_update_org_custom_patternPATCHUpdates a secret scanning custom pattern for an organization.
Update organization pattern configurationssecret_scanning_update_org_pattern_configsPATCHUpdates the secret scanning pattern configurations for an organization.
Security Advisory10
Create a repository security advisorysecurity_advisories_create_repository_advisoryPOSTCreates a new repository security advisory.
Create a temporary private forksecurity_advisories_create_forkPOSTCreate a temporary private fork to collaborate on fixing a security vulnerability in your repository.
Get a global security advisorysecurity_advisories_get_global_advisoryGETGets a global security advisory using its GitHub Security Advisory (GHSA) identifier.
Get a repository security advisorysecurity_advisories_get_repository_advisoryGETGet a repository security advisory using its GitHub Security Advisory (GHSA) identifier.
List global security advisoriessecurity_advisories_list_global_advisoriesGETLists all global security advisories that match the specified parameters.
List repository security advisoriessecurity_advisories_list_repository_advisoriesGETLists security advisories in a repository.
List repository security advisories for an organizationsecurity_advisories_list_org_repository_advisoriesGETLists repository security advisories for an organization.
Privately report a security vulnerabilitysecurity_advisories_create_private_vulnerability_reportPOSTReport a security vulnerability to the maintainers of the repository.
Request a CVE for a repository security advisorysecurity_advisories_create_repository_advisory_cve_requestPOSTIf you want a CVE identification number for the security vulnerability in your project, and don't already have one, you can request a CVE identification number from GitHub.
Update a repository security advisorysecurity_advisories_update_repository_advisoryPATCHUpdate a repository security advisory using its GitHub Security Advisory (GHSA) identifier.
Team32
Add or update team membership for a userteams_add_or_update_membership_for_user_in_orgPUTAdds an organization member to a team.
Add or update team membership for a user (Legacy)teams_add_or_update_membership_for_user_legacyPUT[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
Add or update team repository permissionsteams_add_or_update_repo_permissions_in_orgPUTTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team.
Add or update team repository permissions (Legacy)teams_add_or_update_repo_permissions_legacyPUT[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
Add team member (Legacy)teams_add_member_legacyPUTThe "Add team member" endpoint (described below) is closing down.
Check team permissions for a repositoryteams_check_permissions_for_repo_in_orgGETChecks whether a team has admin, push, maintain, triage, or pull permission for a repository.
Check team permissions for a repository (Legacy)teams_check_permissions_for_repo_legacyGET[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
Create a teamteams_createPOSTTo create a team, the authenticated user must be a member or owner of {org}.
Delete a teamteams_delete_in_orgDELETETo delete a team, the authenticated user must be an organization owner or team maintainer.
Delete a team (Legacy)teams_delete_legacyDELETE[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
Get a team (Legacy)teams_get_legacyGET[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
Get a team by nameteams_get_by_nameGETGets a team using the team's slug.
Get team member (Legacy)teams_get_member_legacyGETThe "Get team member" endpoint (described below) is closing down.
Get team membership for a userteams_get_membership_for_user_in_orgGETTeam members will include the members of child teams.
Get team membership for a user (Legacy)teams_get_membership_for_user_legacyGET[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
List child teamsteams_list_child_in_orgGETLists the child teams of the team specified by {team slug}.
List child teams (Legacy)teams_list_child_legacyGET[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
List pending team invitationsteams_list_pending_invitations_in_orgGETThe return hash contains a role field which refers to the Organization Invitation role and will be one of the following values: direct member, admin, billing manager, hiring manager, or...
List pending team invitations (Legacy)teams_list_pending_invitations_legacyGET[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
List team membersteams_list_members_in_orgGETTeam members will include the members of child teams.
List team members (Legacy)teams_list_members_legacyGET[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
List team repositoriesteams_list_repos_in_orgGETLists a team's repositories visible to the authenticated user.
List team repositories (Legacy)teams_list_repos_legacyGET[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
List teamsteams_listGETLists all teams in an organization that are visible to the authenticated user.
List teams for the authenticated userteams_list_for_authenticated_userGETList all of the teams across all of the organizations to which the authenticated user belongs.
Remove a repository from a teamteams_remove_repo_in_orgDELETEIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team.
Remove a repository from a team (Legacy)teams_remove_repo_legacyDELETE[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
Remove team member (Legacy)teams_remove_member_legacyDELETEThe "Remove team member" endpoint (described below) is closing down.
Remove team membership for a userteams_remove_membership_for_user_in_orgDELETETo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with.
Remove team membership for a user (Legacy)teams_remove_membership_for_user_legacyDELETE[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
Update a teamteams_update_in_orgPATCHTo edit a team, the authenticated user must either be an organization owner or a team maintainer.
Update a team (Legacy)teams_update_legacyPATCH[!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API.
User47
Add an email address for the authenticated userusers_add_email_for_authenticated_userPOSTOAuth app tokens and personal access tokens (classic) need the user scope to use this endpoint.
Add social accounts for the authenticated userusers_add_social_account_for_authenticated_userPOSTAdd one or more social accounts to the authenticated user's profile.
Block a userusers_blockPUTBlocks the given user and returns a 204.
Check if a person is followed by the authenticated userusers_check_person_is_followed_by_authenticatedGET
Check if a user follows another userusers_check_following_for_userGET
Check if a user is blocked by the authenticated userusers_check_blockedGETReturns a 204 if the given user is blocked by the authenticated user.
Create a GPG key for the authenticated userusers_create_gpg_key_for_authenticated_userPOSTAdds a GPG key to the authenticated user's GitHub account.
Create a public SSH key for the authenticated userusers_create_public_ssh_key_for_authenticated_userPOSTAdds a public SSH key to the authenticated user's GitHub account.
Create a SSH signing key for the authenticated userusers_create_ssh_signing_key_for_authenticated_userPOSTCreates an SSH signing key for the authenticated user's GitHub account.
Delete a GPG key for the authenticated userusers_delete_gpg_key_for_authenticated_userDELETERemoves a GPG key from the authenticated user's GitHub account.
Delete a public SSH key for the authenticated userusers_delete_public_ssh_key_for_authenticated_userDELETERemoves a public SSH key from the authenticated user's GitHub account.
Delete an email address for the authenticated userusers_delete_email_for_authenticated_userDELETEOAuth app tokens and personal access tokens (classic) need the user scope to use this endpoint.
Delete an SSH signing key for the authenticated userusers_delete_ssh_signing_key_for_authenticated_userDELETEDeletes an SSH signing key from the authenticated user's GitHub account.
Delete attestations by IDusers_delete_attestations_by_idDELETEDelete an artifact attestation by unique ID that is associated with a repository owned by a user.
Delete attestations by subject digestusers_delete_attestations_by_subject_digestDELETEDelete an artifact attestation by subject digest.
Delete attestations in bulkusers_delete_attestations_bulkPOSTDelete artifact attestations in bulk by either subject digests or unique ID.
Delete social accounts for the authenticated userusers_delete_social_account_for_authenticated_userDELETEDeletes one or more social accounts from the authenticated user's profile.
Follow a userusers_followPUTNote that you'll need to set Content-Length to zero when calling out to this endpoint.
Get a GPG key for the authenticated userusers_get_gpg_key_for_authenticated_userGETView extended details for a single GPG key.
Get a public SSH key for the authenticated userusers_get_public_ssh_key_for_authenticated_userGETView extended details for a single public SSH key.
Get a userusers_get_by_usernameGETProvides publicly available information about someone with a GitHub account.
Get a user using their IDusers_get_by_idGETProvides publicly available information about someone with a GitHub account.
Get an SSH signing key for the authenticated userusers_get_ssh_signing_key_for_authenticated_userGETGets extended details for an SSH signing key.
Get contextual information for a userusers_get_context_for_userGETProvides hovercard information.
Get the authenticated userusers_get_authenticatedGETOAuth app tokens and personal access tokens (classic) need the user scope in order for the response to include private profile information.
List attestationsusers_list_attestationsGETList a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.
List attestations by bulk subject digestsusers_list_attestations_bulkPOSTList a collection of artifact attestations associated with any entry in a list of subject digests owned by a user.
List email addresses for the authenticated userusers_list_emails_for_authenticated_userGETLists all of your email addresses, and specifies which one is visible to the public.
List followers of a userusers_list_followers_for_userGETLists the people following the specified user.
List followers of the authenticated userusers_list_followers_for_authenticated_userGETLists the people following the authenticated user.
List GPG keys for a userusers_list_gpg_keys_for_userGETLists the GPG keys for a user.
List GPG keys for the authenticated userusers_list_gpg_keys_for_authenticated_userGETLists the current user's GPG keys.
List public email addresses for the authenticated userusers_list_public_emails_for_authenticated_userGETLists your publicly visible email address, which you can set with the Set primary email visibility for the authenticated user endpoint.
List public keys for a userusers_list_public_keys_for_userGETLists the verified public SSH keys for a user.
List public SSH keys for the authenticated userusers_list_public_ssh_keys_for_authenticated_userGETLists the public SSH keys for the authenticated user's GitHub account.
List social accounts for a userusers_list_social_accounts_for_userGETLists social media accounts for a user.
List social accounts for the authenticated userusers_list_social_accounts_for_authenticated_userGETLists all of your social accounts.
List SSH signing keys for a userusers_list_ssh_signing_keys_for_userGETLists the SSH signing keys for a user.
List SSH signing keys for the authenticated userusers_list_ssh_signing_keys_for_authenticated_userGETLists the SSH signing keys for the authenticated user's GitHub account.
List the people a user followsusers_list_following_for_userGETLists the people who the specified user follows.
List the people the authenticated user followsusers_list_followed_by_authenticated_userGETLists the people who the authenticated user follows.
List usersusers_listGETLists all users, in the order that they signed up on GitHub.
List users blocked by the authenticated userusers_list_blocked_by_authenticated_userGETList the users you've blocked on your personal account.
Set primary email visibility for the authenticated userusers_set_primary_email_visibility_for_authenticated_userPATCHSets the visibility for your primary email addresses.
Unblock a userusers_unblockDELETEUnblocks the given user and returns a 204.
Unfollow a userusers_unfollowDELETEOAuth app tokens and personal access tokens (classic) need the user:follow scope to use this endpoint.
Update the authenticated userusers_update_authenticatedPATCHNote: If your email is set to private and you send an email parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not...