---
title: "List Tasks"
method: GET
path: "/api/ai-agents/{agent_id}/tasks"
tags: ["ai-agents", "ai-agents"]
---

# List Tasks

`GET /api/ai-agents/{agent_id}/tasks`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/ai-agents/{agent_id}/tasks`
- Auth: none declared

List the tasks this agent is meant to act on.

Same scope as the agent's own [ACTIVE TASKS] prompt block — assigned to it,
plus the unassigned ones it authored — so the Agent screen and the agent
itself never disagree about what it is holding. Delegates to TaskService so
that scope has exactly one definition.

The caller is named, not omitted. TaskService skips its role gate when it
has no human actor (an agent in its own loop has nobody behind it), so
passing nothing here handed the board to whoever could reach the route —
including a 'viewer', the public listen-share tier, which the tasks board
itself refuses.

## Path parameters

- `agent_id` integer, required

## Query parameters

- `status` string, nullable
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
