Tasks
Retrieve a task
Fetch a task by id, including its current status and (once ready) its output.
get/v1/tasks/{id}
Request
- Base URL: https://api.hotapi.ai
- URL: https://api.hotapi.ai/v1/tasks/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Response
An async task. Creation returns 202 with status=queued; poll GET /v1/tasks/{id} (or await the webhook) until a terminal status.
Example response
{
"id": "task_8sd9f7aQ2",
"model": "z-image-spicy",
"task_kind": "image.generate",
"error": {
"type": "provider_error",
"code": "generation_failed",
"message": "Generation failed"
},
"estimated_credits_cost": 26,
"api_key_id": "ak_8sd9f7aQ2"
}Changes
No recorded changes to this operation across all 1 revision of this API.