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
- In Neblex open Connect › Connections and click New Connection.
- Search for GitHub and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
| Field | What 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.
| Event | What it does | How |
|---|---|---|
| New or updated action | Fires for each action that appears or changes since the last check. | Checks for changes |
| New or updated activity | Fires for each activity that appears or changes since the last check. | Checks for changes |
| New or updated agent task | Fires for each agent task created or changed since the last check. | Checks for changes by updated_at |
| New or updated agent | Fires for each agent created or changed since the last check. | Checks for changes by updated_at |
| New or updated app | Fires for each app created or changed since the last check. | Checks for changes by updated_at |
| New or updated campaign | Fires for each campaign created or changed since the last check. | Checks for changes by updated_at |
| New or updated check | Fires for each check that appears or changes since the last check. | Checks for changes |
| New or updated code scanning | Fires for each code scanning created or changed since the last check. | Checks for changes by updated_at |
| New or updated codespace | Fires for each codespace created or changed since the last check. | Checks for changes by updated_at |
| New or updated copilot | Fires for each copilot created or changed since the last check. | Checks for changes by updated_at |
| New or updated copilot space | Fires for each copilot space created or changed since the last check. | Checks for changes by updated_at |
| New or updated dependabot | Fires for each dependabot created or changed since the last check. | Checks for changes by updated_at |
| New or updated enterprise team membership | Fires for each enterprise team membership that appears or changes since the last check. | Checks for changes |
| New or updated enterprise team | Fires for each enterprise team created or changed since the last check. | Checks for changes by updated_at |
| New or updated gist | Fires for each gist created or changed since the last check. | Checks for changes by updated_at |
| New or updated hosted compute | Fires for each hosted compute that appears or changes since the last check. | Checks for changes |
| New or updated issue | Fires for each issue created or changed since the last check. | Checks for changes by updated_at |
| New or updated migration | Fires for each migration created or changed since the last check. | Checks for changes by updated_at |
| New or updated org | Fires for each org that appears or changes since the last check. | Checks for changes |
| New or updated private registry | Fires for each private registry created or changed since the last check. | Checks for changes by updated_at |
| New or updated project | Fires for each project created or changed since the last check. | Checks for changes by updated_at |
| New or updated pull | Fires for each pull created or changed since the last check. | Checks for changes by updated_at |
| New or updated reaction | Fires for each reaction that appears or changes since the last check. | Checks for changes |
| New or updated repo | Fires for each repo created or changed since the last check. | Checks for changes by updated_at |
| New or updated secret scanning | Fires for each secret scanning created or changed since the last check. | Checks for changes by updated_at |
| New or updated team | Fires for each team that appears or changes since the last check. | Checks for changes |
| New or updated user | Fires for each user that appears or changes since the last check. | Checks for changes |
| New action | Fires for each action that appears since the last check. | Checks for changes |
| New activity | Fires for each activity that appears since the last check. | Checks for changes |
| New agent task | Fires for each agent task created since the last check. | Checks for changes by created_at |
| New agent | Fires for each agent created since the last check. | Checks for changes by created_at |
| New app | Fires for each app created since the last check. | Checks for changes by created_at |
| New campaign | Fires for each campaign created since the last check. | Checks for changes by created_at |
| New check | Fires for each check that appears since the last check. | Checks for changes |
| New code scanning | Fires for each code scanning created since the last check. | Checks for changes by created_at |
| New codespace | Fires for each codespace created since the last check. | Checks for changes by created_at |
| New copilot | Fires for each copilot created since the last check. | Checks for changes by created_at |
| New copilot space | Fires for each copilot space created since the last check. | Checks for changes by created_at |
| New dependabot | Fires for each dependabot created since the last check. | Checks for changes by created_at |
| New enterprise team membership | Fires for each enterprise team membership that appears since the last check. | Checks for changes |
| New enterprise team | Fires for each enterprise team created since the last check. | Checks for changes by created_at |
| New gist | Fires for each gist created since the last check. | Checks for changes by created_at |
| New hosted compute | Fires for each hosted compute created since the last check. | Checks for changes by created_on |
| New issue | Fires for each issue created since the last check. | Checks for changes by created_at |
| New migration | Fires for each migration created since the last check. | Checks for changes by created_at |
| New org | Fires for each org that appears since the last check. | Checks for changes |
| New private registry | Fires for each private registry created since the last check. | Checks for changes by created_at |
| New project | Fires for each project created since the last check. | Checks for changes by created_at |
| New pull | Fires for each pull created since the last check. | Checks for changes by created_at |
| New reaction | Fires for each reaction created since the last check. | Checks for changes by created_at |
| New repo | Fires for each repo created since the last check. | Checks for changes by created_at |
| New secret scanning | Fires for each secret scanning created since the last check. | Checks for changes by created_at |
| New team | Fires for each team that appears since the last check. | Checks for changes |
| New user | Fires for each user that appears since the last check. | Checks for changes |
Use it in a flow
- Open a flow, open the node library and search for GitHub.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- 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_organization | PUT | Adds 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_org | PUT | Adds 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_repo | POST | Adds 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_org | POST | Adds 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_org | PUT | Adds 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_secret | PUT | Adds 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_variable | PUT | Adds a repository to an organization variable that is available to selected repositories. |
Approve a workflow run for a fork pull requestactions_approve_workflow_run | POST | Approves a workflow run for a pull request from a public fork of a first time contributor. |
Cancel a workflow runactions_cancel_workflow_run | POST | Cancels a workflow run using its id. |
Create a GitHub-hosted runner for an organizationactions_create_hosted_runner_for_org | POST | Creates a GitHub-hosted runner for an organization. |
Create a registration token for a repositoryactions_create_registration_token_for_repo | POST | Returns a token that you can pass to the config script. |
Create a registration token for an organizationactions_create_registration_token_for_org | POST | Returns a token that you can pass to the config script. |
Create a remove token for a repositoryactions_create_remove_token_for_repo | POST | Returns 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_org | POST | Returns 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_variable | POST | Creates 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_org | POST | Creates a new self-hosted runner group for an organization. |
Create a workflow dispatch eventactions_create_workflow_dispatch | POST | You can use this endpoint to manually trigger a GitHub Actions workflow run. |
Create an environment variableactions_create_environment_variable | POST | Create an environment variable that you can reference in a GitHub Actions workflow. |
Create an organization variableactions_create_org_variable | POST | Creates 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_repo | POST | Generates 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_org | POST | Generates a configuration that can be passed to the runner application at startup. |
Create or update a repository secretactions_create_or_update_repo_secret | PUT | Creates or updates a repository secret with an encrypted value. |
Create or update an environment secretactions_create_or_update_environment_secret | PUT | Creates or updates an environment secret with an encrypted value. |
Create or update an organization secretactions_create_or_update_org_secret | PUT | Creates or updates an organization secret with an encrypted value. |
Delete a custom image from the organizationactions_delete_custom_image_from_org | DELETE | Delete a custom image from the organization. |
Delete a GitHub Actions cache for a repository (using a cacheactions_delete_actions_cache_by_id | DELETE | Deletes a GitHub Actions cache for a repository, using a cache ID. |
Delete a GitHub-hosted runner for an organizationactions_delete_hosted_runner_for_org | DELETE | Deletes a GitHub-hosted runner for an organization. |
Delete a repository secretactions_delete_repo_secret | DELETE | Deletes a secret in a repository using the secret name. |
Delete a repository variableactions_delete_repo_variable | DELETE | Deletes a repository variable using the variable name. |
Delete a self-hosted runner from a repositoryactions_delete_self_hosted_runner_from_repo | DELETE | Forces the removal of a self-hosted runner from a repository. |
Delete a self-hosted runner from an organizationactions_delete_self_hosted_runner_from_org | DELETE | Forces 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_org | DELETE | Deletes a self-hosted runner group for an organization. |
Delete a workflow runactions_delete_workflow_run | DELETE | Deletes a specific workflow run. |
Delete an artifactactions_delete_artifact | DELETE | Deletes an artifact for a workflow run. |
Delete an environment secretactions_delete_environment_secret | DELETE | Deletes a secret in an environment using the secret name. |
Delete an environment variableactions_delete_environment_variable | DELETE | Deletes an environment variable using the variable name. |
Delete an image version of custom image from the organizationactions_delete_custom_image_version_from_org | DELETE | Delete an image version of custom image from the organization. |
Delete an organization secretactions_delete_org_secret | DELETE | Deletes a secret in an organization using the secret name. |
Delete an organization variableactions_delete_org_variable | DELETE | Deletes an organization variable using the variable name. |
Delete GitHub Actions caches for a repository (using a cacheactions_delete_actions_cache_by_key | DELETE | Deletes one or more GitHub Actions caches for a repository, using a complete cache key. |
Delete workflow run logsactions_delete_workflow_run_logs | DELETE | Deletes all logs for a workflow run. |
Disable a selected repository for GitHub Actions in anactions_disable_selected_repository_github_actions_organization | DELETE | Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. |
Disable a workflowactions_disable_workflow | PUT | Disables a workflow and sets the state of the workflow to disabled manually. |
Download an artifactactions_download_artifact | GET | Gets a redirect URL to download an archive for a repository. |
Download job logs for a workflow runactions_download_job_logs_for_workflow_run | GET | Gets a redirect URL to download a plain text file of logs for a workflow job. |
Download workflow run attempt logsactions_download_workflow_run_attempt_logs | GET | Gets a redirect URL to download an archive of log files for a specific workflow run attempt. |
Download workflow run logsactions_download_workflow_run_logs | GET | Gets 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_organization | PUT | Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. |
Enable a workflowactions_enable_workflow | PUT | Enables a workflow and sets the state of the workflow to active. |
Force cancel a workflow runactions_force_cancel_workflow_run | POST | Cancels 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_repository | GET | Gets 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_org | GET | Get a custom image definition for GitHub Actions Hosted Runners. |
Get a GitHub-hosted runner for an organizationactions_get_hosted_runner_for_org | GET | Gets a GitHub-hosted runner configured in an organization. |
Get a job for a workflow runactions_get_job_for_workflow_run | GET | Gets a specific job in a workflow run. |
Get a repository public keyactions_get_repo_public_key | GET | Gets your public key, which you need to encrypt secrets. |
Get a repository secretactions_get_repo_secret | GET | Gets a single repository secret without revealing its encrypted value. |
Get a repository variableactions_get_repo_variable | GET | Gets a specific variable in a repository. |
Get a self-hosted runner for a repositoryactions_get_self_hosted_runner_for_repo | GET | Gets a specific self-hosted runner configured in a repository. |
Get a self-hosted runner for an organizationactions_get_self_hosted_runner_for_org | GET | Gets a specific self-hosted runner configured in an organization. |
Get a self-hosted runner group for an organizationactions_get_self_hosted_runner_group_for_org | GET | Gets a specific self-hosted runner group for an organization. |
Get a workflowactions_get_workflow | GET | Gets a specific workflow. |
Get a workflow runactions_get_workflow_run | GET | Gets a specific workflow run. |
Get a workflow run attemptactions_get_workflow_run_attempt | GET | Gets a specific workflow run attempt. |
Get allowed actions and reusable workflows for a repositoryactions_get_allowed_actions_repository | GET | Gets 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_organization | GET | Gets the selected actions and reusable workflows that are allowed in an organization. |
Get an artifactactions_get_artifact | GET | Gets a specific artifact for a workflow run. |
Get an environment public keyactions_get_environment_public_key | GET | Get the public key for an environment, which you need to encrypt environment secrets. |
Get an environment secretactions_get_environment_secret | GET | Gets a single environment secret without revealing its encrypted value. |
Get an environment variableactions_get_environment_variable | GET | Gets a specific variable in an environment. |
Get an image version of a custom image for GitHub Actionsactions_get_custom_image_version_for_org | GET | Get an image version of a custom image for GitHub Actions Hosted Runners. |
Get an organization public keyactions_get_org_public_key | GET | Gets your public key, which you need to encrypt secrets. |
Get an organization secretactions_get_org_secret | GET | Gets a single organization secret without revealing its encrypted value. |
Get an organization variableactions_get_org_variable | GET | Gets a specific variable in an organization. |
Get artifact and log retention settings for a repositoryactions_get_artifact_and_log_retention_settings_repository | GET | Gets artifact and log retention settings for a repository. |
Get artifact and log retention settings for an organizationactions_get_artifact_and_log_retention_settings_organization | GET | Gets artifact and log retention settings for an organization. |
Get default workflow permissions for a repositoryactions_get_github_actions_default_workflow_permissions_repository | GET | Gets 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_organization | GET | Gets 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_repository | GET | Gets the fork PR contributor approval policy for a repository. |
Get fork PR contributor approval permissions for an organizationactions_get_fork_pr_contributor_approval_permissions_organization | GET | Gets the fork PR contributor approval policy for an organization. |
Get GitHub Actions cache retention limit for a repositoryactions_get_actions_cache_retention_limit_for_repository | GET | Gets GitHub Actions cache retention limit for a repository. |
Get GitHub Actions cache retention limit for an enterpriseactions_get_actions_cache_retention_limit_for_enterprise | GET | Gets GitHub Actions cache retention limit for an enterprise. |
Get GitHub Actions cache retention limit for an organizationactions_get_actions_cache_retention_limit_for_organization | GET | Gets GitHub Actions cache retention limit for an organization. |
Get GitHub Actions cache storage limit for a repositoryactions_get_actions_cache_storage_limit_for_repository | GET | Gets GitHub Actions cache storage limit for a repository. |
Get GitHub Actions cache storage limit for an enterpriseactions_get_actions_cache_storage_limit_for_enterprise | GET | Gets GitHub Actions cache storage limit for an enterprise. |
Get GitHub Actions cache storage limit for an organizationactions_get_actions_cache_storage_limit_for_organization | GET | Gets GitHub Actions cache storage limit for an organization. |
Get GitHub Actions cache usage for a repositoryactions_get_actions_cache_usage | GET | Gets GitHub Actions cache usage for a repository. |
Get GitHub Actions cache usage for an organizationactions_get_actions_cache_usage_for_org | GET | Gets the total GitHub Actions cache usage for an organization. |
Get GitHub Actions permissions for a repositoryactions_get_github_actions_permissions_repository | GET | Gets 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_organization | GET | Gets 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_org | GET | Get 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_org | GET | Get 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_org | GET | Get the GitHub-hosted runners limits for an organization. |
Get partner images for GitHub-hosted runners in an organizationactions_get_hosted_runners_partner_images_for_org | GET | Get the list of partner images available for GitHub-hosted runners for an organization. |
Get pending deployments for a workflow runactions_get_pending_deployments_for_run | GET | Get 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_org | GET | Get 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_repository | GET | Gets 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_organization | GET | Gets 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_organization | GET | Gets 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_repo | GET | Gets 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_repository | GET | Gets 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_run | GET | Anyone with read access to the repository can use this endpoint. |
Get workflow run usageactions_get_workflow_run_usage | GET | [!WARNING] This endpoint is in the process of closing down. |
Get workflow usageactions_get_workflow_usage | GET | [!WARNING] This endpoint is in the process of closing down. |
List artifacts for a repositoryactions_list_artifacts_for_repo | GET | Lists all artifacts for a repository. |
List concurrency groups for a repositoryactions_list_concurrency_groups_for_repository | GET | Lists the active concurrency groups for a repository. |
List concurrency groups for a workflow runactions_list_concurrency_groups_for_workflow_run | GET | Lists all concurrency groups associated with a workflow run or its jobs. |
List custom images for an organizationactions_list_custom_images_for_org | GET | List custom images for an organization. |
List environment secretsactions_list_environment_secrets | GET | Lists all secrets available in an environment without revealing their encrypted values. |
List environment variablesactions_list_environment_variables | GET | Lists all environment variables. |
List GitHub Actions caches for a repositoryactions_get_actions_cache_list | GET | Lists the GitHub Actions caches for a repository. |
List GitHub-hosted runners for an organizationactions_list_hosted_runners_for_org | GET | Lists 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_org | GET | Lists the GitHub-hosted runners in an organization group. |
List image versions of a custom image for an organizationactions_list_custom_image_versions_for_org | GET | List image versions of a custom image for an organization. |
List jobs for a workflow runactions_list_jobs_for_workflow_run | GET | Lists jobs for a workflow run. |
List jobs for a workflow run attemptactions_list_jobs_for_workflow_run_attempt | GET | Lists jobs for a specific workflow run attempt. |
List labels for a self-hosted runner for a repositoryactions_list_labels_for_self_hosted_runner_for_repo | GET | Lists 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_org | GET | Lists all labels for a self-hosted runner configured in an organization. |
List organization secretsactions_list_org_secrets | GET | Lists all secrets available in an organization without revealing their encrypted values. |
List organization variablesactions_list_org_variables | GET | Lists all organization variables. |
List repositories allowed to use self-hosted runners in anactions_list_selected_repositories_self_hosted_runners_organization | GET | Lists 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_org | GET | Lists 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_org | GET | Lists the repositories with access to a self-hosted runner group configured in an organization. |
List repository organization secretsactions_list_repo_organization_secrets | GET | Lists all organization secrets shared with a repository without revealing their encrypted values. |
List repository organization variablesactions_list_repo_organization_variables | GET | Lists all organization variables shared with a repository. |
List repository secretsactions_list_repo_secrets | GET | Lists all secrets available in a repository without revealing their encrypted values. |
List repository variablesactions_list_repo_variables | GET | Lists all repository variables. |
List repository workflowsactions_list_repo_workflows | GET | Lists the workflows in a repository. |
List runner applications for a repositoryactions_list_runner_applications_for_repo | GET | Lists binaries for the runner application that you can download and run. |
List runner applications for an organizationactions_list_runner_applications_for_org | GET | Lists 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_organization | GET | Lists the selected repositories that are enabled for GitHub Actions in an organization. |
List selected repositories for an organization secretactions_list_selected_repos_for_org_secret | GET | Lists 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_variable | GET | Lists 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_org | GET | Lists 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_repo | GET | Lists all self-hosted runners configured in a repository. |
List self-hosted runners for an organizationactions_list_self_hosted_runners_for_org | GET | Lists 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_org | GET | Lists self-hosted runners that are in a specific organization group. |
List workflow run artifactsactions_list_workflow_run_artifacts | GET | Lists artifacts for a workflow run. |
List workflow runs for a repositoryactions_list_workflow_runs_for_repo | GET | Lists all workflow runs for a repository. |
List workflow runs for a workflowactions_list_workflow_runs | GET | List all workflow runs for a workflow. |
Re-run a job from a workflow runactions_re_run_job_for_workflow_run | POST | Re-run a job and its dependent jobs in a workflow run. |
Re-run a workflowactions_re_run_workflow | POST | Re-runs your workflow run using its id. |
Re-run failed jobs from a workflow runactions_re_run_workflow_failed_jobs | POST | Re-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_repo | DELETE | Remove 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_org | DELETE | Remove 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_organization | DELETE | Removes 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_org | DELETE | Removes 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_repo | DELETE | Remove 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_org | DELETE | Remove 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_org | DELETE | Removes 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_secret | DELETE | Removes 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_variable | DELETE | Removes 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_run | POST | Approve 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_run | POST | Approve 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_repository | PUT | Sets the actions and reusable workflows that are allowed in a repository. |
Set allowed actions and reusable workflows for an organizationactions_set_allowed_actions_organization | PUT | Sets 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_repository | PUT | Sets artifact and log retention settings for a repository. |
Set artifact and log retention settings for an organizationactions_set_artifact_and_log_retention_settings_organization | PUT | Sets 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_repo | PUT | Remove 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_org | PUT | Remove 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_repository | PUT | Sets 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_organization | PUT | Sets 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_repository | PUT | Sets the fork PR contributor approval policy for a repository. |
Set fork PR contributor approval permissions for an organizationactions_set_fork_pr_contributor_approval_permissions_organization | PUT | Sets the fork PR contributor approval policy for an organization. |
Set GitHub Actions cache retention limit for a repositoryactions_set_actions_cache_retention_limit_for_repository | PUT | Sets GitHub Actions cache retention limit for a repository. |
Set GitHub Actions cache retention limit for an enterpriseactions_set_actions_cache_retention_limit_for_enterprise | PUT | Sets GitHub Actions cache retention limit for an enterprise. |
Set GitHub Actions cache retention limit for an organizationactions_set_actions_cache_retention_limit_for_organization | PUT | Sets GitHub Actions cache retention limit for an organization. |
Set GitHub Actions cache storage limit for a repositoryactions_set_actions_cache_storage_limit_for_repository | PUT | Sets GitHub Actions cache storage limit for a repository. |
Set GitHub Actions cache storage limit for an enterpriseactions_set_actions_cache_storage_limit_for_enterprise | PUT | Sets GitHub Actions cache storage limit for an enterprise. |
Set GitHub Actions cache storage limit for an organizationactions_set_actions_cache_storage_limit_for_organization | PUT | Sets GitHub Actions cache storage limit for an organization. |
Set GitHub Actions permissions for a repositoryactions_set_github_actions_permissions_repository | PUT | Sets 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_organization | PUT | Sets 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_repository | PUT | Sets 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_organization | PUT | Sets 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_organization | PUT | Sets 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_org | PUT | Replaces 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_organization | PUT | Replaces 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_secret | PUT | Replaces 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_variable | PUT | Replaces 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_org | PUT | Replaces 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_organization | PUT | Sets 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_repo | PUT | Sets 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_repository | PUT | Sets 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_org | PATCH | Updates a GitHub-hosted runner for an organization. |
Update a repository variableactions_update_repo_variable | PATCH | Updates 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_org | PATCH | Updates the name and visibility of a self-hosted runner group in an organization. |
Update an environment variableactions_update_environment_variable | PATCH | Updates an environment variable that you can reference in a GitHub Actions workflow. |
Update an organization variableactions_update_org_variable | PATCH | Updates 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_user | GET | Whether the authenticated user has starred the repository. |
Delete a repository subscriptionactivity_delete_repo_subscription | DELETE | This endpoint should only be used to stop watching a repository. |
Delete a thread subscriptionactivity_delete_thread_subscription | DELETE | Mutes all future notifications for a conversation until you comment on the thread or get an @mention . |
Get a repository subscriptionactivity_get_repo_subscription | GET | Gets information about whether the authenticated user is subscribed to the repository. |
Get a threadactivity_get_thread | GET | Gets information about a notification thread. |
Get a thread subscription for the authenticated useractivity_get_thread_subscription_for_authenticated_user | GET | This checks to see if the current user is subscribed to a thread. |
Get feedsactivity_get_feeds | GET | Lists the feeds available to the authenticated user. |
List events for the authenticated useractivity_list_events_for_authenticated_user | GET | If you are authenticated as the given user, you will see your private events. |
List events received by the authenticated useractivity_list_received_events_for_user | GET | These are events that you've received by watching repositories and following users. |
List notifications for the authenticated useractivity_list_notifications_for_authenticated_user | GET | List all notifications for the current user, sorted by most recently updated. |
List organization events for the authenticated useractivity_list_org_events_for_authenticated_user | GET | This is the user's organization dashboard. |
List public eventsactivity_list_public_events | GET | [!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_network | GET | [!NOTE] This API is not built to serve real-time use cases. |
List public events for a useractivity_list_public_events_for_user | GET | [!NOTE] This API is not built to serve real-time use cases. |
List public events received by a useractivity_list_received_public_events_for_user | GET | [!NOTE] This API is not built to serve real-time use cases. |
List public organization eventsactivity_list_public_org_events | GET | [!NOTE] This API is not built to serve real-time use cases. |
List repositories starred by a useractivity_list_repos_starred_by_user | GET | Lists repositories a user has starred. |
List repositories starred by the authenticated useractivity_list_repos_starred_by_authenticated_user | GET | Lists repositories the authenticated user has starred. |
List repositories watched by a useractivity_list_repos_watched_by_user | GET | Lists repositories a user is watching. |
List repositories watched by the authenticated useractivity_list_watched_repos_for_authenticated_user | GET | Lists repositories the authenticated user is watching. |
List repository eventsactivity_list_repo_events | GET | [!NOTE] This API is not built to serve real-time use cases. |
List repository notifications for the authenticated useractivity_list_repo_notifications_for_authenticated_user | GET | Lists all notifications for the current user in the specified repository. |
List stargazersactivity_list_stargazers_for_repo | GET | Lists the people that have starred the repository. |
List watchersactivity_list_watchers_for_repo | GET | Lists the people watching the specified repository. |
Mark a thread as doneactivity_mark_thread_as_done | DELETE | Marks 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_read | PATCH | Marks 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_read | PUT | Marks all notifications as "read" for the current user. |
Mark repository notifications as readactivity_mark_repo_notifications_as_read | PUT | Marks all notifications in a repository as "read" for the current user. |
Set a repository subscriptionactivity_set_repo_subscription | PUT | If you would like to watch a repository, set subscribed to true. |
Set a thread subscriptionactivity_set_thread_subscription | PUT | If you are watching a repository, you receive notifications for all threads by default. |
Star a repository for the authenticated useractivity_star_repo_for_authenticated_user | PUT | Note 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_user | DELETE | Unstar a repository that the authenticated user has previously starred. |
Agent30
Add selected repository to an organization secretagents_add_selected_repo_to_org_secret | PUT | Adds 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_variable | PUT | Adds a repository to an organization agent variable that is available to selected repositories. |
Create a repository variableagents_create_repo_variable | POST | Creates a repository variable that you can reference in a GitHub Actions workflow. |
Create an organization variableagents_create_org_variable | POST | Creates an organization agent variable that you can reference in a GitHub Actions workflow. |
Create or update a repository secretagents_create_or_update_repo_secret | PUT | Creates or updates a repository secret with an encrypted value. |
Create or update an organization secretagents_create_or_update_org_secret | PUT | Creates or updates an organization secret with an encrypted value. |
Delete a repository secretagents_delete_repo_secret | DELETE | Deletes a secret in a repository using the secret name. |
Delete a repository variableagents_delete_repo_variable | DELETE | Deletes a repository variable using the variable name. |
Delete an organization secretagents_delete_org_secret | DELETE | Deletes a secret in an organization using the secret name. |
Delete an organization variableagents_delete_org_variable | DELETE | Deletes an organization agent variable using the variable name. |
Get a repository public keyagents_get_repo_public_key | GET | Gets your public key, which you need to encrypt secrets. |
Get a repository secretagents_get_repo_secret | GET | Gets a single repository secret without revealing its encrypted value. |
Get a repository variableagents_get_repo_variable | GET | Gets a specific variable in a repository. |
Get an organization public keyagents_get_org_public_key | GET | Gets your public key, which you need to encrypt secrets. |
Get an organization secretagents_get_org_secret | GET | Gets a single organization secret without revealing its encrypted value. |
Get an organization variableagents_get_org_variable | GET | Gets a specific agent variable in an organization. |
List organization secretsagents_list_org_secrets | GET | Lists all secrets available in an organization without revealing their encrypted values. |
List organization variablesagents_list_org_variables | GET | Lists all agent variables available in an organization. |
List repository organization secretsagents_list_repo_organization_secrets | GET | Lists all organization secrets shared with a repository without revealing their encrypted values. |
List repository organization variablesagents_list_repo_organization_variables | GET | Lists all organization variables shared with a repository. |
List repository secretsagents_list_repo_secrets | GET | Lists all secrets available in a repository without revealing their encrypted values. |
List repository variablesagents_list_repo_variables | GET | Lists all repository variables. |
List selected repositories for an organization secretagents_list_selected_repos_for_org_secret | GET | Lists 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_variable | GET | Lists 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_secret | DELETE | Removes 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_variable | DELETE | Removes 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_secret | PUT | Replaces 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_variable | PUT | Replaces all repositories for an organization agent variable that is available to selected repositories. |
Update a repository variableagents_update_repo_variable | PATCH | Updates a repository variable that you can reference in a GitHub Actions workflow. |
Update an organization variableagents_update_org_variable | PATCH | Updates an organization agent variable that you can reference in a GitHub Actions workflow. |
Agent Task5
Get a task by IDagent_tasks_get_task_by_id | GET | [!NOTE] This endpoint is in public preview and is subject to change. |
Get a task by repoagent_tasks_get_task_by_repo_and_id | GET | [!NOTE] This endpoint is in public preview and is subject to change. |
List tasksagent_tasks_list_tasks | GET | [!NOTE] This endpoint is in public preview and is subject to change. |
List tasks for repositoryagent_tasks_list_tasks_for_repo | GET | [!NOTE] This endpoint is in public preview and is subject to change. |
Start a taskagent_tasks_create_task_in_repo | POST | [!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_user | PUT | Add a single repository to an installation. |
Check a tokenapps_check_token | POST | OAuth 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_manifest | POST | Use this endpoint to complete the handshake necessary when implementing the GitHub App Manifest flow. |
Create a scoped access tokenapps_scope_token | POST | Use 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_token | POST | Creates 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_authorization | DELETE | OAuth and GitHub application owners can revoke a grant for their application and a specific user. |
Delete an app tokenapps_delete_token | DELETE | OAuth 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_installation | DELETE | Uninstalls a GitHub App on a user, organization, or enterprise account. |
Get a delivery for an app webhookapps_get_webhook_delivery | GET | Returns a delivery for the webhook configured for a GitHub App. |
Get a repository installation for the authenticated appapps_get_repo_installation | GET | Enables an authenticated GitHub App to find the repository's installation information. |
Get a subscription plan for an accountapps_get_subscription_plan_for_account | GET | Shows 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_stubbed | GET | Shows 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_installation | GET | Enables an authenticated GitHub App to find the user’s installation information. |
Get a webhook configuration for an appapps_get_webhook_config_for_app | GET | Returns the webhook configuration for a GitHub App. |
Get an appapps_get_by_slug | GET | [!NOTE] The :app slug is just the URL-friendly name of your GitHub App. |
Get an installation for the authenticated appapps_get_installation | GET | Enables an authenticated GitHub App to find an installation's information using the installation id. |
Get an organization installation for the authenticated appapps_get_org_installation | GET | Enables an authenticated GitHub App to find the organization's installation information. |
Get the authenticated appapps_get_authenticated | GET | Returns the GitHub App associated with the authentication credentials used. |
List accounts for a planapps_list_accounts_for_plan | GET | Returns user and organization accounts associated with the specified plan, including free plans. |
List accounts for a plan (stubbed)apps_list_accounts_for_plan_stubbed | GET | Returns 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_user | GET | Lists 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_deliveries | GET | Returns 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_app | GET | Lists all the pending installation requests for the authenticated GitHub App. |
List installations for the authenticated appapps_list_installations | GET | The permissions the installation has are included under the permissions key. |
List plansapps_list_plans | GET | Lists all plans that are part of your GitHub Marketplace listing. |
List plans (stubbed)apps_list_plans_stubbed | GET | Lists all plans that are part of your GitHub Marketplace listing. |
List repositories accessible to the app installationapps_list_repos_accessible_to_installation | GET | List repositories that an app installation can access. |
List repositories accessible to the user access tokenapps_list_installation_repos_for_authenticated_user | GET | List 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_user | GET | Lists the active subscriptions for the authenticated user. |
List subscriptions for the authenticated user (stubbed)apps_list_subscriptions_for_authenticated_user_stubbed | GET | Lists the active subscriptions for the authenticated user. |
Redeliver a delivery for an app webhookapps_redeliver_webhook_delivery | POST | Redeliver a delivery for the webhook configured for a GitHub App. |
Remove a repository from an app installationapps_remove_repo_from_installation_for_authenticated_user | DELETE | Remove a single repository from an installation. |
Reset a tokenapps_reset_token | PATCH | OAuth 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_token | DELETE | Revokes the installation token you're using to authenticate as an installation and access this endpoint. |
Suspend an app installationapps_suspend_installation | PUT | Suspends 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_installation | DELETE | Removes a GitHub App installation suspension. |
Update a webhook configuration for an appapps_update_webhook_config_for_app | PATCH | Updates the webhook configuration for a GitHub App. |
Billing13
Create a budget for an organizationbilling_create_organization_budget | POST | Creates a new budget for an organization. |
Delete a budget for an organizationbilling_delete_budget_org | DELETE | Deletes a budget by ID for an organization. |
Get a budget by ID for an organizationbilling_get_budget_org | GET | Gets a budget by ID. |
Get all budgets for an organizationbilling_get_all_budgets_org | GET | Gets all budgets for an organization. |
Get billing AI credit usage report for a userbilling_get_github_billing_ai_credit_usage_report_user | GET | Gets 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_org | GET | Gets 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_user | GET | Gets 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_org | GET | Gets a report of premium request usage for an organization. |
Get billing usage report for a userbilling_get_github_billing_usage_report_user | GET | Gets a report of the total usage for a user. |
Get billing usage report for an organizationbilling_get_github_billing_usage_report_org | GET | Gets a report of the total usage for an organization. |
Get billing usage summary for a userbilling_get_github_billing_usage_summary_report_user | GET | [!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_org | GET | [!NOTE] This endpoint is in public preview and is subject to change. |
Update a budget for an organizationbilling_update_budget_org | PATCH | Updates an existing budget for an organization. |
Campaign5
Create a campaign for an organizationcampaigns_create_campaign | POST | Create a campaign for an organization. |
Delete a campaign for an organizationcampaigns_delete_campaign | DELETE | Deletes a campaign in an organization. |
Get a campaign for an organizationcampaigns_get_campaign_summary | GET | Gets a campaign for an organization. |
List campaigns for an organizationcampaigns_list_org_campaigns | GET | Lists campaigns in an organization. |
Update a campaigncampaigns_update_campaign | PATCH | Updates a campaign in an organization. |
Check12
Create a check runchecks_create | POST | Creates a new check run for a specific commit in a repository. |
Create a check suitechecks_create_suite | POST | Creates a check suite manually. |
Get a check runchecks_get | GET | Gets a single check run using its id. |
Get a check suitechecks_get_suite | GET | Gets a single check suite using its id. |
List check run annotationschecks_list_annotations | GET | Lists annotations for a check run using the annotation id. |
List check runs for a Git referencechecks_list_for_ref | GET | Lists check runs for a commit ref. |
List check runs in a check suitechecks_list_for_suite | GET | Lists check runs for a check suite using its id. |
List check suites for a Git referencechecks_list_suites_for_ref | GET | Lists check suites for a commit ref. |
Rerequest a check runchecks_rerequest_run | POST | Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. |
Rerequest a check suitechecks_rerequest_suite | POST | Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. |
Update a check runchecks_update | PATCH | Updates a check run for a specific commit in a repository. |
Update repository preferences for check suiteschecks_set_suites_preferences | PATCH | Changes the default automatic flow when creating check suites. |
Classroom6
Get a classroomclassroom_get_a_classroom | GET | Gets a GitHub Classroom classroom for the current user. |
Get an assignmentclassroom_get_an_assignment | GET | Gets a GitHub Classroom assignment. |
Get assignment gradesclassroom_get_assignment_grades | GET | Gets grades for a GitHub Classroom assignment. |
List accepted assignments for an assignmentclassroom_list_accepted_assignments_for_an_assignment | GET | Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. |
List assignments for a classroomclassroom_list_assignments_for_a_classroom | GET | Lists GitHub Classroom assignments for a classroom. |
List classroomsclassroom_list_classrooms | GET | Lists GitHub Classroom classrooms for the current user. |
Code Quality4
Get a code quality findingcode_quality_get_finding | GET | Gets a single code quality finding. |
Get a code quality setup configurationcode_quality_get_setup | GET | Gets a code quality setup configuration. |
List code quality findings for a repositorycode_quality_list_findings_for_repo | GET | Lists code quality findings for a repository. |
Update a code quality setup configurationcode_quality_update_setup | PATCH | Updates a code quality setup configuration. |
Code Scanning21
Commit an autofix for a code scanning alertcode_scanning_commit_autofix | POST | Commits an autofix for a code scanning alert from the repository's default branch. |
Create a CodeQL variant analysiscode_scanning_create_variant_analysis | POST | Creates 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_autofix | POST | Creates an autofix for a code scanning alert from the repository's default branch. |
Delete a code scanning analysis from a repositorycode_scanning_delete_analysis | DELETE | Deletes a specified code scanning analysis from a repository. |
Delete a CodeQL databasecode_scanning_delete_codeql_database | DELETE | Deletes a CodeQL database for a language in a repository. |
Get a code scanning alertcode_scanning_get_alert | GET | Gets a single code scanning alert. |
Get a code scanning analysis for a repositorycode_scanning_get_analysis | GET | Gets a specified code scanning analysis for a repository. |
Get a code scanning default setup configurationcode_scanning_get_default_setup | GET | Gets a code scanning default setup configuration. |
Get a CodeQL database for a repositorycode_scanning_get_codeql_database | GET | Gets a CodeQL database for a language in a repository. |
Get information about a SARIF uploadcode_scanning_get_sarif | GET | Gets 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_task | GET | Gets the analysis status of a repository in a CodeQL variant analysis. |
Get the status of an autofix for a code scanning alertcode_scanning_get_autofix | GET | Gets 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_analysis | GET | Gets the summary of a CodeQL variant analysis. |
List code scanning alerts for a repositorycode_scanning_list_alerts_for_repo | GET | Lists code scanning alerts. |
List code scanning alerts for an organizationcode_scanning_list_alerts_for_org | GET | Lists code scanning alerts for the default branch for all eligible repositories in an organization. |
List code scanning analyses for a repositorycode_scanning_list_recent_analyses | GET | Lists the details of all code scanning analyses for a repository, starting with the most recent. |
List CodeQL databases for a repositorycode_scanning_list_codeql_databases | GET | Lists the CodeQL databases that are available in a repository. |
List instances of a code scanning alertcode_scanning_list_alert_instances | GET | Lists all instances of the specified code scanning alert. |
Update a code scanning alertcode_scanning_update_alert | PATCH | Updates the status of a single code scanning alert. |
Update a code scanning default setup configurationcode_scanning_update_default_setup | PATCH | Updates a code scanning default setup configuration. |
Upload an analysis as SARIF datacode_scanning_upload_sarif | POST | Uploads 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_configuration | POST | Attach a code security configuration to a set of repositories. |
Attach an enterprise configuration to repositoriescode_security_attach_enterprise_configuration | POST | Attaches an enterprise code security configuration to repositories. |
Create a code security configurationcode_security_create_configuration | POST | Creates a code security configuration in an organization. |
Create a code security configuration for an enterprisecode_security_create_configuration_for_enterprise | POST | Creates a code security configuration in an enterprise. |
Delete a code security configurationcode_security_delete_configuration | DELETE | Deletes the desired code security configuration from an organization. |
Delete a code security configuration for an enterprisecode_security_delete_configuration_for_enterprise | DELETE | Deletes a code security configuration from an enterprise. |
Detach configurations from repositoriescode_security_detach_configuration | DELETE | Detach code security configuration(s) from a set of repositories. |
Get a code security configurationcode_security_get_configuration | GET | Gets a code security configuration available in an organization. |
Get code security configurations for an enterprisecode_security_get_configurations_for_enterprise | GET | Lists all code security configurations available in an enterprise. |
Get code security configurations for an organizationcode_security_get_configurations_for_org | GET | Lists all code security configurations available in an organization. |
Get default code security configurationscode_security_get_default_configurations | GET | Lists the default code security configurations for an organization. |
Get default code security configurations for an enterprisecode_security_get_default_configurations_for_enterprise | GET | Lists the default code security configurations for an enterprise. |
Get repositories associated with a code security configurationcode_security_get_repositories_for_configuration | GET | Lists the repositories associated with a code security configuration in an organization. |
Get repositories associated with an enterprise code securitycode_security_get_repositories_for_enterprise_configuration | GET | Lists 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_repository | GET | Get 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_enterprise | GET | Gets a code security configuration available in an enterprise. |
Set a code security configuration as a default for ancode_security_set_configuration_as_default | PUT | Sets 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_enterprise | PUT | Sets a code security configuration as a default to be applied to new repositories in your enterprise. |
Update a code security configurationcode_security_update_configuration | PATCH | Updates a code security configuration in an organization. |
Update a custom code security configuration for an enterprisecode_security_update_enterprise_configuration | PATCH | Updates a code security configuration in an enterprise. |
Codes Of Conduct2
Get a code of conductcodes_of_conduct_get_conduct_code | GET | Returns information about the specified GitHub code of conduct. |
Get all codes of conductcodes_of_conduct_get_all_codes_of_conduct | GET | Returns array of all GitHub's codes of conduct. |
Codespace48
Add a selected repository to a user secretcodespaces_add_repository_for_secret_for_authenticated_user | PUT | Adds 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_secret | PUT | Adds 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_users | POST | Codespaces for the specified users will be billed to the organization. |
Check if permissions defined by a devcontainer have beencodespaces_check_permissions_for_devcontainer | GET | Checks 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_user | POST | Creates a new codespace, owned by the authenticated user. |
Create a codespace from a pull requestcodespaces_create_with_pr_for_authenticated_user | POST | Creates a codespace owned by the authenticated user for the specified pull request. |
Create a codespace in a repositorycodespaces_create_with_repo_for_authenticated_user | POST | Creates a codespace owned by the authenticated user in the specified repository. |
Create a repository from an unpublished codespacecodespaces_publish_for_authenticated_user | POST | Publishes an unpublished codespace, creating a new repository and assigning it to the codespace. |
Create or update a repository secretcodespaces_create_or_update_repo_secret | PUT | Creates 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_user | PUT | Creates 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_secret | PUT | Creates or updates an organization development environment secret with an encrypted value. |
Delete a codespace for the authenticated usercodespaces_delete_for_authenticated_user | DELETE | Deletes a user's codespace. |
Delete a codespace from the organizationcodespaces_delete_from_organization | DELETE | Deletes a user's codespace. |
Delete a repository secretcodespaces_delete_repo_secret | DELETE | Deletes a development environment secret in a repository using the secret name. |
Delete a secret for the authenticated usercodespaces_delete_secret_for_authenticated_user | DELETE | Deletes a development environment secret from a user's codespaces using the secret name. |
Delete an organization secretcodespaces_delete_org_secret | DELETE | Deletes an organization development environment secret using the secret name. |
Export a codespace for the authenticated usercodespaces_export_for_authenticated_user | POST | Triggers 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_user | GET | Gets information about a user's codespace. |
Get a repository public keycodespaces_get_repo_public_key | GET | Gets your public key, which you need to encrypt secrets. |
Get a repository secretcodespaces_get_repo_secret | GET | Gets a single repository development environment secret without revealing its encrypted value. |
Get a secret for the authenticated usercodespaces_get_secret_for_authenticated_user | GET | Gets a development environment secret available to a user's codespaces without revealing its encrypted value. |
Get an organization public keycodespaces_get_org_public_key | GET | Gets a public key for an organization, which is required in order to encrypt secrets. |
Get an organization secretcodespaces_get_org_secret | GET | Gets an organization development environment secret without revealing its encrypted value. |
Get default attributes for a codespacecodespaces_pre_flight_with_repo_for_authenticated_user | GET | Gets the default attributes for codespaces created by the user with the repository. |
Get details about a codespace exportcodespaces_get_export_details_for_authenticated_user | GET | Gets information about an export of a codespace. |
Get public key for the authenticated usercodespaces_get_public_key_for_authenticated_user | GET | Gets your public key, which you need to encrypt secrets. |
List available machine types for a repositorycodespaces_repo_machines_for_authenticated_user | GET | List the machine types available for a given repository based on its configuration. |
List codespaces for a user in organizationcodespaces_get_codespaces_for_user_in_org | GET | Lists the codespaces that a member of an organization has for repositories in that organization. |
List codespaces for the authenticated usercodespaces_list_for_authenticated_user | GET | Lists the authenticated user's codespaces. |
List codespaces for the organizationcodespaces_list_in_organization | GET | Lists the codespaces associated to a specified organization. |
List codespaces in a repository for the authenticated usercodespaces_list_in_repository_for_authenticated_user | GET | Lists 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_user | GET | Lists the devcontainer.json files associated with a specified repository and the authenticated user. |
List machine types for a codespacecodespaces_codespace_machines_for_authenticated_user | GET | List the machine types a codespace can transition to use. |
List organization secretscodespaces_list_org_secrets | GET | Lists all Codespaces development environment secrets available at the organization-level without revealing their encrypted values. |
List repository secretscodespaces_list_repo_secrets | GET | Lists all development environment secrets available in a repository without revealing their encrypted values. |
List secrets for the authenticated usercodespaces_list_secrets_for_authenticated_user | GET | Lists 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_user | GET | List 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_secret | GET | Lists 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_access | PUT | Sets which users can access codespaces in an organization. |
Remove a selected repository from a user secretcodespaces_remove_repository_for_secret_for_authenticated_user | DELETE | Removes 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_secret | DELETE | Removes 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_users | DELETE | Codespaces 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_user | PUT | Select the repositories that will use a user's development environment secret. |
Set selected repositories for an organization secretcodespaces_set_selected_repos_for_org_secret | PUT | Replaces 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_user | POST | Starts a user's codespace. |
Stop a codespace for an organization usercodespaces_stop_in_organization | POST | Stops a user's codespace. |
Stop a codespace for the authenticated usercodespaces_stop_for_authenticated_user | POST | Stops a user's codespace. |
Update a codespace for the authenticated usercodespaces_update_for_authenticated_user | PATCH | Updates a codespace owned by the authenticated user. |
Copilot31
Add organizations to the enterprise coding agent policycopilot_add_organizations_to_enterprise_coding_agent_policy | POST | Enables Copilot cloud agent for the specified organizations within the enterprise. |
Add teams to the Copilot subscription for an organizationcopilot_add_copilot_seats_for_teams | POST | [!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_users | POST | [!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_organization | DELETE | [!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_organization | PUT | [!NOTE] This endpoint is in public preview and is subject to change. |
Get Copilot cloud agent configuration for a repositorycopilot_get_copilot_cloud_agent_configuration | GET | [!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_organization | GET | [!NOTE] This endpoint is in public preview and is subject to change. |
Get Copilot content exclusion rules for an organizationcopilot_copilot_content_exclusion_for_organization | GET | [!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_report | GET | Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. |
Get Copilot enterprise usage metricscopilot_copilot_enterprise_usage_metrics | GET | Use 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_metrics | GET | Use 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_report | GET | Use 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_report | GET | Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. |
Get Copilot organization usage metricscopilot_copilot_organization_usage_metrics | GET | Use 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_metrics | GET | Use 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_report | GET | Use 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_metrics | GET | Use 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_metrics | GET | Use 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_user | GET | [!NOTE] This endpoint is in public preview and is subject to change. |
Get Copilot seat information and settings for an organizationcopilot_get_copilot_organization_details | GET | [!NOTE] This endpoint is in public preview and is subject to change. |
Get Copilot users usage metricscopilot_copilot_users_usage_metrics | GET | Use 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_metrics | GET | Use 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_seats | GET | [!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_organization | GET | [!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_policy | DELETE | Disables Copilot cloud agent for the specified organizations within the enterprise. |
Remove teams from the Copilot subscription for an organizationcopilot_cancel_copilot_seat_assignment_for_teams | DELETE | [!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_users | DELETE | [!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_organization | PUT | [!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_organization | PUT | [!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_organization | PUT | [!NOTE] This endpoint is in public preview and is subject to change. |
Set the coding agent policy for an enterprisecopilot_set_enterprise_coding_agent_policy | PUT | Sets 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_user | POST | Adds a collaborator to a specific Copilot Space owned by a user. |
Add a collaborator to an organization Copilot Spacecopilot_spaces_add_collaborator_for_org | POST | Adds a collaborator (user or team) to a specific Copilot Space owned by an organization. |
Create a Copilot Space for a usercopilot_spaces_create_for_user | POST | Creates a new Copilot Space owned by a user. |
Create a resource for a Copilot Space for a usercopilot_spaces_create_resource_for_user | POST | Creates a new resource in a specific Copilot Space owned by a user. |
Create a resource for an organization Copilot Spacecopilot_spaces_create_resource_for_org | POST | Creates a new resource in a specific Copilot Space owned by an organization. |
Create an organization Copilot Spacecopilot_spaces_create_for_org | POST | Creates a new Copilot Space owned by an organization. |
Delete a Copilot Space for a usercopilot_spaces_delete_for_user | DELETE | Deletes a Copilot Space owned by a user. |
Delete a resource from a Copilot Space for a usercopilot_spaces_delete_resource_for_user | DELETE | Deletes a resource from a specific Copilot Space owned by a user. |
Delete a resource from an organization Copilot Spacecopilot_spaces_delete_resource_for_org | DELETE | Deletes a resource from a specific Copilot Space owned by an organization. |
Delete an organization Copilot Spacecopilot_spaces_delete_for_org | DELETE | Deletes a Copilot Space owned by an organization. |
Get a Copilot Space for a usercopilot_spaces_get_for_user | GET | Gets details about a specific Copilot Space owned by a user. |
Get a resource for a Copilot Space for a usercopilot_spaces_get_resource_for_user | GET | Gets a specific resource attached to a Copilot Space owned by a user. |
Get a resource for an organization Copilot Spacecopilot_spaces_get_resource_for_org | GET | Gets a specific resource attached to a Copilot Space owned by an organization. |
Get an organization Copilot Spacecopilot_spaces_get_for_org | GET | Gets details about a specific Copilot Space owned by an organization. |
List collaborators for a Copilot Space for a usercopilot_spaces_list_collaborators_for_user | GET | Lists all collaborators for a specific Copilot Space owned by a user. |
List collaborators for an organization Copilot Spacecopilot_spaces_list_collaborators_for_org | GET | Lists all collaborators for a specific Copilot Space owned by an organization. |
List Copilot Spaces for a usercopilot_spaces_list_for_user | GET | Lists Copilot Spaces owned by a user. |
List organization Copilot Spacescopilot_spaces_list_for_org | GET | Lists Copilot Spaces owned by an organization. |
List resources for a Copilot Space for a usercopilot_spaces_list_resources_for_user | GET | Lists all resources attached to a specific Copilot Space owned by a user. |
List resources for an organization Copilot Spacecopilot_spaces_list_resources_for_org | GET | Lists 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_user | DELETE | Removes a collaborator from a specific Copilot Space owned by a user. |
Remove a collaborator from an organization Copilot Spacecopilot_spaces_remove_collaborator_for_org | DELETE | Removes 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_user | PUT | Updates 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_org | PUT | Updates the role of a collaborator for a specific Copilot Space owned by an organization. |
Set a Copilot Space for a usercopilot_spaces_update_for_user | PUT | Updates a Copilot Space owned by a user. |
Set a resource for a Copilot Space for a usercopilot_spaces_update_resource_for_user | PUT | Updates 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_org | PUT | Updates the metadata of a resource in a specific Copilot Space owned by an organization. |
Set an organization Copilot Spacecopilot_spaces_update_for_org | PUT | Updates a Copilot Space owned by an organization. |
Credential1
Revoke a list of credentialscredentials_revoke | POST | Submit a list of credentials to be revoked. |
Dependabot25
Add selected repository to an organization secretdependabot_add_selected_repo_to_org_secret | PUT | Adds 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_secret | PUT | Creates or updates a repository secret with an encrypted value. |
Create or update an organization secretdependabot_create_or_update_org_secret | PUT | Creates or updates an organization secret with an encrypted value. |
Delete a repository secretdependabot_delete_repo_secret | DELETE | Deletes a secret in a repository using the secret name. |
Delete an organization secretdependabot_delete_org_secret | DELETE | Deletes a secret in an organization using the secret name. |
Get a Dependabot alertdependabot_get_alert | GET | OAuth app tokens and personal access tokens (classic) need the security events scope to use this endpoint. |
Get a repository public keydependabot_get_repo_public_key | GET | Gets your public key, which you need to encrypt secrets. |
Get a repository secretdependabot_get_repo_secret | GET | Gets a single repository secret without revealing its encrypted value. |
Get an organization public keydependabot_get_org_public_key | GET | Gets your public key, which you need to encrypt secrets. |
Get an organization secretdependabot_get_org_secret | GET | Gets a single organization secret without revealing its encrypted value. |
List Dependabot alerts for a repositorydependabot_list_alerts_for_repo | GET | OAuth 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_enterprise | GET | Lists Dependabot alerts for repositories that are owned by the specified enterprise. |
List Dependabot alerts for an organizationdependabot_list_alerts_for_org | GET | Lists Dependabot alerts for an organization. |
List organization secretsdependabot_list_org_secrets | GET | Lists all secrets available in an organization without revealing their encrypted values. |
List repository secretsdependabot_list_repo_secrets | GET | Lists all secrets available in a repository without revealing their encrypted values. |
List selected repositories for an organization secretdependabot_list_selected_repos_for_org_secret | GET | Lists 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_enterprise | GET | Lists 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_org | GET | Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. |
Remove selected repository from an organization secretdependabot_remove_selected_repo_from_org_secret | DELETE | Removes 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_secret | PUT | Replaces 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_level | PUT | Sets 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_enterprise | PUT | Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. |
Update a Dependabot alertdependabot_update_alert | PATCH | The 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_enterprise | PATCH | Updates 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_org | PATCH | Updates 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_snapshot | POST | Create a new snapshot of a repository's dependencies. |
Export a software bill of materials (SBOM) for a repository.dependency_graph_export_sbom | GET | Exports 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_report | GET | Fetches a previously generated software bill of materials (SBOM) for a repository. |
Get a diff of the dependencies between commitsdependency_graph_diff_range | GET | Gets 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_report | GET | Triggers a job to generate a software bill of materials (SBOM) for a repository in SPDX JSON format. |
Emoji1
Get emojisemojis_get | GET | Lists all the emojis available to use on GitHub. |
Enterprise Team5
Create an enterprise teamenterprise_teams_create | POST | To create an enterprise team, the authenticated user must be an owner of the enterprise. |
Delete an enterprise teamenterprise_teams_delete | DELETE | To delete an enterprise team, the authenticated user must be an enterprise owner. |
Get an enterprise teamenterprise_teams_get | GET | Gets a team using the team's slug. |
List enterprise teamsenterprise_teams_list | GET | List all teams in the enterprise for the authenticated user |
Update an enterprise teamenterprise_teams_update | PATCH | To edit a team, the authenticated user must be an enterprise owner. |
Enterprise Team Membership6
Add team memberenterprise_team_memberships_add | PUT | Add a team member to an enterprise team. |
Bulk add team membersenterprise_team_memberships_bulk_add | POST | Add multiple team members to an enterprise team. |
Bulk remove team membersenterprise_team_memberships_bulk_remove | POST | Remove multiple team members from an enterprise team. |
Get enterprise team membershipenterprise_team_memberships_get | GET | Returns whether the user is a member of the enterprise team. |
List members in an enterprise teamenterprise_team_memberships_list | GET | Lists all team members in an enterprise team. |
Remove team membershipenterprise_team_memberships_remove | DELETE | Remove membership of a specific user from a particular team in an enterprise. |
Enterprise Team Organization6
Add an organization assignmententerprise_team_organizations_add | PUT | Assign an enterprise team to an organization. |
Add organization assignmentsenterprise_team_organizations_bulk_add | POST | Assign an enterprise team to multiple organizations. |
Delete an organization assignmententerprise_team_organizations_delete | DELETE | Unassign an enterprise team from an organization. |
Get organization assignmententerprise_team_organizations_get_assignment | GET | Check if an enterprise team is assigned to an organization |
Get organization assignmentsenterprise_team_organizations_get_assignments | GET | Get all organizations assigned to an enterprise team |
Remove organization assignmentsenterprise_team_organizations_bulk_remove | POST | Unassign an enterprise team from multiple organizations. |
Gist20
Check if a gist is starredgists_check_is_starred | GET | |
Create a gistgists_create | POST | Allows you to add a new gist with one or more files. |
Create a gist commentgists_create_comment | POST | Creates a comment on a gist. |
Delete a gistgists_delete | DELETE | |
Delete a gist commentgists_delete_comment | DELETE | |
Fork a gistgists_fork | POST | |
Get a gistgists_get | GET | Gets a specified gist. |
Get a gist commentgists_get_comment | GET | Gets a comment on a gist. |
Get a gist revisiongists_get_revision | GET | Gets a specified gist revision. |
List gist commentsgists_list_comments | GET | Lists the comments on a gist. |
List gist commitsgists_list_commits | GET | |
List gist forksgists_list_forks | GET | |
List gists for a usergists_list_for_user | GET | Lists public gists for the specified user: |
List gists for the authenticated usergists_list | GET | Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists: |
List public gistsgists_list_public | GET | List public gists sorted by most recently updated to least recently updated. |
List starred gistsgists_list_starred | GET | List the authenticated user's starred gists: |
Star a gistgists_star | PUT | Note that you'll need to set Content-Length to zero when calling out to this endpoint. |
Unstar a gistgists_unstar | DELETE | |
Update a gistgists_update | PATCH | Allows you to update a gist's description and to update, delete, or rename gist files. |
Update a gist commentgists_update_comment | PATCH | Updates a comment on a gist. |
Git13
Create a blobgit_create_blob | POST | |
Create a commitgit_create_commit | POST | Creates a new Git commit object. |
Create a referencegit_create_ref | POST | Creates a reference for your repository. |
Create a tag objectgit_create_tag | POST | Note that creating a tag object does not create the reference that makes a tag in Git. |
Create a treegit_create_tree | POST | The tree creation API accepts nested entries. |
Delete a referencegit_delete_ref | DELETE | Deletes the provided reference. |
Get a blobgit_get_blob | GET | The content in the response will always be Base64 encoded. |
Get a commit objectgit_get_commit | GET | Gets a Git commit object. |
Get a referencegit_get_ref | GET | Returns a single reference from your Git database. |
Get a taggit_get_tag | GET | Signature verification object |
Get a treegit_get_tree | GET | Returns a single tree using the SHA1 value or ref name for that tree. |
List matching referencesgit_list_matching_refs | GET | Returns an array of references from your Git database that match the supplied name. |
Update a referencegit_update_ref | PATCH | Updates the provided reference to point to a new SHA. |
Gitignore2
Get a gitignore templategitignore_get_template | GET | Get the content of a gitignore template. |
Get all gitignore templatesgitignore_get_all_templates | GET | List 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_org | POST | Creates a hosted compute network configuration for an organization. |
Delete a hosted compute network configuration from anhosted_compute_delete_network_configuration_from_org | DELETE | Deletes a hosted compute network configuration from an organization. |
Get a hosted compute network configuration for an organizationhosted_compute_get_network_configuration_for_org | GET | Gets a hosted compute network configuration configured in an organization. |
Get a hosted compute network settings resource for anhosted_compute_get_network_settings_for_org | GET | Gets a hosted compute network settings resource configured for an organization. |
List hosted compute network configurations for an organizationhosted_compute_list_network_configurations_for_org | GET | Lists all hosted compute network configurations configured in an organization. |
Update a hosted compute network configuration for anhosted_compute_update_network_configuration_for_org | PATCH | Updates 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_repo | PUT | Adds users to the pull request creation cap bypass list for a repository. |
Get interaction restrictions for a repositoryinteractions_get_restrictions_for_repo | GET | Shows which type of GitHub user can interact with this repository and when the restriction expires. |
Get interaction restrictions for an organizationinteractions_get_restrictions_for_org | GET | Shows 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_user | GET | Shows 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_repo | GET | Lists 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_repo | GET | Gets the pull request creation cap configuration for a repository. |
Get pull request creation cap for an orginteractions_get_pull_request_creation_cap_for_org | GET | Gets the pull request creation cap configuration for an organization. |
Remove interaction restrictions for a repositoryinteractions_remove_restrictions_for_repo | DELETE | Removes all interaction restrictions from the given repository. |
Remove interaction restrictions for an organizationinteractions_remove_restrictions_for_org | DELETE | Removes all interaction restrictions from public repositories in the given organization. |
Remove interaction restrictions from your public repositoriesinteractions_remove_restrictions_for_authenticated_user | DELETE | Removes any interaction restrictions from your public repositories. |
Remove users from the pull request creation cap bypass list forinteractions_remove_pull_request_bypass_list_for_repo | DELETE | Removes users from the pull request creation cap bypass list for a repository. |
Set interaction restrictions for a repositoryinteractions_set_restrictions_for_repo | PUT | Temporarily restricts interactions to a certain type of GitHub user within the given repository. |
Set interaction restrictions for an organizationinteractions_set_restrictions_for_org | PUT | Temporarily 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_user | PUT | Temporarily 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_repo | PATCH | Updates the pull request creation cap for a repository. |
Update pull request creation cap for an orginteractions_update_pull_request_creation_cap_for_org | PATCH | Updates the pull request creation cap for an organization. |
Issue58
Add a dependency an issue is blocked byissues_add_blocked_by_dependency | POST | You can use the REST API to add a 'blocked by' relationship to an issue. |
Add assignees to an issueissues_add_assignees | POST | Adds up to 10 assignees to an issue. |
Add issue field values to an issueissues_add_issue_field_values | POST | Add custom field values to an issue. |
Add labels to an issueissues_add_labels | POST | Adds labels to an issue. |
Add sub-issueissues_add_sub_issue | POST | You can use the REST API to add sub-issues to issues. |
Approve an issue suggestionissues_approve_suggestion | POST | Approves a pending suggestion on an issue. |
Check if a user can be assignedissues_check_user_can_be_assigned | GET | Checks 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_issue | GET | Checks if a user has permission to be assigned to a specific issue. |
Create a labelissues_create_label | POST | Creates a label for the specified repository with the given name and color. |
Create a milestoneissues_create_milestone | POST | Creates a milestone. |
Create an issueissues_create | POST | Any user with pull access to a repository can create an issue. |
Create an issue commentissues_create_comment | POST | You can use the REST API to create comments on issues and pull requests. |
Delete a labelissues_delete_label | DELETE | Deletes a label using the given label name. |
Delete a milestoneissues_delete_milestone | DELETE | Deletes a milestone using the given milestone number. |
Delete an issue commentissues_delete_comment | DELETE | You can use the REST API to delete comments on issues and pull requests. |
Delete an issue field value from an issueissues_delete_issue_field_value | DELETE | Remove a specific custom field value from an issue. |
Dismiss an issue suggestionissues_dismiss_suggestion | POST | Dismisses a pending suggestion on an issue. |
Get a labelissues_get_label | GET | Gets a label using the given name. |
Get a milestoneissues_get_milestone | GET | Gets a milestone using the given milestone number. |
Get an issueissues_get | GET | The API returns a 301 Moved Permanently status if the issue was transferred to another repository. |
Get an issue commentissues_get_comment | GET | You can use the REST API to get comments on issues and pull requests. |
Get an issue eventissues_get_event | GET | Gets a single event by the event id. |
Get parent issueissues_get_parent | GET | You can use the REST API to get the parent issue of a sub-issue. |
List assigneesissues_list_assignees | GET | Lists the available assignees for issues in a repository. |
List dependencies an issue is blocked byissues_list_dependencies_blocked_by | GET | You can use the REST API to list the dependencies an issue is blocked by. |
List dependencies an issue is blockingissues_list_dependencies_blocking | GET | You can use the REST API to list the dependencies an issue is blocking. |
List issue commentsissues_list_comments | GET | You can use the REST API to list comments on issues and pull requests. |
List issue comments for a repositoryissues_list_comments_for_repo | GET | You can use the REST API to list comments on issues and pull requests for a repository. |
List issue eventsissues_list_events | GET | Lists all events for an issue. |
List issue events for a repositoryissues_list_events_for_repo | GET | Lists events for a repository. |
List issue field values for an issueissues_list_issue_field_values_for_issue | GET | Lists all issue field values for an issue. |
List issue suggestionsissues_list_suggestions | GET | Lists the suggestions on an issue. |
List issues assigned to the authenticated userissues_list | GET | List 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_repo | GET | Lists all labels for a repository. |
List labels for an issueissues_list_labels_on_issue | GET | Lists all labels for an issue. |
List labels for issues in a milestoneissues_list_labels_for_milestone | GET | Lists labels for issues in a milestone. |
List milestonesissues_list_milestones | GET | Lists milestones for a repository. |
List organization issues assigned to the authenticated userissues_list_for_org | GET | List issues in an organization assigned to the authenticated user. |
List repository issuesissues_list_for_repo | GET | List issues in a repository. |
List sub-issuesissues_list_sub_issues | GET | You can use the REST API to list the sub-issues on an issue. |
List timeline events for an issueissues_list_events_for_timeline | GET | List all timeline events for an issue. |
List user account issues assigned to the authenticated userissues_list_for_authenticated_user | GET | List issues across owned and member repositories assigned to the authenticated user. |
Lock an issueissues_lock | PUT | Users with push access can lock an issue or pull request's conversation. |
Pin an issue commentissues_pin_comment | PUT | You can use the REST API to pin comments on issues. |
Remove a label from an issueissues_remove_label | DELETE | Removes the specified label from the issue, and returns the remaining labels on the issue. |
Remove all labels from an issueissues_remove_all_labels | DELETE | Removes all labels from an issue. |
Remove assignees from an issueissues_remove_assignees | DELETE | Removes one or more assignees from an issue. |
Remove dependency an issue is blocked byissues_remove_dependency_blocked_by | DELETE | You can use the REST API to remove a dependency that an issue is blocked by. |
Remove sub-issueissues_remove_sub_issue | DELETE | You can use the REST API to remove a sub-issue from an issue. |
Reprioritize sub-issueissues_reprioritize_sub_issue | PATCH | You 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_values | PUT | Set custom field values for an issue, replacing any existing values. |
Set labels for an issueissues_set_labels | PUT | Removes any previous labels and sets the new labels for an issue. |
Unlock an issueissues_unlock | DELETE | Users with push access can unlock an issue's conversation. |
Unpin an issue commentissues_unpin_comment | DELETE | You can use the REST API to unpin comments on issues. |
Update a labelissues_update_label | PATCH | Updates a label using the given label name. |
Update a milestoneissues_update_milestone | PATCH | |
Update an issueissues_update | PATCH | Issue owners and users with push access or Triage role can edit an issue. |
Update an issue commentissues_update_comment | PATCH | You can use the REST API to update comments on issues and pull requests. |
License3
Get a licenselicenses_get | GET | Gets information about a specific license. |
Get all commonly used licenseslicenses_get_all_commonly_used | GET | Lists the most commonly used licenses on GitHub. |
Get the license for a repositorylicenses_get_for_repo | GET | This method returns the contents of the repository's license file, if one is detected. |
Markdown2
Render a Markdown documentmarkdown_render | POST | Depending 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_raw | POST | You 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_versions | GET | Get all supported GitHub API versions. |
Get GitHub meta informationmeta_get | GET | Returns meta information about GitHub, including a list of GitHub's IP addresses. |
Get Octocatmeta_get_octocat | GET | Get the octocat as ASCII art |
Get the Zen of GitHubmeta_get_zen | GET | Get a random sentence from the Zen of GitHub |
GitHub API Rootmeta_root | GET | Get Hypermedia links to resources accessible in GitHub's REST API |
Migration22
Cancel an importmigrations_cancel_import | DELETE | Stop an import for a repository. |
Delete a user migration archivemigrations_delete_archive_for_authenticated_user | DELETE | Deletes a previous migration archive. |
Delete an organization migration archivemigrations_delete_archive_for_org | DELETE | Deletes a previous migration archive. |
Download a user migration archivemigrations_get_archive_for_authenticated_user | GET | Fetches the URL to download the migration archive as a tar.gz file. |
Download an organization migration archivemigrations_download_archive_for_org | GET | Fetches the URL to a migration archive. |
Get a user migration statusmigrations_get_status_for_authenticated_user | GET | Fetches a single user migration. |
Get an import statusmigrations_get_import_status | GET | View the progress of an import. |
Get an organization migration statusmigrations_get_status_for_org | GET | Fetches the status of a migration. |
Get commit authorsmigrations_get_commit_authors | GET | Each type of source control system represents authors in a different way. |
Get large filesmigrations_get_large_files | GET | List files larger than 100MB found during the import |
List organization migrationsmigrations_list_for_org | GET | Lists 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_user | GET | Lists all the repositories for this user migration. |
List repositories in an organization migrationmigrations_list_repos_for_org | GET | List all the repositories for this organization migration. |
List user migrationsmigrations_list_for_authenticated_user | GET | Lists all migrations a user has started. |
Map a commit authormigrations_map_commit_author | PATCH | Update an author's identity for the import. |
Start a user migrationmigrations_start_for_authenticated_user | POST | Initiates the generation of a user migration archive. |
Start an importmigrations_start_import | PUT | Start a source import to a GitHub repository using GitHub Importer. |
Start an organization migrationmigrations_start_for_org | POST | Initiates the generation of a migration archive. |
Unlock a user repositorymigrations_unlock_repo_for_authenticated_user | DELETE | Unlocks a repository. |
Unlock an organization repositorymigrations_unlock_repo_for_org | DELETE | Unlocks a repository that was locked for migration. |
Update an importmigrations_update_import | PATCH | An 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_preference | PATCH | You 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_enterprise | POST | Adds 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_org | POST | Adds 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_enterprise | DELETE | Removes 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_org | DELETE | Removes 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_org | GET | Gets the customization template for an OpenID Connect (OIDC) subject claim. |
List OIDC custom property inclusions for an enterpriseoidc_list_oidc_custom_property_inclusions_for_enterprise | GET | Lists 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_org | GET | Lists 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_org | PUT | Creates or updates the customization template for an OpenID Connect (OIDC) subject claim. |
Org110
Add a security manager teamorgs_add_security_manager_team | PUT | [!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_role | PUT | Assigns an organization role to a team in an organization. |
Assign an organization role to a userorgs_assign_user_to_org_role | PUT | Assigns an organization role to a member of an organization. |
Block a user from an organizationorgs_block_user | PUT | Blocks the given user on behalf of the specified organization and returns a 204. |
Cancel an organization invitationorgs_cancel_invitation | DELETE | Cancel an organization invitation. |
Check if a user is blocked by an organizationorgs_check_blocked_user | GET | Returns a 204 if the given user is blocked by the given organization. |
Check organization membership for a userorgs_check_membership_for_user | GET | Check if a user is, publicly or privately, a member of the organization. |
Check public organization membership for a userorgs_check_public_membership_for_user | GET | Check if the provided user is a public member of the organization. |
Convert an organization member to outside collaboratororgs_convert_member_to_outside_collaborator | PUT | When 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_job | POST | Create a background job to set deployment records for a given cluster. |
Create an artifact deployment recordorgs_create_artifact_deployment_record | POST | Create or update deployment records for an artifact associated with an organization. |
Create an organization invitationorgs_create_invitation | POST | Invite people to an organization by using their GitHub user ID or their email address. |
Create an organization webhookorgs_create_webhook | POST | Create a hook that posts payloads in JSON format. |
Create artifact metadata storage recordorgs_create_artifact_storage_record | POST | Create metadata storage records for artifacts associated with an organization. |
Create issue field for an organizationorgs_create_issue_field | POST | Creates a new issue field for an organization. |
Create issue type for an organizationorgs_create_issue_type | POST | Create a new issue type for an organization. |
Create or update a custom property for an organizationorgs_custom_properties_for_repos_create_or_update_organization_definition | PUT | Creates 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_definitions | PATCH | Creates 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_values | PATCH | Create new or update existing custom property values for repositories in a batch that belong to an organization. |
Delete an organizationorgs_delete | DELETE | Deletes an organization and all its repositories. |
Delete an organization webhookorgs_delete_webhook | DELETE | Delete a webhook for an organization. |
Delete attestations by IDorgs_delete_attestations_by_id | DELETE | Delete 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_digest | DELETE | Delete an artifact attestation by subject digest. |
Delete attestations in bulkorgs_delete_attestations_bulk | POST | Delete artifact attestations in bulk by either subject digests or unique ID. |
Delete issue field for an organizationorgs_delete_issue_field | DELETE | Deletes an issue field for an organization. |
Delete issue type for an organizationorgs_delete_issue_type | DELETE | Deletes an issue type for an organization. |
Disable a selected repository for immutable releases in anorgs_disable_selected_repository_immutable_releases_organization | DELETE | Removes 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_organization | PUT | Adds 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_repos | POST | [!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_definition | GET | Gets a custom property that is defined for an organization. |
Get a webhook configuration for an organizationorgs_get_webhook_config_for_org | GET | Returns the webhook configuration for an organization. |
Get a webhook delivery for an organization webhookorgs_get_webhook_delivery | GET | Returns a delivery for a webhook configured in an organization. |
Get all custom properties for an organizationorgs_custom_properties_for_repos_get_organization_definitions | GET | Gets all custom properties defined for an organization. |
Get all organization roles for an organizationorgs_list_org_roles | GET | Lists the organization roles available in this organization. |
Get an organizationorgs_get | GET | Gets information about an organization. |
Get an organization membership for the authenticated userorgs_get_membership_for_authenticated_user | GET | If 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_role | GET | Gets an organization role that is available to this organization. |
Get an organization webhookorgs_get_webhook | GET | Returns a webhook configured in an organization. |
Get cluster deployment records job statusorgs_get_cluster_deployment_records_job | GET | Get the status and results of a previously created cluster deployment records job. |
Get immutable releases settings for an organizationorgs_get_immutable_releases_settings | GET | Gets the immutable releases policy for repositories in an organization. |
Get organization membership for a userorgs_get_membership_for_user | GET | In 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_history | GET | Get the history of an organization ruleset. |
Get organization ruleset versionorgs_get_org_ruleset_version | GET | Get a version of an organization ruleset. |
Get route stats by actorapi_insights_get_route_stats_by_actor | GET | Get API request count statistics for an actor broken down by route within a specified time frame. |
Get subject statsapi_insights_get_subject_stats | GET | Get API request statistics for all subjects within an organization within a specified time frame. |
Get summary statsapi_insights_get_summary_stats | GET | Get 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_actor | GET | Get overall statistics of API requests within the organization made by a specific actor. |
Get summary stats by userapi_insights_get_summary_stats_by_user | GET | Get overall statistics of API requests within the organization for a user. |
Get time statsapi_insights_get_time_stats | GET | Get 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_actor | GET | Get 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_user | GET | Get 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_stats | GET | Get API usage statistics within an organization for a user broken down by the type of access. |
List app installations for an organizationorgs_list_app_installations | GET | Lists all GitHub Apps in an organization. |
List artifact deployment recordsorgs_list_artifact_deployment_records | GET | List deployment records for an artifact metadata associated with an organization. |
List artifact storage recordsorgs_list_artifact_storage_records | GET | List artifact storage records with a given subject digest for repositories owned by an organization. |
List attestation repositoriesorgs_list_attestation_repositories | GET | List 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_attestations | GET | List 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_bulk | POST | List 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_values | GET | Lists organization repositories with all of their custom property values. |
List deliveries for an organization webhookorgs_list_webhook_deliveries | GET | Returns a list of webhook deliveries for a webhook configured in an organization. |
List failed organization invitationsorgs_list_failed_invitations | GET | The 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_grants | GET | Lists approved fine-grained personal access tokens owned by organization members that can access organization resources. |
List issue fields for an organizationorgs_list_issue_fields | GET | Lists all issue fields for an organization. |
List issue types for an organizationorgs_list_issue_types | GET | Lists all issue types for an organization. |
List organization invitation teamsorgs_list_invitation_teams | GET | List all teams associated with an invitation. |
List organization membersorgs_list_members | GET | List all users who are members of an organization. |
List organization memberships for the authenticated userorgs_list_memberships_for_authenticated_user | GET | Lists all of the authenticated user's organization memberships. |
List organization webhooksorgs_list_webhooks | GET | List webhooks for an organization. |
List organizationsorgs_list | GET | Lists all organizations, in the order that they were created. |
List organizations for a userorgs_list_for_user | GET | List public organization memberships for the specified user. |
List organizations for the authenticated userorgs_list_for_authenticated_user | GET | List organizations for the authenticated user. |
List outside collaborators for an organizationorgs_list_outside_collaborators | GET | List all users who are outside collaborators of an organization. |
List pending organization invitationsorgs_list_pending_invitations | GET | The 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_members | GET | Members of an organization can choose to have their membership publicized or not. |
List repositories a fine-grained personal access token hasorgs_list_pat_grant_repositories | GET | Lists 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_repositories | GET | Lists the repositories a fine-grained personal access token request is requesting access to. |
List requests to access organization resources withorgs_list_pat_grant_requests | GET | Lists requests from organization members to access organization resources with a fine-grained personal access token. |
List security manager teamsorgs_list_security_manager_teams | GET | [!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_repositories | GET | List 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_teams | GET | Lists the teams that are assigned to an organization role. |
List users blocked by an organizationorgs_list_blocked_users | GET | List the users blocked by an organization. |
List users that are assigned to an organization roleorgs_list_org_role_users | GET | Lists organization members that are assigned to an organization role. |
Ping an organization webhookorgs_ping_webhook | POST | This will trigger a ping event to be sent to the hook. |
Redeliver a delivery for an organization webhookorgs_redeliver_webhook_delivery | POST | Redeliver a delivery for a webhook configured in an organization. |
Remove a custom property for an organizationorgs_custom_properties_for_repos_delete_organization_definition | DELETE | Removes a custom property that is defined for an organization. |
Remove a security manager teamorgs_remove_security_manager_team | DELETE | [!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_team | DELETE | Removes all assigned organization roles from a team. |
Remove all organization roles for a userorgs_revoke_all_org_roles_user | DELETE | Revokes all assigned organization roles from a user. |
Remove an organization memberorgs_remove_member | DELETE | Removing 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_team | DELETE | Removes an organization role from a team. |
Remove an organization role from a userorgs_revoke_org_role_user | DELETE | Remove an organization role from a user. |
Remove organization membership for a userorgs_remove_membership_for_user | DELETE | In 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_collaborator | DELETE | Removing 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_user | DELETE | Removes 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_request | POST | Approves 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_bulk | POST | Approves or denies multiple pending requests to access organization resources via a fine-grained personal access token. |
Set cluster deployment recordsorgs_set_cluster_deployment_records | POST | Set deployment records for a given cluster. |
Set immutable releases settings for an organizationorgs_set_immutable_releases_settings | PUT | Sets the immutable releases policy for repositories in an organization. |
Set organization membership for a userorgs_set_membership_for_user | PUT | Only 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_user | PUT | The user can publicize their own membership. |
Set selected repositories for immutable releases enforcementorgs_set_immutable_releases_settings_repositories | PUT | Replaces all repositories that have been selected for immutable releases enforcement in an organization. |
Unblock a user from an organizationorgs_unblock_user | DELETE | Unblocks the given user on behalf of the specified organization. |
Update a webhook configuration for an organizationorgs_update_webhook_config_for_org | PATCH | Updates the webhook configuration for an organization. |
Update an organizationorgs_update | PATCH | [!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_user | PATCH | Converts 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_webhook | PATCH | Updates a webhook configured in an organization. |
Update issue field for an organizationorgs_update_issue_field | PATCH | Updates an issue field for an organization. |
Update issue type for an organizationorgs_update_issue_type | PUT | Updates an issue type for an organization. |
Update the access a fine-grained personal access token has toorgs_update_pat_access | POST | Updates 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_accesses | POST | Updates the access organization members have to organization resources via fine-grained personal access tokens. |
Package27
Delete a package for a userpackages_delete_package_for_user | DELETE | Deletes an entire package for a user. |
Delete a package for an organizationpackages_delete_package_for_org | DELETE | Deletes an entire package in an organization. |
Delete a package for the authenticated userpackages_delete_package_for_authenticated_user | DELETE | Deletes a package owned by the authenticated user. |
Delete a package version for the authenticated userpackages_delete_package_version_for_authenticated_user | DELETE | Deletes a specific package version for a package owned by the authenticated user. |
Delete package version for a userpackages_delete_package_version_for_user | DELETE | Deletes a specific package version for a user. |
Delete package version for an organizationpackages_delete_package_version_for_org | DELETE | Deletes a specific package version in an organization. |
Get a package for a userpackages_get_package_for_user | GET | Gets a specific package metadata for a public package owned by a user. |
Get a package for an organizationpackages_get_package_for_organization | GET | Gets a specific package in an organization. |
Get a package for the authenticated userpackages_get_package_for_authenticated_user | GET | Gets a specific package for a package owned by the authenticated user. |
Get a package version for a userpackages_get_package_version_for_user | GET | Gets a specific package version for a public package owned by a specified user. |
Get a package version for an organizationpackages_get_package_version_for_organization | GET | Gets a specific package version in an organization. |
Get a package version for the authenticated userpackages_get_package_version_for_authenticated_user | GET | Gets 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_user | GET | Lists 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_organization | GET | Lists 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_user | GET | Lists 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_user | GET | Lists 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_org | GET | Lists 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_user | GET | Lists package versions for a package owned by the authenticated user. |
List packages for a userpackages_list_packages_for_user | GET | Lists all packages in a user's namespace for which the requesting user has access. |
List packages for an organizationpackages_list_packages_for_organization | GET | Lists packages in an organization readable by the user. |
List packages for the authenticated user's namespacepackages_list_packages_for_authenticated_user | GET | Lists packages owned by the authenticated user within the user's namespace. |
Restore a package for a userpackages_restore_package_for_user | POST | Restores an entire package for a user. |
Restore a package for an organizationpackages_restore_package_for_org | POST | Restores an entire package in an organization. |
Restore a package for the authenticated userpackages_restore_package_for_authenticated_user | POST | Restores a package owned by the authenticated user. |
Restore a package version for the authenticated userpackages_restore_package_version_for_authenticated_user | POST | Restores a package version owned by the authenticated user. |
Restore package version for a userpackages_restore_package_version_for_user | POST | Restores a specific package version for a user. |
Restore package version for an organizationpackages_restore_package_version_for_org | POST | Restores a specific package version in an organization. |
Private Registry6
Create a private registry for an organizationprivate_registries_create_org_private_registry | POST | Creates a private registry configuration with an encrypted value for an organization. |
Delete a private registry for an organizationprivate_registries_delete_org_private_registry | DELETE | Delete a private registry configuration at the organization-level. |
Get a private registry for an organizationprivate_registries_get_org_private_registry | GET | Get 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_key | GET | Gets the org public key, which is needed to encrypt private registry secrets. |
List private registries for an organizationprivate_registries_list_org_private_registries | GET | Lists 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_registry | PATCH | Updates a private registry configuration with an encrypted value for an organization. |
Project26
Add a field to an organization-owned project.projects_add_field_for_org | POST | Add a field to an organization-owned project. |
Add field to user owned projectprojects_add_field_for_user | POST | Add a field to a specified user owned project. |
Add item to organization owned projectprojects_add_item_for_org | POST | Add an issue or pull request item to the specified organization owned project. |
Add item to user owned projectprojects_add_item_for_user | POST | Add an issue or pull request item to the specified user owned project. |
Create a view for a user-owned projectprojects_create_view_for_user | POST | Create a new view in a user-owned project. |
Create a view for an organization-owned projectprojects_create_view_for_org | POST | Create a new view in an organization-owned project. |
Create draft item for organization owned projectprojects_create_draft_item_for_org | POST | Create draft issue item for the specified organization owned project. |
Create draft item for user owned projectprojects_create_draft_item_for_authenticated_user | POST | Create draft issue item for the specified user owned project. |
Delete project item for organizationprojects_delete_item_for_org | DELETE | Delete a specific item from an organization-owned project. |
Delete project item for userprojects_delete_item_for_user | DELETE | Delete a specific item from a user-owned project. |
Get an item for a user owned projectprojects_get_user_item | GET | Get a specific item from a user-owned project. |
Get an item for an organization owned projectprojects_get_org_item | GET | Get a specific item from an organization-owned project. |
Get project field for organizationprojects_get_field_for_org | GET | Get a specific field for an organization-owned project. |
Get project field for userprojects_get_field_for_user | GET | Get a specific field for a user-owned project. |
Get project for organizationprojects_get_for_org | GET | Get a specific organization-owned project. |
Get project for userprojects_get_for_user | GET | Get a specific user-owned project. |
List items for a user owned projectprojects_list_items_for_user | GET | List all items for a specific user-owned project accessible by the authenticated user. |
List items for a user project viewprojects_list_view_items_for_user | GET | List items in a user project with the saved view's filter applied. |
List items for an organization owned projectprojects_list_items_for_org | GET | List all items for a specific organization-owned project accessible by the authenticated user. |
List items for an organization project viewprojects_list_view_items_for_org | GET | List items in an organization project with the saved view's filter applied. |
List project fields for organizationprojects_list_fields_for_org | GET | List all fields for a specific organization-owned project. |
List project fields for userprojects_list_fields_for_user | GET | List all fields for a specific user-owned project. |
List projects for organizationprojects_list_for_org | GET | List all projects owned by a specific organization accessible by the authenticated user. |
List projects for userprojects_list_for_user | GET | List all projects owned by a specific user accessible by the authenticated user. |
Update project item for organizationprojects_update_item_for_org | PATCH | Update a specific item in an organization-owned project. |
Update project item for userprojects_update_item_for_user | PATCH | Update a specific item in a user-owned project. |
Pull34
Add pull requests to a pull request stackpull_request_stacks_add | POST | Appends an ordered list of pull request numbers onto the top of an existing stack. |
Check if a pull request has been mergedpulls_check_if_merged | GET | Checks if a pull request has been merged into the base branch. |
Create a pull requestpulls_create | POST | Draft 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_create | POST | Creates a stack from an ordered list of pull request numbers. |
Create a reply for a review commentpulls_create_reply_for_review_comment | POST | Creates a reply to a review comment for a pull request. |
Create a review comment for a pull requestpulls_create_review_comment | POST | Creates a review comment on the diff of a specified pull request. |
Create a review for a pull requestpulls_create_review | POST | Creates a review on a specified pull request. |
Delete a pending review for a pull requestpulls_delete_pending_review | DELETE | Deletes a pull request review that has not been submitted. |
Delete a review comment for a pull requestpulls_delete_review_comment | DELETE | Deletes a review comment. |
Dismiss a review for a pull requestpulls_dismiss_review | PUT | Dismisses a specified review on a pull request. |
Get a pull requestpulls_get | GET | Draft 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_get | GET | Gets a pull request stack by providing its stack number. |
Get a review comment for a pull requestpulls_get_review_comment | GET | Provides details for a specified review comment. |
Get a review for a pull requestpulls_get_review | GET | Retrieves a pull request review by its ID. |
Get all requested reviewers for a pull requestpulls_list_requested_reviewers | GET | Gets the users or teams whose review is requested for a pull request. |
Get the result of an asynchronous mergepulls_get_merge_async_result | GET | Fetches 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_review | GET | Lists comments for a specific pull request review. |
List commits on a pull requestpulls_list_commits | GET | Lists a maximum of 250 commits for a pull request. |
List pull request stackspull_request_stacks_list | GET | Lists pull request stacks in a repository. |
List pull requestspulls_list | GET | Lists pull requests in a specified repository. |
List pull requests filespulls_list_files | GET | Lists the files in a specified pull request. |
List review comments in a repositorypulls_list_review_comments_for_repo | GET | Lists review comments for all pull requests in a repository. |
List review comments on a pull requestpulls_list_review_comments | GET | Lists all review comments for a specified pull request. |
List reviews for a pull requestpulls_list_reviews | GET | Lists all reviews for a specified pull request. |
Merge a pull requestpulls_merge | PUT | Merges a pull request into the base branch. |
Merge a pull request asynchronouslypulls_merge_async | PUT | Merges a pull request into the base branch in the background. |
Remove pull requests from a pull request stackpull_request_stacks_unstack | POST | Removes the unmerged pull requests from a stack. |
Remove requested reviewers from a pull requestpulls_remove_requested_reviewers | DELETE | Removes review requests from a pull request for a given set of users and/or teams. |
Request reviewers for a pull requestpulls_request_reviewers | POST | Requests reviews for a pull request from a given set of users and/or teams. |
Submit a review for a pull requestpulls_submit_review | POST | Submits a pending review for a pull request. |
Update a pull requestpulls_update | PATCH | Draft 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_branch | PUT | Updates 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_comment | PATCH | Edits the content of a specified review comment. |
Update a review for a pull requestpulls_update_review | PUT | Updates the contents of a specified review summary comment. |
Rate Limit1
Get rate limit status for the authenticated userrate_limit_get | GET | [!NOTE] Accessing this endpoint does not count against your REST API rate limit. |
Reaction15
Create reaction for a commit commentreactions_create_for_commit_comment | POST | Create a reaction to a commit comment. |
Create reaction for a pull request review commentreactions_create_for_pull_request_review_comment | POST | Create a reaction to a pull request review comment. |
Create reaction for a releasereactions_create_for_release | POST | Create a reaction to a release. |
Create reaction for an issuereactions_create_for_issue | POST | Create a reaction to an issue. |
Create reaction for an issue commentreactions_create_for_issue_comment | POST | Create a reaction to an issue comment. |
Delete a commit comment reactionreactions_delete_for_commit_comment | DELETE | [!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_comment | DELETE | [!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_release | DELETE | [!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_comment | DELETE | [!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_issue | DELETE | [!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_comment | GET | List the reactions to a commit comment. |
List reactions for a pull request review commentreactions_list_for_pull_request_review_comment | GET | List the reactions to a pull request review comment. |
List reactions for a releasereactions_list_for_release | GET | List the reactions to a release. |
List reactions for an issuereactions_list_for_issue | GET | List the reactions to an issue. |
List reactions for an issue commentreactions_list_for_issue_comment | GET | List the reactions to an issue comment. |
Repo203
Accept a repository invitationrepos_accept_invitation_for_authenticated_user | PATCH | |
Add a repository collaboratorrepos_add_collaborator | PUT | Add a user to a repository with a specified level of access. |
Add app access restrictionsrepos_add_app_access_restrictions | POST | Protected 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_contexts | POST | Protected 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_restrictions | POST | Protected 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_restrictions | POST | Protected 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_deployment | POST | Cancels a GitHub Pages deployment. |
Check if a user is a repository collaboratorrepos_check_collaborator | GET | For 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_fixes | GET | Shows whether Dependabot security updates are enabled, disabled or paused for a repository. |
Check if immutable releases are enabled for a repositoryrepos_check_immutable_releases | GET | Shows whether immutable releases are enabled or disabled. |
Check if private vulnerability reporting is enabled for arepos_check_private_vulnerability_reporting | GET | Returns 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_alerts | GET | Shows whether dependency alerts are enabled or disabled for a repository. |
Compare two commitsrepos_compare_commits | GET | Compares two commits against one another. |
Create a commit commentrepos_create_commit_comment | POST | Create a comment for a commit using its :commit sha. |
Create a commit statusrepos_create_commit_status | POST | Users 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_rule | POST | Enable a custom deployment protection rule for an environment. |
Create a deploy keyrepos_create_deploy_key | POST | You can create a read-only deploy key. |
Create a deploymentrepos_create_deployment | POST | Deployments offer a few configurable parameters with certain defaults. |
Create a deployment branch policyrepos_create_deployment_branch_policy | POST | Creates a deployment branch or tag policy for an environment. |
Create a deployment statusrepos_create_deployment_status | POST | Users with push access can create deployment statuses for a given deployment. |
Create a forkrepos_create_fork | POST | Create a fork for the authenticated user. |
Create a GitHub Pages deploymentrepos_create_pages_deployment | POST | Create a GitHub Pages deployment for a repository. |
Create a GitHub Pages siterepos_create_pages_site | POST | Configures a GitHub Pages site. |
Create a releaserepos_create_release | POST | Users with push access to the repository can create a release. |
Create a repository dispatch eventrepos_create_dispatch_event | POST | You 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_user | POST | Creates a new repository for the authenticated user. |
Create a repository rulesetrepos_create_repo_ruleset | POST | Create a ruleset for a repository. |
Create a repository using a templaterepos_create_using_template | POST | Creates a new repository using a repository template. |
Create a repository webhookrepos_create_webhook | POST | Repositories can have multiple webhooks installed. |
Create an attestationrepos_create_attestation | POST | Store an artifact attestation and associate it with a repository. |
Create an autolink reference for a repositoryrepos_create_autolink | POST | Users with admin access to the repository can create an autolink. |
Create an organization repositoryrepos_create_in_org | POST | Creates a new repository in the specified organization. |
Create an organization repository rulesetrepos_create_org_ruleset | POST | Create a repository ruleset for an organization. |
Create commit signature protectionrepos_create_commit_signature_protection | POST | Protected 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_environment | PUT | Create 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_values | PATCH | Create new or update existing custom property values for a repository. |
Create or update file contentsrepos_create_or_update_file_contents | PUT | Creates a new file or replaces an existing file in a repository. |
Decline a repository invitationrepos_decline_invitation_for_authenticated_user | DELETE | |
Delete a commit commentrepos_delete_commit_comment | DELETE | |
Delete a deploy keyrepos_delete_deploy_key | DELETE | Deploy keys are immutable. |
Delete a deploymentrepos_delete_deployment | DELETE | If the repository only has one deployment, you can delete the deployment regardless of its status. |
Delete a deployment branch policyrepos_delete_deployment_branch_policy | DELETE | Deletes a deployment branch or tag policy for an environment. |
Delete a filerepos_delete_file | DELETE | Deletes a file in a repository. |
Delete a GitHub Pages siterepos_delete_pages_site | DELETE | Deletes a GitHub Pages site. |
Delete a releaserepos_delete_release | DELETE | Users with push access to the repository can delete a release. |
Delete a release assetrepos_delete_release_asset | DELETE | |
Delete a repositoryrepos_delete | DELETE | Deleting a repository requires admin access. |
Delete a repository invitationrepos_delete_invitation | DELETE | |
Delete a repository rulesetrepos_delete_repo_ruleset | DELETE | Delete a ruleset for a repository. |
Delete a repository webhookrepos_delete_webhook | DELETE | Delete a webhook for an organization. |
Delete access restrictionsrepos_delete_access_restrictions | DELETE | Protected 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_protection | DELETE | Protected 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_autolink | DELETE | This deletes a single autolink reference by ID that was configured for the given repository. |
Delete an environmentrepos_delete_an_environment | DELETE | OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint. |
Delete an organization repository rulesetrepos_delete_org_ruleset | DELETE | Delete a ruleset for an organization. |
Delete branch protectionrepos_delete_branch_protection | DELETE | Protected 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_protection | DELETE | Protected 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_protection | DELETE | Protected 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_rule | DELETE | Disables a custom deployment protection rule for an environment. |
Disable Dependabot security updatesrepos_disable_automated_security_fixes | DELETE | Disables Dependabot security updates for a repository. |
Disable immutable releasesrepos_disable_immutable_releases | DELETE | Disables immutable releases for a repository. |
Disable private vulnerability reporting for a repositoryrepos_disable_private_vulnerability_reporting | DELETE | Disables private vulnerability reporting for a repository. |
Disable vulnerability alertsrepos_disable_vulnerability_alerts | DELETE | Disables dependency alerts and the dependency graph for a repository. |
Download a repository archive (tar)repos_download_tarball_archive | GET | Gets a redirect URL to download a tar archive for a repository. |
Download a repository archive (zip)repos_download_zipball_archive | GET | Gets a redirect URL to download a zip archive for a repository. |
Enable Dependabot security updatesrepos_enable_automated_security_fixes | PUT | Enables Dependabot security updates for a repository. |
Enable immutable releasesrepos_enable_immutable_releases | PUT | Enables immutable releases for a repository. |
Enable private vulnerability reporting for a repositoryrepos_enable_private_vulnerability_reporting | PUT | Enables private vulnerability reporting for a repository. |
Enable vulnerability alertsrepos_enable_vulnerability_alerts | PUT | Enables dependency alerts and the dependency graph for a repository. |
Generate release notes content for a releaserepos_generate_release_notes | POST | Generate a name and body describing a release. |
Get a branchrepos_get_branch | GET | |
Get a commitrepos_get_commit | GET | Returns the contents of a single commit reference. |
Get a commit commentrepos_get_commit_comment | GET | Gets a specified commit comment. |
Get a custom deployment protection rulerepos_get_custom_deployment_protection_rule | GET | Gets an enabled custom deployment protection rule for an environment. |
Get a delivery for a repository webhookrepos_get_webhook_delivery | GET | Returns a delivery for a webhook configured in a repository. |
Get a deploy keyrepos_get_deploy_key | GET | |
Get a deploymentrepos_get_deployment | GET | |
Get a deployment branch policyrepos_get_deployment_branch_policy | GET | Gets a deployment branch or tag policy for an environment. |
Get a deployment statusrepos_get_deployment_status | GET | Users with pull access can view a deployment status for a deployment: |
Get a DNS health check for GitHub Pagesrepos_get_pages_health_check | GET | Gets a health check of the DNS settings for the CNAME record configured for a repository's GitHub Pages. |
Get a GitHub Pages siterepos_get_pages | GET | Gets information about a GitHub Pages site. |
Get a releaserepos_get_release | GET | Gets a public release with the specified release ID. |
Get a release assetrepos_get_release_asset | GET | To download the asset's binary content: |
Get a release by tag namerepos_get_release_by_tag | GET | Get a published release with the specified tag. |
Get a repositoryrepos_get | GET | The parent and source objects are present when the repository is a fork. |
Get a repository READMErepos_get_readme | GET | Gets the preferred README for a repository. |
Get a repository README for a directoryrepos_get_readme_in_directory | GET | Gets the README from a repository directory. |
Get a repository rule suiterepos_get_repo_rule_suite | GET | Gets information about a suite of rule evaluations from within a repository. |
Get a repository rulesetrepos_get_repo_ruleset | GET | Get a ruleset for a repository. |
Get a repository webhookrepos_get_webhook | GET | Returns a webhook configured in a repository. |
Get a webhook configuration for a repositoryrepos_get_webhook_config_for_repo | GET | Returns the webhook configuration for a repository. |
Get access restrictionsrepos_get_access_restrictions | GET | Protected 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_protection | GET | Protected 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_autolinks | GET | Gets all autolinks that are configured for a repository. |
Get all contributor commit activityrepos_get_contributors_stats | GET | Returns the total number of commits authored by the contributor. |
Get all custom property values for a repositoryrepos_custom_properties_for_repos_get_repository_values | GET | Gets all custom property values that are set for a repository. |
Get all deployment protection rules for an environmentrepos_get_all_deployment_protection_rules | GET | Gets all custom deployment protection rules that are enabled for an environment. |
Get all organization repository rulesetsrepos_get_org_rulesets | GET | Get all the repository rulesets for an organization. |
Get all repository rulesetsrepos_get_repo_rulesets | GET | Get all the rulesets for a repository. |
Get all repository topicsrepos_get_all_topics | GET | |
Get all status check contextsrepos_get_all_status_check_contexts | GET | Protected 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_autolink | GET | This returns a single autolink reference by ID that was configured for the given repository. |
Get an environmentrepos_get_environment | GET | [!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_ruleset | GET | Get a repository ruleset for an organization. |
Get an organization rule suiterepos_get_org_rule_suite | GET | Gets 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_branch | GET | Protected 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_protection | GET | Protected 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_protection | GET | Protected 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_metrics | GET | Returns all community profile metrics for a repository. |
Get GitHub Pages buildrepos_get_pages_build | GET | Gets information about a GitHub Pages build. |
Get latest Pages buildrepos_get_latest_pages_build | GET | Gets information about the single most recent build of a GitHub Pages site. |
Get page viewsrepos_get_views | GET | Get 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_protection | GET | Protected 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_clones | GET | Get the total number of clones and breakdown per day or week for the last 14 days. |
Get repository contentrepos_get_content | GET | Gets the contents of a file or directory in a repository. |
Get repository permissions for a userrepos_get_collaborator_permission_level | GET | Checks the repository permission and role of a collaborator. |
Get repository ruleset historyrepos_get_repo_ruleset_history | GET | Get the history of a repository ruleset. |
Get repository ruleset versionrepos_get_repo_ruleset_version | GET | Get a version of a repository ruleset. |
Get rules for a branchrepos_get_branch_rules | GET | Returns all active rules that apply to the specified branch. |
Get status checks protectionrepos_get_status_checks_protection | GET | Protected 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_branch | GET | Protected 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_ref | GET | Users 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_algorithm | GET | Returns the hash algorithm used to store repository objects. |
Get the hourly commit count for each dayrepos_get_punch_card_stats | GET | Each array contains the day number, hour number, and number of commits: |
Get the last year of commit activityrepos_get_commit_activity_stats | GET | Returns the last year of commit activity grouped by week. |
Get the latest releaserepos_get_latest_release | GET | View the latest published full release for the repository. |
Get the status of a GitHub Pages deploymentrepos_get_pages_deployment | GET | Gets the current status of a GitHub Pages deployment. |
Get the weekly commit activityrepos_get_code_frequency_stats | GET | Returns a weekly aggregate of the number of additions and deletions pushed to a repository. |
Get the weekly commit countrepos_get_participation_stats | GET | Returns the total commit counts for the owner and total commit counts in all. |
Get top referral pathsrepos_get_top_paths | GET | Get the top 10 popular contents over the last 14 days. |
Get top referral sourcesrepos_get_top_referrers | GET | Get the top 10 referrers over the last 14 days. |
Get users with access to the protected branchrepos_get_users_with_access_to_protected_branch | GET | Protected 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_attestations | GET | List a collection of artifact attestations with a given subject digest that are associated with a repository. |
List branchesrepos_list_branches | GET | |
List branches for HEAD commitrepos_list_branches_for_head_commit | GET | Protected 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_errors | GET | List any syntax errors that are detected in the CODEOWNERS file. |
List commit commentsrepos_list_comments_for_commit | GET | Lists the comments for a specified commit. |
List commit comments for a repositoryrepos_list_commit_comments_for_repo | GET | Lists the commit comments for a specified repository. |
List commit statuses for a referencerepos_list_commit_statuses_for_ref | GET | Users with pull access in a repository can view commit statuses for a given ref. |
List commitsrepos_list_commits | GET | Signature verification object |
List custom deployment rule integrations available for anrepos_list_custom_deployment_rule_integrations | GET | Gets all custom deployment protection rule integrations that are available for an environment. |
List deliveries for a repository webhookrepos_list_webhook_deliveries | GET | Returns a list of webhook deliveries for a webhook configured in a repository. |
List deploy keysrepos_list_deploy_keys | GET | |
List deployment branch policiesrepos_list_deployment_branch_policies | GET | Lists the deployment branch policies for an environment. |
List deployment statusesrepos_list_deployment_statuses | GET | Users with pull access can view deployment statuses for a deployment: |
List deploymentsrepos_list_deployments | GET | Simple filtering of deployments is available via query parameters: |
List environmentsrepos_get_all_environments | GET | Lists the environments for a repository. |
List forksrepos_list_forks | GET | |
List GitHub Pages buildsrepos_list_pages_builds | GET | Lists builts of a GitHub Pages site. |
List issue types for a repositoryrepos_list_issue_types | GET | Lists issue types available for a repository (inherited from its organization owner, with any per-repository overrides applied). |
List organization repositoriesrepos_list_for_org | GET | Lists repositories for the specified organization. |
List organization rule suitesrepos_get_org_rule_suites | GET | Lists suites of rule evaluations at the organization level. |
List public repositoriesrepos_list_public | GET | Lists all public repositories in the order that they were created. |
List pull requests associated with a commitrepos_list_pull_requests_associated_with_commit | GET | Lists the merged pull request that introduced the commit to the repository. |
List release assetsrepos_list_release_assets | GET | |
List releasesrepos_list_releases | GET | This 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_user | GET | Lists public repositories for the specified user. |
List repositories for the authenticated userrepos_list_for_authenticated_user | GET | Lists repositories that the authenticated user has explicit permission (:read, :write, or :admin) to access. |
List repository activitiesrepos_list_activities | GET | Lists 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_collaborators | GET | For 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_contributors | GET | Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. |
List repository invitationsrepos_list_invitations | GET | When 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_user | GET | When authenticating as a user, this endpoint will list all currently open repository invitations for that user. |
List repository languagesrepos_list_languages | GET | Lists languages for the specified repository. |
List repository rule suitesrepos_get_repo_rule_suites | GET | Lists suites of rule evaluations at the repository level. |
List repository tagsrepos_list_tags | GET | |
List repository teamsrepos_list_teams | GET | Lists the teams that have access to the specified repository and that are also visible to the authenticated user. |
List repository webhooksrepos_list_webhooks | GET | Lists webhooks for a repository. |
Merge a branchrepos_merge | POST | |
Ping a repository webhookrepos_ping_webhook | POST | This will trigger a ping event to be sent to the hook. |
Redeliver a delivery for a repository webhookrepos_redeliver_webhook_delivery | POST | Redeliver a webhook delivery for a webhook configured in a repository. |
Remove a repository collaboratorrepos_remove_collaborator | DELETE | Removes a collaborator from a repository. |
Remove app access restrictionsrepos_remove_app_access_restrictions | DELETE | Protected 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_contexts | DELETE | Protected 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_protection | DELETE | Protected 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_restrictions | DELETE | Protected 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_restrictions | DELETE | Protected 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_branch | POST | Renames a branch in a repository. |
Replace all repository topicsrepos_replace_all_topics | PUT | |
Request a GitHub Pages buildrepos_request_pages_build | POST | You can request that your site be built from the latest revision on the default branch. |
Set admin branch protectionrepos_set_admin_branch_protection | POST | Protected 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_restrictions | PUT | Protected 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_contexts | PUT | Protected 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_restrictions | PUT | Protected 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_restrictions | PUT | Protected 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_upstream | POST | Sync a branch of a forked repository to keep it up-to-date with the upstream repository. |
Test the push repository webhookrepos_test_push_webhook | POST | This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. |
Transfer a repositoryrepos_transfer | POST | A 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_comment | PATCH | Updates the contents of a specified commit comment. |
Update a deployment branch policyrepos_update_deployment_branch_policy | PUT | Updates a deployment branch or tag policy for an environment. |
Update a releaserepos_update_release | PATCH | Users with push access to the repository can edit a release. |
Update a release assetrepos_update_release_asset | PATCH | Users with push access to the repository can edit a release asset. |
Update a repositoryrepos_update | PATCH | Note : To edit a repository's topics, use the Replace all repository topics endpoint. |
Update a repository invitationrepos_update_invitation | PATCH | |
Update a repository rulesetrepos_update_repo_ruleset | PUT | Update a ruleset for a repository. |
Update a repository webhookrepos_update_webhook | PATCH | Updates a webhook configured in a repository. |
Update a webhook configuration for a repositoryrepos_update_webhook_config_for_repo | PATCH | Updates the webhook configuration for a repository. |
Update an organization repository rulesetrepos_update_org_ruleset | PUT | Update a ruleset for an organization. |
Update branch protectionrepos_update_branch_protection | PUT | Protected 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_site | PUT | Updates information for a GitHub Pages site. |
Update pull request review protectionrepos_update_pull_request_review_protection | PATCH | Protected 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_protection | PATCH | Protected 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_asset | POST | This endpoint makes use of a Hypermedia relation to determine which URL to access. |
Search7
Search codesearch_code | GET | Searches for query terms inside of a file. |
Search commitssearch_commits | GET | Find commits via various criteria on the default branch (usually main). |
Search issues and pull requestssearch_issues_and_pull_requests | GET | Find issues by state and keyword. |
Search labelssearch_labels | GET | Find labels in a repository with names or descriptions that match search keywords. |
Search repositoriessearch_repos | GET | Find repositories via various criteria. |
Search topicssearch_topics | GET | Find topics via various criteria. |
Search userssearch_users | GET | Find users via various criteria. |
Secret Scanning17
Bulk create organization custom patternssecret_scanning_bulk_create_org_custom_patterns | POST | Bulk creates secret scanning custom patterns for an organization. |
Bulk create repository custom patternssecret_scanning_bulk_create_repo_custom_patterns | POST | Bulk creates secret scanning custom patterns for a repository. |
Bulk delete organization custom patternssecret_scanning_bulk_delete_org_custom_patterns | DELETE | Bulk deletes secret scanning custom patterns for an organization. |
Bulk delete repository custom patternssecret_scanning_bulk_delete_repo_custom_patterns | DELETE | Bulk deletes secret scanning custom patterns for a repository. |
Create a push protection bypasssecret_scanning_create_push_protection_bypass | POST | Creates a bypass for a previously push protected secret. |
Get a secret scanning alertsecret_scanning_get_alert | GET | Gets a single secret scanning alert detected in an eligible repository. |
Get secret scanning scan history for a repositorysecret_scanning_get_scan_history | GET | Lists the latest default incremental and backfill scans by type for a repository. |
List locations for a secret scanning alertsecret_scanning_list_locations_for_alert | GET | Lists all locations for a given secret scanning alert for an eligible repository. |
List organization custom patternssecret_scanning_list_org_custom_patterns | GET | Lists secret scanning custom patterns for an organization. |
List organization pattern configurationssecret_scanning_list_org_pattern_configs | GET | Lists the secret scanning pattern configurations for an organization. |
List repository custom patternssecret_scanning_list_repo_custom_patterns | GET | Lists secret scanning custom patterns for a repository. |
List secret scanning alerts for a repositorysecret_scanning_list_alerts_for_repo | GET | Lists secret scanning alerts for an eligible repository, from newest to oldest. |
List secret scanning alerts for an organizationsecret_scanning_list_alerts_for_org | GET | Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest. |
Update a repository custom patternsecret_scanning_update_repo_custom_pattern | PATCH | Updates a secret scanning custom pattern for a repository. |
Update a secret scanning alertsecret_scanning_update_alert | PATCH | Updates the status of a secret scanning alert in an eligible repository. |
Update an organization custom patternsecret_scanning_update_org_custom_pattern | PATCH | Updates a secret scanning custom pattern for an organization. |
Update organization pattern configurationssecret_scanning_update_org_pattern_configs | PATCH | Updates the secret scanning pattern configurations for an organization. |
Security Advisory10
Create a repository security advisorysecurity_advisories_create_repository_advisory | POST | Creates a new repository security advisory. |
Create a temporary private forksecurity_advisories_create_fork | POST | Create a temporary private fork to collaborate on fixing a security vulnerability in your repository. |
Get a global security advisorysecurity_advisories_get_global_advisory | GET | Gets a global security advisory using its GitHub Security Advisory (GHSA) identifier. |
Get a repository security advisorysecurity_advisories_get_repository_advisory | GET | Get a repository security advisory using its GitHub Security Advisory (GHSA) identifier. |
List global security advisoriessecurity_advisories_list_global_advisories | GET | Lists all global security advisories that match the specified parameters. |
List repository security advisoriessecurity_advisories_list_repository_advisories | GET | Lists security advisories in a repository. |
List repository security advisories for an organizationsecurity_advisories_list_org_repository_advisories | GET | Lists repository security advisories for an organization. |
Privately report a security vulnerabilitysecurity_advisories_create_private_vulnerability_report | POST | Report a security vulnerability to the maintainers of the repository. |
Request a CVE for a repository security advisorysecurity_advisories_create_repository_advisory_cve_request | POST | If 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_advisory | PATCH | Update 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_org | PUT | Adds an organization member to a team. |
Add or update team membership for a user (Legacy)teams_add_or_update_membership_for_user_legacy | PUT | [!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_org | PUT | To 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_legacy | PUT | [!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_legacy | PUT | The "Add team member" endpoint (described below) is closing down. |
Check team permissions for a repositoryteams_check_permissions_for_repo_in_org | GET | Checks 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_legacy | GET | [!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. |
Create a teamteams_create | POST | To create a team, the authenticated user must be a member or owner of {org}. |
Delete a teamteams_delete_in_org | DELETE | To delete a team, the authenticated user must be an organization owner or team maintainer. |
Delete a team (Legacy)teams_delete_legacy | DELETE | [!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_legacy | GET | [!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_name | GET | Gets a team using the team's slug. |
Get team member (Legacy)teams_get_member_legacy | GET | The "Get team member" endpoint (described below) is closing down. |
Get team membership for a userteams_get_membership_for_user_in_org | GET | Team members will include the members of child teams. |
Get team membership for a user (Legacy)teams_get_membership_for_user_legacy | GET | [!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_org | GET | Lists the child teams of the team specified by {team slug}. |
List child teams (Legacy)teams_list_child_legacy | GET | [!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_org | GET | The 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_legacy | GET | [!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_org | GET | Team members will include the members of child teams. |
List team members (Legacy)teams_list_members_legacy | GET | [!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_org | GET | Lists a team's repositories visible to the authenticated user. |
List team repositories (Legacy)teams_list_repos_legacy | GET | [!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. |
List teamsteams_list | GET | Lists all teams in an organization that are visible to the authenticated user. |
List teams for the authenticated userteams_list_for_authenticated_user | GET | List all of the teams across all of the organizations to which the authenticated user belongs. |
Remove a repository from a teamteams_remove_repo_in_org | DELETE | If 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_legacy | DELETE | [!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_legacy | DELETE | The "Remove team member" endpoint (described below) is closing down. |
Remove team membership for a userteams_remove_membership_for_user_in_org | DELETE | To 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_legacy | DELETE | [!WARNING] Endpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. |
Update a teamteams_update_in_org | PATCH | To edit a team, the authenticated user must either be an organization owner or a team maintainer. |
Update a team (Legacy)teams_update_legacy | PATCH | [!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_user | POST | OAuth 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_user | POST | Add one or more social accounts to the authenticated user's profile. |
Block a userusers_block | PUT | Blocks the given user and returns a 204. |
Check if a person is followed by the authenticated userusers_check_person_is_followed_by_authenticated | GET | |
Check if a user follows another userusers_check_following_for_user | GET | |
Check if a user is blocked by the authenticated userusers_check_blocked | GET | Returns 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_user | POST | Adds 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_user | POST | Adds 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_user | POST | Creates an SSH signing key for the authenticated user's GitHub account. |
Delete a GPG key for the authenticated userusers_delete_gpg_key_for_authenticated_user | DELETE | Removes 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_user | DELETE | Removes a public SSH key from the authenticated user's GitHub account. |
Delete an email address for the authenticated userusers_delete_email_for_authenticated_user | DELETE | OAuth 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_user | DELETE | Deletes an SSH signing key from the authenticated user's GitHub account. |
Delete attestations by IDusers_delete_attestations_by_id | DELETE | Delete 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_digest | DELETE | Delete an artifact attestation by subject digest. |
Delete attestations in bulkusers_delete_attestations_bulk | POST | Delete artifact attestations in bulk by either subject digests or unique ID. |
Delete social accounts for the authenticated userusers_delete_social_account_for_authenticated_user | DELETE | Deletes one or more social accounts from the authenticated user's profile. |
Follow a userusers_follow | PUT | Note 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_user | GET | View extended details for a single GPG key. |
Get a public SSH key for the authenticated userusers_get_public_ssh_key_for_authenticated_user | GET | View extended details for a single public SSH key. |
Get a userusers_get_by_username | GET | Provides publicly available information about someone with a GitHub account. |
Get a user using their IDusers_get_by_id | GET | Provides publicly available information about someone with a GitHub account. |
Get an SSH signing key for the authenticated userusers_get_ssh_signing_key_for_authenticated_user | GET | Gets extended details for an SSH signing key. |
Get contextual information for a userusers_get_context_for_user | GET | Provides hovercard information. |
Get the authenticated userusers_get_authenticated | GET | OAuth app tokens and personal access tokens (classic) need the user scope in order for the response to include private profile information. |
List attestationsusers_list_attestations | GET | List 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_bulk | POST | List 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_user | GET | Lists all of your email addresses, and specifies which one is visible to the public. |
List followers of a userusers_list_followers_for_user | GET | Lists the people following the specified user. |
List followers of the authenticated userusers_list_followers_for_authenticated_user | GET | Lists the people following the authenticated user. |
List GPG keys for a userusers_list_gpg_keys_for_user | GET | Lists the GPG keys for a user. |
List GPG keys for the authenticated userusers_list_gpg_keys_for_authenticated_user | GET | Lists the current user's GPG keys. |
List public email addresses for the authenticated userusers_list_public_emails_for_authenticated_user | GET | Lists 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_user | GET | Lists the verified public SSH keys for a user. |
List public SSH keys for the authenticated userusers_list_public_ssh_keys_for_authenticated_user | GET | Lists the public SSH keys for the authenticated user's GitHub account. |
List social accounts for a userusers_list_social_accounts_for_user | GET | Lists social media accounts for a user. |
List social accounts for the authenticated userusers_list_social_accounts_for_authenticated_user | GET | Lists all of your social accounts. |
List SSH signing keys for a userusers_list_ssh_signing_keys_for_user | GET | Lists the SSH signing keys for a user. |
List SSH signing keys for the authenticated userusers_list_ssh_signing_keys_for_authenticated_user | GET | Lists the SSH signing keys for the authenticated user's GitHub account. |
List the people a user followsusers_list_following_for_user | GET | Lists the people who the specified user follows. |
List the people the authenticated user followsusers_list_followed_by_authenticated_user | GET | Lists the people who the authenticated user follows. |
List usersusers_list | GET | Lists all users, in the order that they signed up on GitHub. |
List users blocked by the authenticated userusers_list_blocked_by_authenticated_user | GET | List the users you've blocked on your personal account. |
Set primary email visibility for the authenticated userusers_set_primary_email_visibility_for_authenticated_user | PATCH | Sets the visibility for your primary email addresses. |
Unblock a userusers_unblock | DELETE | Unblocks the given user and returns a 204. |
Unfollow a userusers_unfollow | DELETE | OAuth app tokens and personal access tokens (classic) need the user:follow scope to use this endpoint. |
Update the authenticated userusers_update_authenticated | PATCH | Note: 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... |