Skip to main content
GET
Get async task status
Poll this endpoint to check the status of an asynchronous task. While the task is QUEUED (received, waiting) or PROCESSING (actively running), the response carries only the current status. Once it is COMPLETED (finished successfully) or FAILED, the response also includes a response object with the full result or error details.

Task retention policy

COMPLETED and FAILED tasks are retained for 24 hours after completion, then the task record and its response data are permanently deleted. HTML URLs included in responses expire 24 hours after generation, regardless of the task’s retention status.

Example usage

Check a pending task

Fetch a completed task

Authorizations

Authorization
string
header
required

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

Path Parameters

taskId
string<uuid>
required

The ID of the task to fetch.

Response

Successful response with the task status and result if completed.

task
object
required

Common task summary fields shared across async task responses.

credits
object
required

Credit information for an async task.

response
object

The full response object, present only when the task is COMPLETED or FAILED.