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

# Get Task By Id

`GET /v1/workspaces/{workspace}/tasks/{task_id}`

Get a single task by ID across all agents.

## Path parameters

- `task_id` string, uuid, required
- `workspace` string, required — Slug of the workspace the request acts in

## 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
  - `created_by` string, nullable
  - `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
  - `scheduled_at` string, nullable
  - `status` string, required
  - `total_cost` number, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `d3ad8e1a3681` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/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.dev/agentarea/apis/agentarea-api/revisions/286327d8bd86?raw)
