---
title: "List tasks for an agent"
method: GET
path: "/a2a/agents/{agentId}/tasks"
tags: ["a2a"]
---

# List tasks for an agent

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

## 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`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Path parameters

- `agentId` string, required

## Query parameters

- `limit` integer

## Response `200`

List of tasks

- object
  - `tasks` 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
  - `agentId` string

## Other responses

- `401`: Unauthorized
- `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/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)
