How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Actions Self-Hosted Runners API

Manage self-hosted runners for workflows

GitHub Actions Self-Hosted Runners API is one of 11 APIs that GitHub Actions publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 9 JSON Schema definitions.

Tagged areas include Self-Hosted Runners. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, a getting-started guide, an API reference, a changelog, and 9 JSON Schemas.

This API exposes 11 operations across 7 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.github.com.

11 operations 7 paths 4 schemas 3 DELETE4 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.github.com
Authentication
HTTP Bearer, HTTP Bearer
License
Resource Areas
1

Authentication & Security 2

GitHub Actions Self-Hosted Runners API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). It accepts HTTP bearer tokens (personalAccessToken). By default, every request must be authenticated.

  • bearerAuth — GitHub personal access token or OAuth token
  • personalAccessToken — Fine-grained personal access token with Actions permissions

Paths & Operations 11

Across 7 paths, the API surfaces 11 operations — 3 DELETE, 4 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Self-Hosted Runners 11

Manage self-hosted runners for workflows

GET
/repos/{owner}/{repo}/actions/runners
Github Actions List Self-hosted Runners for a Repository
listSelfHostedRunnersForRepo 5 params → 200
GET
/repos/{owner}/{repo}/actions/runners/{runner_id}
Github Actions Get a Self-hosted Runner for a Repository
getSelfHostedRunnerForRepo 3 params → 200
DELETE
/repos/{owner}/{repo}/actions/runners/{runner_id}
Github Actions Delete a Self-hosted Runner From a Repository
deleteSelfHostedRunnerFromRepo 3 params → 204
GET
/repos/{owner}/{repo}/actions/runners/downloads
Github Actions List Runner Applications for a Repository
listRunnerApplicationsForRepo 2 params → 200
POST
/repos/{owner}/{repo}/actions/runners/registration-token
Github Actions Create a Registration Token for a Repository
createRegistrationTokenForRepo 2 params → 201
POST
/repos/{owner}/{repo}/actions/runners/remove-token
Github Actions Create a Remove Token for a Repository
createRemoveTokenForRepo 2 params → 201
GET
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels
Github Actions List Labels for a Self-hosted Runner for a Repository
listLabelsForSelfHostedRunnerForRepo 3 params → 200
POST
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels
Github Actions Add Custom Labels to a Self-hosted Runner for a Repository
addCustomLabelsToSelfHostedRunnerForRepo 3 params body → 200
PUT
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels
Github Actions Set Custom Labels for a Self-hosted Runner for a Repository
setCustomLabelsForSelfHostedRunnerForRepo 3 params body → 200
DELETE
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels
Github Actions Remove All Custom Labels From a Self-hosted Runner for a Repository
removeAllCustomLabelsFromSelfHostedRunnerForRepo 3 params → 200
DELETE
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}
Github Actions Remove a Custom Label From a Self-hosted Runner for a Repository
removeCustomLabelFromSelfHostedRunnerForRepo 4 params → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are SelfHostedRunner (6 properties), RunnerApplication (6 properties), RunnerLabel (3 properties), AuthenticationToken (2 properties). Each schema is shown below with its type and property counts.

RunnerLabel
object
3 properties
RunnerApplication
object
6 properties
SelfHostedRunner
object
6 properties
AuthenticationToken
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-actions-self-hosted-runners-api-openapi.yml Raw ↑

Other APIs GitHub Actions publishes across the network.

GitHub Actions Artifacts API
GitHub Actions Cache API
GitHub Actions Jobs API
GitHub Actions OIDC API
GitHub Actions Permissions API
GitHub Actions Secrets API
GitHub Actions Self-Hosted Runner Groups API
GitHub Actions Variables API
GitHub Actions Workflow Runs API
GitHub Actions Workflows API
Where this information came from

This is an independent, third-party profile of GitHub Actions Self-Hosted Runners API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.