Create a runner
POST
/api/v4/runners
Creates a runner.
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
token
required
Registration token
string
description
Description of the runner
string
maintainer_note
Deprecated: see maintenance_note
string
maintenance_note
Free-form maintenance notes for the runner (1024 characters)
string
info
Runner’s metadata
object
name
Runner’s name
string
version
Runner’s version
string
revision
Runner’s revision
string
platform
Runner’s platform
string
architecture
Runner’s architecture
string
active
Deprecated: Use paused instead. Specifies if the runner is allowed to receive new jobs
boolean
paused
Specifies if the runner should ignore new jobs
boolean
locked
Specifies if the runner should be locked for the current project
boolean
access_level
The access level of the runner
string
run_untagged
Specifies if the runner should handle untagged jobs
boolean
tag_list
A list of runner tags
Array<string>
maximum_timeout
Maximum timeout that limits the amount of time (in seconds) that runners can run jobs
integer
Responses
Section titled “ Responses ”Created
Media type application/json
object
id
string
token
string
token_expires_at
string
Example generated
{ "id": "example", "token": "example", "token_expires_at": "example"}Bad Request
Forbidden
Gone