List self-hosted runners for an enterprise
Lists all self-hosted runners configured for an enterprise. You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
GET
/enterprises/{enterprise}/actions/runners- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- enterprise stringrequired
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Query Parameters
- per_page integeroptional
Results per page (max 100)
- page integeroptional
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]optional
runners array[Self hosted runners object]
optional items Self hosted runners objectA self hosted runner
items Self hosted runners object
A self hosted runner
busy boolean
requiredid integer
requiredThe id of the runner.
Example: 5
labels array[Self hosted runner label object]
requiredname string
requiredThe name of the runner.
Example: iMac
os string
requiredThe Operating System of the runner.
Example: macos
status string
requiredThe status of the runner.
Example: online
total_count number
optional