List the labels on a self-hosted runner
One step with GitHub Actions. We can help you get access.
Look something up
List the labels on a self-hosted runner
with GitHub Actions
Works with AI assistants
Use GitHub Actions: its GitHub Actions Self-Hosted Runners API lets you list the labels on a self-hosted runner in a single step (GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- What labels does a self-hosted runner have that jobs can target with runs-on?
- Which custom and default labels are attached to one of my runners?
Say it to your AI assistant
- List the labels on runner {runner_id} in {owner}/{repo}.
- Show which runs-on labels runner {runner_id} answers to.
For your developer
GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels in GitHub Actions Self-Hosted Runners API. Full spec on APIs.io.