Get task status
get_taskRetrieve the status and completed output URL for a task by ID; set wait:true to block until it finishes after webhooks, polling timeouts, or wait:false starts.
Instructions
Get the status and (if completed) output URL of a task by id. Use to resume after a webhook, a polling timeout, or a generation started with wait:false. Pass wait:true to block until it finishes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Set true to block until the task reaches a final state (completed/failed) and return the result, instead of returning the current status immediately. | |
| task_id | Yes | The task_id returned by a previous generation call. |