Sample - GitHub REST API
GET/orgs/{org}/actions/runner-groups/{runner_group_id}

Get a self-hosted runner group for an organization

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

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

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
orgstringrequired
The organization name. The name is not case sensitive.
runner_group_idintegerrequired
Unique identifier of the self-hosted runner group.

1 status code
200Response
idnumberrequired
namestringrequired
visibilitystringrequired
defaultbooleanrequired
selected_repositories_urlstringoptional
Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected`
runners_urlstringrequired
hosted_runners_urlstringoptional
network_configuration_idstringoptional
The identifier of a hosted compute network configuration.
inheritedbooleanrequired
inherited_allows_public_repositoriesbooleanoptional
allows_public_repositoriesbooleanrequired
workflow_restrictions_read_onlybooleanoptional
If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified.
Default:false
restricted_to_workflowsbooleanoptional
If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
Default:false
selected_workflowsarray<string>optional
List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.