---
title: "Get task status and output"
method: GET
path: "/a2a/agents/{agentId}/tasks/{taskId}"
tags: ["a2a"]
---

# Get task status and output

`GET /a2a/agents/{agentId}/tasks/{taskId}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/a2a/agents/{agentId}/tasks/{taskId}`
- Auth: none required

## Path parameters

- `agentId` string, required
- `taskId` string, required

## Response `200`

Task detail

- A2ATask
  - `taskId` string
  - `agentId` string
  - `status` 'pending' | 'running' | 'completed' | 'failed'
  - `input` object
  - `output` string, nullable
  - `error` string, nullable
  - `callerAgentId` string, nullable
  - `callerPlatform` string, nullable
  - `createdAt` string, date-time
  - `completedAt` string, date-time, nullable

## Other responses

- `404`: Not Found

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/a2a/agents/:agentId/tasks/:taskId/get.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
