---
title: "Get Task Status"
method: GET
path: "/v1/tasks/{task_id}"
tags: ["tasks"]
---

# Get Task Status

`GET /v1/tasks/{task_id}`

## Request

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

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.

## Path parameters

- `task_id` string, required: Celery task ID to check status for.

## Response `200`

Successful Response

- TaskStatusResponse
  - `task_id` string, required: Celery task ID.
  - `status` string, required: Task status: pending, started, success, failure, revoked.
  - `result` object, nullable: Task result payload when status is success or failure.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fereai/apis/fereai-gateway.md) - [All operations](https://skmtc.dev/fereai/apis/fereai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/fereai/apis/fereai-gateway/revisions/ad211f8e2f30?raw)
