---
title: "List self-hosted runner groups for an organization"
method: GET
path: "/orgs/{org}/actions/runner-groups"
tags: ["actions"]
---

# List self-hosted runner groups for an organization

`GET /orgs/{org}/actions/runner-groups`

Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.

OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

## Path parameters

- `org` string, required

## Query parameters

- `per_page` integer
- `page` integer
- `visible_to_repository` string

## Response `200`

Response

- object
  - `total_count` number, required
  - `runner_groups` RunnerGroupsOrg[], required
    - `id` number, required
    - `name` string, required
    - `visibility` string, required
    - `default` boolean, required
    - `selected_repositories_url` string — Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected`
    - `runners_url` string, required
    - `hosted_runners_url` string
    - `network_configuration_id` string — The identifier of a hosted compute network configuration.
    - `inherited` boolean, required
    - `inherited_allows_public_repositories` boolean
    - `allows_public_repositories` boolean, required
    - `workflow_restrictions_read_only` boolean — If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified.
    - `restricted_to_workflows` boolean — If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
    - `selected_workflows` string[] — List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.

---

[API](https://skmtc.net/github/apis/github-v3-rest-api.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api/versions/a367f7028301/schema)
