actions
List self-hosted runners for an organization
Lists all self-hosted runners 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.
get/orgs/{org}/actions/runners
Path parameters
orgstring required
The organization name. The name is not case sensitive.
Query parameters
per_pageinteger
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
pageinteger
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
Response
Response
Example response
{
"runners": [
{
"id": 5,
"runner_group_id": 1,
"name": "iMac",
"os": "macos",
"status": "online"
}
]
}