/
GI
github
/
GitHub v3 REST API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 2h ago · Updated 2d ago
View markdown
github
GitHub v3 REST API (api.github.com)
get
List self-hosted runners for a repository
latest
OpenAPI 3.0.3
MIT
raw.githubusercontent.com
2026-08-20
1,221
969
12.3 MB
cb56473559e7
actions
187
get
Get GitHub Actions cache retention limit for an enterprise
put
Set GitHub Actions cache retention limit for an enterprise
get
Get GitHub Actions cache storage limit for an enterprise
put
Set GitHub Actions cache storage limit for an enterprise
get
Get GitHub Actions cache retention limit for an organization
put
Set GitHub Actions cache retention limit for an organization
get
Get GitHub Actions cache storage limit for an organization
put
Set GitHub Actions cache storage limit for an organization
get
Get GitHub Actions cache usage for an organization
get
List repositories with GitHub Actions cache usage for an organization
get
List GitHub-hosted runners for an organization
post
Create a GitHub-hosted runner for an organization
get
List custom images for an organization
get
Get a custom image definition for GitHub Actions Hosted Runners
delete
Delete a custom image from the organization
get
List image versions of a custom image for an organization
get
Get an image version of a custom image for GitHub Actions Hosted Runners
delete
Delete an image version of custom image from the organization
get
Get GitHub-owned images for GitHub-hosted runners in an organization
get
Get partner images for GitHub-hosted runners in an organization
get
Get limits on GitHub-hosted runners for an organization
get
Get GitHub-hosted runners machine specs for an organization
get
Get platforms for GitHub-hosted runners in an organization
get
Get a GitHub-hosted runner for an organization
delete
Delete a GitHub-hosted runner for an organization
patch
Update a GitHub-hosted runner for an organization
get
Get GitHub Actions permissions for an organization
put
Set GitHub Actions permissions for an organization
get
Get artifact and log retention settings for an organization
put
Set artifact and log retention settings for an organization
get
Get fork PR contributor approval permissions for an organization
put
Set fork PR contributor approval permissions for an organization
get
Get private repo fork PR workflow settings for an organization
put
Set private repo fork PR workflow settings for an organization
get
List selected repositories enabled for GitHub Actions in an organization
put
Set selected repositories enabled for GitHub Actions in an organization
put
Enable a selected repository for GitHub Actions in an organization
delete
Disable a selected repository for GitHub Actions in an organization
get
Get allowed actions and reusable workflows for an organization
put
Set allowed actions and reusable workflows for an organization
get
Get self-hosted runners settings for an organization
put
Set self-hosted runners settings for an organization
get
List repositories allowed to use self-hosted runners in an organization
put
Set repositories allowed to use self-hosted runners in an organization
put
Add a repository to the list of repositories allowed to use self-hosted runners in an organization
delete
Remove a repository from the list of repositories allowed to use self-hosted runners in an organization
get
Get default workflow permissions for an organization
put
Set default workflow permissions for an organization
get
List self-hosted runner groups for an organization
post
Create a self-hosted runner group for an organization
get
Get a self-hosted runner group for an organization
delete
Delete a self-hosted runner group from an organization
patch
Update a self-hosted runner group for an organization
get
List GitHub-hosted runners in a group for an organization
get
List repository access to a self-hosted runner group in an organization
put
Set repository access for a self-hosted runner group in an organization
put
Add repository access to a self-hosted runner group in an organization
delete
Remove repository access to a self-hosted runner group in an organization
get
List self-hosted runners in a group for an organization
put
Set self-hosted runners in a group for an organization
put
Add a self-hosted runner to a group for an organization
delete
Remove a self-hosted runner from a group for an organization
get
List self-hosted runners for an organization
get
List runner applications for an organization
post
Create configuration for a just-in-time runner for an organization
post
Create a registration token for an organization
post
Create a remove token for an organization
get
Get a self-hosted runner for an organization
delete
Delete a self-hosted runner from an organization
get
List labels for a self-hosted runner for an organization
put
Set custom labels for a self-hosted runner for an organization
post
Add custom labels to a self-hosted runner for an organization
delete
Remove all custom labels from a self-hosted runner for an organization
delete
Remove a custom label from a self-hosted runner for an organization
get
List organization secrets
get
Get an organization public key
get
Get an organization secret
put
Create or update an organization secret
delete
Delete an organization secret
get
List selected repositories for an organization secret
put
Set selected repositories for an organization secret
put
Add selected repository to an organization secret
delete
Remove selected repository from an organization secret
get
List organization variables
post
Create an organization variable
get
Get an organization variable
delete
Delete an organization variable
patch
Update an organization variable
get
List selected repositories for an organization variable
put
Set selected repositories for an organization variable
put
Add selected repository to an organization variable
delete
Remove selected repository from an organization variable
get
List artifacts for a repository
get
Get an artifact
delete
Delete an artifact
get
Download an artifact
get
Get GitHub Actions cache retention limit for a repository
put
Set GitHub Actions cache retention limit for a repository
get
Get GitHub Actions cache storage limit for a repository
put
Set GitHub Actions cache storage limit for a repository
get
Get GitHub Actions cache usage for a repository
get
List GitHub Actions caches for a repository
delete
Delete GitHub Actions caches for a repository (using a cache key)
delete
Delete a GitHub Actions cache for a repository (using a cache ID)
get
List concurrency groups for a repository
get
Get a concurrency group for a repository
get
Get a job for a workflow run
get
Download job logs for a workflow run
post
Re-run a job from a workflow run
get
Get the customization template for an OIDC subject claim for a repository
put
Set the customization template for an OIDC subject claim for a repository
get
List repository organization secrets
get
List repository organization variables
get
Get GitHub Actions permissions for a repository
put
Set GitHub Actions permissions for a repository
get
Get the level of access for workflows outside of the repository
put
Set the level of access for workflows outside of the repository
get
Get artifact and log retention settings for a repository
put
Set artifact and log retention settings for a repository
get
Get fork PR contributor approval permissions for a repository
put
Set fork PR contributor approval permissions for a repository
get
Get private repo fork PR workflow settings for a repository
put
Set private repo fork PR workflow settings for a repository
get
Get allowed actions and reusable workflows for a repository
put
Set allowed actions and reusable workflows for a repository
get
Get default workflow permissions for a repository
put
Set default workflow permissions for a repository
get
List self-hosted runners for a repository
get
List runner applications for a repository
post
Create configuration for a just-in-time runner for a repository
post
Create a registration token for a repository
post
Create a remove token for a repository
get
Get a self-hosted runner for a repository
delete
Delete a self-hosted runner from a repository
get
List labels for a self-hosted runner for a repository
put
Set custom labels for a self-hosted runner for a repository
post
Add custom labels to a self-hosted runner for a repository
delete
Remove all custom labels from a self-hosted runner for a repository
delete
Remove a custom label from a self-hosted runner for a repository
get
List workflow runs for a repository
get
Get a workflow run
delete
Delete a workflow run
get
Get the review history for a workflow run
post
Approve a workflow run for a fork pull request
get
List workflow run artifacts
get
Get a workflow run attempt
get
List jobs for a workflow run attempt
get
Download workflow run attempt logs
post
Cancel a workflow run
get
List concurrency groups for a workflow run
post
Review custom deployment protection rules for a workflow run
post
Force cancel a workflow run
get
List jobs for a workflow run
get
Download workflow run logs
delete
Delete workflow run logs
get
Get pending deployments for a workflow run
post
Review pending deployments for a workflow run
post
Re-run a workflow
post
Re-run failed jobs from a workflow run
get
Get workflow run usage
get
List repository secrets
get
Get a repository public key
get
Get a repository secret
put
Create or update a repository secret
delete
Delete a repository secret
get
List repository variables
post
Create a repository variable
get
Get a repository variable
delete
Delete a repository variable
patch
Update a repository variable
get
List repository workflows
get
Get a workflow
put
Disable a workflow
post
Create a workflow dispatch event
put
Enable a workflow
get
List workflow runs for a workflow
get
Get workflow usage
get
List environment secrets
get
Get an environment public key
get
Get an environment secret
put
Create or update an environment secret
delete
Delete an environment secret
get
List environment variables
post
Create an environment variable
get
Get an environment variable
delete
Delete an environment variable
patch
Update an environment variable
activity
33
agent-tasks
5
agents
30
apps
37
billing
13
campaigns
5
checks
12
classroom
6
code-quality
4
code-scanning
21
code-security
20
codes-of-conduct
2
codespaces
48
copilot
31
copilot-spaces
28
credentials
1
dependabot
25
dependency-graph
5
emojis
1
enterprise-team-memberships
6
enterprise-team-organizations
6
enterprise-teams
5
gists
20
git
13
gitignore
2
hosted-compute
6
interactions
16
issues
58
licenses
3
markdown
2
meta
5
migrations
22
oidc
8
orgs
110
packages
27
private-registries
6
projects
26
pulls
34
rate-limit
1
reactions
15
repos
203
search
7
secret-scanning
17
security-advisories
10
teams
32
users
47