---
title: "Get task details"
method: GET
path: "/v1/tasks/{task_id}"
tags: ["Tasks"]
---

# Get task details

`GET /v1/tasks/{task_id}`

Retrieve the details of a specific task by its ID.

## Path parameters

- `task_id` string, required — The unique identifier of the task.

## Response `200`

Task found and returned successfully.

- TaskResponseSchema — Response containing task details.
  - `task` object, required
    - `_query` unknown, required
    - `account_name` string — Account name that owns the task.
    - `api_type` 'web' | 'serp' | 'ecommerce' | 'social' | 'media' | 'agent' | 'extract' | 'fast-serp' | 'labs'
    - `batch_id` string, nullable — Batch ID if this task is part of a batch.
    - `created_at` string, required — Timestamp when the task was created.
    - `download_url` string, uri, nullable — URL for downloading the task results.
    - `error` string, nullable — Error message if the task failed.
    - `error_type` string, nullable — Classification of the error type.
    - `id` string, required — Unique task identifier.
    - `input` unknown, required
    - `modified_at` string — Timestamp when the task was last modified.
    - `output_url` string, nullable — Storage location of the output data.
    - `queue` string — Queue name the task was submitted to.
    - `state` 'pending' | 'queued' | 'in_progress' | 'success' | 'error', required — Current state of the task.
    - `status_code` number — HTTP status code from the task execution.
    - `status_url` string, uri, required — URL for checking the task status.

## Other responses

- `404` — Task not found.
- `500` — Internal server error while retrieving task.

## Changes

- **2026-07-12** `e8a97dc9fce2` — 5 breaking
  - response property `task/batch_id` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `task/download_url` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `task/error` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `task/error_type` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - …1 more
- **2026-07-07** `ebe52c375b71` — 3 warning, 1 info
  - added the new `in_progress` enum value to the `task/state` response property for the response status `200`
  - added the new `labs` enum value to the `task/api_type` response property for the response status `200`
  - added the new `queued` enum value to the `task/state` response property for the response status `200`
  - added the optional property `task/queue` to the response with the `200` status
- **2026-06-10** `421a9851d61b` — 1 warning
  - added the new `fast-serp` enum value to the `task/api_type` response property for the response status `200`
- **2026-02-26** `90aef9d85902` — 1 warning
  - added the new `media` enum value to the `task/api_type` response property for the response status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/nimbleway/apis/api-gateway/changes/v1/tasks/:task_id/get.md)

---

[API](https://skmtc.dev/nimbleway/apis/api-gateway.md) · [All operations](https://skmtc.dev/nimbleway/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nimbleway/api-gateway/revisions/e8a97dc9fce2/schema)
