POST
/
api
/
v1
/
runner-jobs
/
lease
{
  "id": "<string>",
  "ack": "<string>",
  "status": "PENDING",
  "visible": "2023-11-07T05:31:56Z",
  "runner_id": "<string>",
  "tries": 123,
  "data": {
    "credentials": {
      "workspace_id": "<string>",
      "access_token": "<string>"
    },
    "workflows": [
      "<string>"
    ],
    "schedule_results_api_url": "<string>",
    "results_api_url": "<string>",
    "workflows_api_url": "<string>",
    "inference_api_url": "<string>",
    "data": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

runner_host
enum<string>
required
Available options:
SELF,
ASKUI
runner_id
string
required
workspace_id
string | null
tags
string[]

Response

200
application/json
Successful Response
id
string
required
ack
string
required
status
enum<string>
required
Available options:
PENDING,
RUNNING,
PASSED,
FAILED,
CANCELED,
MAX_RETRIES_EXCEEDED
visible
string
required
runner_id
string
required
tries
integer
required
data
object
required