List self-hosted runners for a repository

Lists all self-hosted runners for a repository. You must authenticate using an access token with the repo scope to use this endpoint.

GET /repos/:owner/:repo/actions/runners

Response

Status: 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
      <https://api.github.com/resource?page=5>; rel="last"
{
  "total_count": 2,
  "runners": [
    {
      "id": 23,
      "name": "MBP",
      "os": "macos",
      "status": "online"
    },
    {
      "id": 24,
      "name": "iMac",
      "os": "macos",
      "status": "offline"
    }
  ]
}