tasks

Get Task Status

Poll async task status.

For environments where SSE isn't practical. Prefer GET /v1/notifications/stream for real-time updates or POST /v1/swap?wait=true for synchronous mode.

Failed tasks always report the generic error "Something went wrong, please try again!"; the underlying reason is logged server-side by task_id.

get/v1/tasks/{task_id}

Request

  • Base URL
    https://api.fereai.xyz
  • URL
    https://api.fereai.xyz/v1/tasks/{task_id}
  • Auth
    none declared

Path parameters

task_idstring required

Celery task ID to check status for.

Response

Successful Response

task_idstring required

Celery task ID.

statusstring required

Task status: pending, started, success, failure, revoked.

resultobject nullable

Task result payload when status is success or failure.

Example response

{
  "result": {
    "tx_hash": "0xabc123..."
  },
  "status": "success",
  "task_id": "d290f1ee-6c54-4b01-90e6-d701748f0851"
}

Changes

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