Get a self-hosted runner for an organization
Gets a specific self-hosted runner configured in an organization.
Authenticated users must have admin access to the organization to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The organization name. The name is not case sensitive.
Unique identifier of the self-hosted runner.
Responses
Section titled “ Responses ”Response
A self hosted runner
object
The ID of the runner.
The ID of the runner group.
The name of the runner.
The Operating System of the runner.
The status of the runner.
A label for a self hosted runner
object
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 version of the GitHub Actions Runner software. This is only set if the runner has connected to the service at least once.
Examples
{ "id": 23, "name": "MBP", "os": "macos", "status": "online", "busy": true, "ephemeral": false, "version": "2.323.0", "labels": [ { "id": 5, "name": "self-hosted", "type": "read-only" }, { "id": 7, "name": "X64", "type": "read-only" }, { "id": 20, "name": "macOS", "type": "read-only" }, { "id": 21, "name": "no-gpu", "type": "custom" } ]}