---
title: "Get Agent Task"
method: GET
path: "/v1/agents/{agent_id}/tasks/{task_id}"
tags: ["v1", "protected", "agent-tasks"]
---

# Get Agent Task

`GET /v1/agents/{agent_id}/tasks/{task_id}`

Get a specific task for the specified agent.

## Path parameters

- `agent_id` string, uuid, required
- `task_id` string, uuid, required

## Response `200`

Successful Response

- TaskResponse
  - `agent_id` string, uuid, required
  - `created_at` string, required
  - `description` string, required
  - `error` 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

> 19 revisions in range; 5 could not be searched.

- **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-04-29** `e1a530c0a2d5` — 1 info
  - added the optional property `total_cost` to the response with the `200` status
- **2026-03-30** `e9c153221160` — 1 warning
  - removed the optional property `total_cost` from the response with the `200` status

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/agents/:agent_id/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/ac18f7025c00/schema)
