Skip to main content

List self-hosted runners for an organization

Lists all self-hosted runners configured in an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint.

GET/orgs/{org}/actions/runners
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
org string
required
Query Parameters
per_page integer
optional

Results per page (max 100)

page integer
optional

Page number of the results to fetch.

Responses

application/json object

Response

Headers
Link string
Example:
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last"
runners array[Self hosted runners object]
required
items Self hosted runners object

A self hosted runner

busy boolean
required
id integer
required

The id of the runner.

Example: 5

labels array[Self hosted runner label object]
required
name string
required

The name of the runner.

Example: iMac

os string
required

The Operating System of the runner.

Example: macos

status string
required

The status of the runner.

Example: online

total_count integer
required