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

cloro API key as a bearer token. One key grants every endpoint in this spec; per-key scopes are not available, so a client cannot request a narrower permission. Keys are created, rotated, and revoked in the dashboard.

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.