ReferenceAPIOperationsRunners
Claim job
Runner claims the next queued build. Returns `null` job if no builds are available.
Operation ID
claim_jobRunner claims the next queued build. Returns null job if no builds are available.
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
runner_id*string
Runner ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/runners/string/claim" \ -H "Content-Type: application/json" \ -d '{ "protocol_version": 0 }'{ "job": null}