Liftbay
API referenceRunner

Report status and phases

PATCH
/v1/runner/builds/{buildId}

Authorization

jobToken
headerAuthorizationBearer <token>

Per-build runner token (lbj_…). Only valid for its own build, until it finishes.

Path Parameters

buildId*string

Request Body

application/json
  1. body
status?BuildStatus
Value in"queued""preparing""running""uploading""succeeded""failed""cancelled"
phases?array<>
commit?string
Lengthlength <= 64
appVersion?string
Lengthlength <= 64
buildNumber?string
Lengthlength <= 64

Response Body

OK

application/json
  1. response
cancelRequested*boolean
curl -X PATCH "https://example.com/v1/runner/builds/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "cancelRequested": true}