---
title: "List self-hosted runner groups for an enterprise"
method: GET
path: "/enterprises/{enterprise}/actions/runner-groups"
tags: ["enterprise-admin"]
---

# List self-hosted runner groups for an enterprise

`GET /enterprises/{enterprise}/actions/runner-groups`

Lists all self-hosted runner groups for an enterprise.

You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.

## Path parameters

- `enterprise` string, required

## Query parameters

- `per_page` integer
- `page` integer
- `visible_to_organization` string

## Response `200`

Response

- object
  - `total_count` number, required
  - `runner_groups` RunnerGroupsEnterprise[], required
    - `id` number, required
    - `name` string, required
    - `visibility` string, required
    - `default` boolean, required
    - `selected_organizations_url` string
    - `runners_url` string, required
    - `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-6.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-6/versions/15db3fa0759b/schema)
