Liftbay
API referenceRunner

Finish the build

POST
/v1/runner/builds/{buildId}/finish

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*string
Value in"succeeded""failed""cancelled"

Response Body

OK

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