Get a self-hosted runner for a repository
Gets a specific self-hosted runner configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.
GET
/repos/{owner}/{repo}/actions/runners/{runner_id}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- owner stringrequired
- repo stringrequired
- runner_id integerrequired
Unique identifier of the self-hosted runner.
Responses
application/json Self hosted runners object
Response
busy boolean
requiredid integer
requiredThe id of the runner.
Example: 5
labels array[Self hosted runner label object]required
labels array[Self hosted runner label object]
required items Self hosted runner label objectA label for a self hosted runner
items Self hosted runner label object
A label for a self hosted runner
id integer
optionalUnique identifier of the label.
name string
requiredName of the label.
type string
optionalThe type of label. Read-only labels are applied automatically when the runner is configured.
name 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