Get a self-hosted runner for an enterprise
Gets a specific self-hosted runner configured in an enterprise. You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
/enterprises/{enterprise}/actions/runners/{runner_id}- 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.
- runner_id integerrequired
Unique identifier of the self-hosted runner.
Responses
Response
The id of the runner.
Example: 5
labels array[Self hosted runner label object]required
items Self hosted runner label objectA label for a self hosted runner
A label for a self hosted runner
Unique identifier of the label.
Name of the label.
The type of label. Read-only labels are applied automatically when the runner is configured.
The name of the runner.
Example: iMac
The Operating System of the runner.
Example: macos
The status of the runner.
Example: online