TaskOutput interface
Properties
| completed |
The time the task completed. |
| id | The unique identifier of the task. |
| last |
The last time the status of the task was updated. |
| metadata | Attributes unique to the task. This differs by task type. |
| phase | The phase the task is in. Possible values: "running", "polling", "complete" |
| reason | The reason the task was moved into its current state, if the task wasn't completed. |
| started |
The time the task started. |
| state | The state the task is in. Possible values: "pending", "running", "paused", "complete", "incomplete", "failed", "warning" |
Property Details
completedAt
The time the task completed.
completedAt?: string
Property Value
string
id
The unique identifier of the task.
id: string
Property Value
string
lastPolledAt
The last time the status of the task was updated.
lastPolledAt?: string
Property Value
string
metadata
Attributes unique to the task. This differs by task type.
metadata?: Record<string, any>
Property Value
Record<string, any>
phase
The phase the task is in.
Possible values: "running", "polling", "complete"
phase?: string
Property Value
string
reason
The reason the task was moved into its current state, if the task wasn't completed.
reason?: string
Property Value
string
startedAt
The time the task started.
startedAt?: string
Property Value
string
state
The state the task is in.
Possible values: "pending", "running", "paused", "complete", "incomplete", "failed", "warning"
state?: string
Property Value
string