Skip to main content
GET
Get task status and result

Authorizations

Authorization
string
header
required

Send the raw luk- API key. Do not add Bearer.

Path Parameters

id
string
required

Task id returned by POST /tasks.

Response

Task status and result. The output shape depends on workflowId.

id
string

Save this id to query the result.

workflowId
string
status
enum<string>
Available options:
Created,
Pending,
Running,
Succeeded,
Failed,
Cancelled
output
object | null

Generated result or plan when the task succeeds; null before completion.

errorMessage
string | null

Failure detail when available.

credits
integer | null

Credits charged when available.