---
title: "List an agent's chat messages"
method: GET
path: "/agents/{agentId}/messages"
tags: ["Messages"]
---

# List an agent's chat messages

`GET /agents/{agentId}/messages`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/agents/{agentId}/messages`
- Auth: HTTP bearer

## Path parameters

- `agentId` string, required

## Query parameters

- `conversationId` string, uuid

## Response `200`

- Message[]
  - `id` string, uuid, required
  - `agentId` string, uuid, required
  - `conversationId` string, uuid: Session this message belongs to.
  - `role` 'user' | 'agent', required
  - `content` string, required
  - `meta` object
  - `flaggedAsError` boolean: Deprecated — see `feedback`.
  - `deliveryState` string
  - `feedback` 'up' | 'down': The caller's thumbs up/down on this agent reply, if any.
  - `timestamp` string, date-time, required

## Other responses

- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `404`: Not found, or the caller is not authorized to access this resource.

---

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