---
title: "Get Task By Id"
method: GET
path: "/v1/tasks/{task_id}"
tags: ["v1", "protected", "tasks"]
---

# Get Task By Id

`GET /v1/tasks/{task_id}`

Get a single task by ID across all agents.

## Path parameters

- `task_id` string, uuid, required

## Response `200`

Successful Response

- TaskWithAgent — Task response with agent information for global task listing.
  - `agent_id` string, uuid, required
  - `agent_name` string, nullable
  - `created_at` string, required
  - `description` string, required
  - `error` string, nullable
  - `escalation_id` string, nullable
  - `escalation_tool_name` string, nullable
  - `execution_id` string, nullable
  - `failure_reason` string, nullable
  - `id` string, uuid, required
  - `parameters` object, required
  - `result` union
    - object
    - string
  - `status` string, required
  - `total_cost` number, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-26** `96462b2f4762` — 2 breaking
  - the response property `agent_name` became optional for the status `200`
  - response property `agent_name` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
- **2026-07-25** `9c1eb8f7f2d9` — 2 info
  - added the optional property `error` to the response with the `200` status
  - added the optional property `failure_reason` to the response with the `200` status
- **2026-07-08** `8940d7f77282` — 1 breaking
  - the `created_at` response's property type/format changed from `string`/`date-time` to `string`/`` for status `200`
- **2026-06-18** `dad98bb65260` — 2 info
  - added the optional property `escalation_id` to the response with the `200` status
  - added the optional property `escalation_tool_name` to the response with the `200` status
- **2026-04-29** `e1a530c0a2d5` — 1 info
  - endpoint added

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

---

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