Check an async task's status

Look up an asynchronous task by ID and get its state, plus the complete structured result payload once it finishes.

get/v1/async/task/{taskId}

Request

  • Base URL: https://api.answerline.dev
  • URL: https://api.answerline.dev/v1/async/task/{taskId}
  • Auth: HTTP bearer

Path parameters

taskIdstring uuid required

Identifier of the task you want to retrieve.

Response

Success: the task's status, plus its result once finished.

responseobject

Complete response payload; included only once the task status is COMPLETED or FAILED.

Example response

{
  "task": {
    "id": "b27a21e1-7c39-4aa2-a347-23e828c426f9",
    "taskType": "CHATGPT",
    "status": "QUEUED",
    "priority": 1,
    "createdAt": "2026-04-09T15:00:00.000Z",
    "idempotencyKey": "batch-chatgpt-001"
  },
  "credits": {
    "creditsToCharge": 0.00062
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.