Skip to content

Get GitHub-hosted runners machine specs for an organization

GET
/orgs/{org}/actions/hosted-runners/machine-sizes

Get the list of machine specs 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
machine_specs
required
Array<object>
Github-owned VM details.

Provides details of a particular machine spec.

object
id
required

The ID used for the size parameter when creating a new runner.

string
cpu_cores
required

The number of cores.

integer
memory_gb
required

The available RAM for the machine spec.

integer
storage_gb
required

The available SSD storage for the machine spec.

integer
Examples
Example default
{
"id": "4-core",
"cpu_cores": 4,
"memory_gb": 16,
"storage_gb": 150
}