Skip to main content

JobQueueTaskEnvelope

okbooleanrequired

Possible values: [true]

request_idstringrequired
Example: req_01HXYZABC123
data objectrequired
task objectrequired
idstringrequired
jobstringrequired
typestringrequired
targetstringnullable
options objectnullable
property name*anynullable
attemptsintegerrequired
next_run_atdate-timerequired
statusJobQueueStatusrequired

Possible values: [pending, waiting, processing, completed, failed, canceled]

created_atdate-timenullable
property name*any
JobQueueTaskEnvelope
{
"ok": true,
"request_id": "req_01HXYZABC123",
"data": {
"task": {
"id": "string",
"job": "string",
"type": "string",
"target": "string",
"options": {},
"attempts": 0,
"next_run_at": "2024-07-29T15:51:28.071Z",
"status": "pending",
"created_at": "2024-07-29T15:51:28.071Z"
}
}
}