---
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, date-time, required
  - `description` string, required
  - `execution_id` 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-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/dad98bb65260/schema)
