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

# Get a self-hosted runner group for an enterprise

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

Gets a specific self-hosted runner group for an enterprise.

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

## Path parameters

- `enterprise` string, required
- `runner_group_id` integer, required

## Response `200`

Response

- RunnerGroupsEnterprise
  - `id` number, required
  - `name` string, required
  - `visibility` string, required
  - `default` boolean, required
  - `selected_organizations_url` string
  - `runners_url` string, required
  - `hosted_runners_url` string
  - `network_configuration_id` string — The identifier of a hosted compute network configuration.
  - `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-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/versions/8ae6d0c8716e/schema)
