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

GitLab Runners API

Use this API to manage the [runners](https://docs.gitlab.com/ci/runners/) already registered to aninstance, group, or project.To create a runner, use the[`POST /user/runners`](https://docs.gitlab.com/api/users/#create-a-runner-linked-to-a-user) endpointinstead.

GitLab Runners API is one of 189 APIs that GitLab publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 16 JSON Schema definitions.

Tagged areas include Runners. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, rate-limit docs, an AsyncAPI specification, and 16 JSON Schemas.

This API exposes 19 operations across 16 paths, and defines 21 schemas. It is described by OpenAPI 3.2.0, at version 19.6.

Requests are made against a single base URL, https://{hostname}.

19 operations 16 paths 21 schemas 2 DELETE10 GET6 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
19.6
Base URL
https://gitlab.com/api/v4
Authentication
HTTP Bearer, OAuth 2.0, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

GitLab Runners API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (http). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 9 scopes. An API key is passed in the header as PRIVATE-TOKEN (apiKey). By default, every request must be authenticated.

Paths & Operations 19

Across 16 paths, the API surfaces 19 operations — 2 DELETE, 10 GET, 6 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Runners 19

Use this API to manage the runners already registered to an instance, group, or project. To create a runner, use the POST /user/runners endpoint instead.

GET
/api/v4/runner_controllers/{runner_controller_id}/tokens
List all runner controller tokens
getApiV4RunnerControllersRunnerControllerIdTokens 3 params → 200403404400
GET
/api/v4/runner_controllers
List all runner controllers
getApiV4RunnerControllers 2 params → 200403400
POST
/api/v4/user/runners
Create a runner owned by currently authenticated user
postApiV4UserRunners body → 201400403
GET
/api/v4/runners
List all available runners
getApiV4Runners 8 params → 200400401
GET
/api/v4/runners/all
List all runners
getApiV4RunnersAll 8 params → 200400401
GET
/api/v4/runners/{id}
Retrieve details on a runner
getApiV4RunnersId 2 params → 200401403404400
PUT
/api/v4/runners/{id}
Update a runner
putApiV4RunnersId 1 param body → 200400401403404
DELETE
/api/v4/runners/{id}
Delete a runner
deleteApiV4RunnersId 1 param → 200401403404412400
GET
/api/v4/runners/{id}/managers
List all managers for a runner
getApiV4RunnersIdManagers 1 param → 200403404400
GET
/api/v4/runners/{id}/projects
Get projects associated with a runner
getApiV4RunnersIdProjects 3 params → 200401403404400
GET
/api/v4/runners/{id}/jobs
List all jobs processed by a runner
getApiV4RunnersIdJobs 8 params → 200401403404400
POST
/api/v4/runners/{id}/reset_authentication_token
Reset an authentication token for a runner
postApiV4RunnersIdResetAuthenticationToken 1 param → 201403404422400
GET
/api/v4/projects/{id}/runners
List all runners for a project
getApiV4ProjectsIdRunners 9 params → 200400403404
POST
/api/v4/projects/{id}/runners
Assign a runner to a project
postApiV4ProjectsIdRunners 1 param body → 201400403404
DELETE
/api/v4/projects/{id}/runners/{runner_id}
Unassign a runner from a project
deleteApiV4ProjectsIdRunnersRunnerId 2 params → 200400403404412
GET
/api/v4/groups/{id}/runners
List all runners in a group
getApiV4GroupsIdRunners 8 params → 200400403404
POST
/api/v4/runners/reset_registration_token
Reset the runner registration token for the instance
postApiV4RunnersResetRegistrationToken → 201403400
POST
/api/v4/projects/{id}/runners/reset_registration_token
Reset the runner registration token for a project
postApiV4ProjectsIdRunnersResetRegistrationToken 1 param → 201401403404400
POST
/api/v4/groups/{id}/runners/reset_registration_token
Reset the runner registration token for a group
postApiV4GroupsIdRunnersResetRegistrationToken 1 param → 201401403404400

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are APIEntitiesUser (27 properties), APIEntitiesCiRunnerDetails (27 properties), APIEntitiesBasicProjectDetails (24 properties), APIEntitiesCiJobBasicWithProject (20 properties). Each schema is shown below with its type and property counts.

APIEntitiesCommit
object
15 properties
APIEntitiesCiRunnerRegistrationDetails
object
3 properties
APIEntitiesCiRunnerControllerToken
object
6 properties
APIEntitiesCiRunner
object
13 properties
APIEntitiesCiJobBasicWithProject
object
20 properties
APIEntitiesLicenseBasic
object
5 properties
APIEntitiesProjectIdentity
object
7 properties
APIEntitiesUserBasic
object
10 properties
APIEntitiesCustomAttribute
object
2 properties
APIEntitiesBasicGroupDetails
object
3 properties
APIEntitiesNamespaceBasic
object
8 properties
postApiV4ProjectsIdRunnersRequest
object
1 property 1 required
APIEntitiesUser
object
27 properties
APIEntitiesCiRunnerDetails
object
27 properties
APIEntitiesCiRunnerManager
object
11 properties
postApiV4UserRunnersRequest
object
13 properties 3 required
putApiV4RunnersIdRequest
object
9 properties
APIEntitiesCiRunnerController
object
5 properties
APIEntitiesCiResetTokenResult
object
2 properties
APIEntitiesBasicProjectDetails
object
24 properties
APIEntitiesCiPipelineBasic
object
10 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitlab-runners-api-openapi.yml Raw ↑

Other APIs GitLab publishes across the network.

GitLab Orbit gRPC API
GitLab GraphQL API
GitLab Applications API
GitLab Authorization API
GitLab Broadcast Messages API
GitLab Groups API
GitLab Metadata API
GitLab Project Webhooks API
GitLab Projects API
GitLab Tokens API
GitLab User Info API
GitLab Webhook Configuration API
Where this information came from

This is an independent, third-party profile of GitLab 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.