---
title: "List chat messages"
method: GET
path: "/v3/chats/{chat_id}/messages"
tags: ["v3", "chats"]
---

# List chat messages

`GET /v3/chats/{chat_id}/messages`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v3/chats/{chat_id}/messages`
- Auth: HTTP bearer

Rows after the after_seq cursor, oldest first.

## Path parameters

- `chat_id` string, uuid, required

## Query parameters

- `after_seq` integer: Return rows with seq greater than this
- `limit` integer

## Headers

- `mentium-workspace-id` string, nullable

## Response `200`

Successful Response

- AgentChatMessageListOut: Messages after a cursor, oldest first.
  - `items` AgentChatMessageOut[], required
    - `id` string, required
    - `chat_id` string, required
    - `kind` 'user' | 'assistant' | 'tool_call' | 'tool_result' | 'approval_request' | 'approval' | 'error' | 'summary', required
    - `role` string, nullable
    - `text` string, required
    - `payload` object, nullable: Kind-specific fields (see libs.chat.contracts)
    - `turn_id` string, nullable: Id of the user message that started this row's turn
    - `seq` integer, required: Cursor for listing; rows are ordered by it
    - `created_at` string, date-time, required
    - `user_id` string, nullable
  - `has_more` boolean, required: True when more rows follow; fetch again with after_seq = the last seq

## Other responses

- `422`: Validation Error

---

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