Skip to content

Get GitHub-owned images for GitHub-hosted runners in an organization

GET
/orgs/{org}/actions/hosted-runners/images/github-owned

Get the list of GitHub-owned images available for GitHub-hosted runners for an organization.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

Response

Media type application/json
object
total_count
required
integer
images
required
Array<object>
GitHub-hosted runner image details.

Provides details of a hosted runner image

object
id
required

The ID of the image. Use this ID for the image parameter when creating a new larger runner.

string
platform
required

The operating system of the image.

string
size_gb
required

Image size in GB.

integer
display_name
required

Display name for this image.

string
source
required

The image provider.

string
Allowed values: github partner custom
Examples
Example default
{
"id": "ubuntu-20.04",
"platform": "linux-x64",
"size_gb": 86,
"display_name": "20.04",
"source": "github"
}