---
title: API: chat
description: REST endpoints tagged chat — generated from the platform's OpenAPI contract (1 operations).
locale: en
version: 0.2.0
canonical: https://enterium-developer-docs.pages.dev/developers/api/chat/
---

> Documentation index: https://enterium-developer-docs.pages.dev/developers/llms.txt — every page of this portal has a Markdown twin at <route>.md; the frozen API contract is at https://enterium-developer-docs.pages.dev/developers/api/openapi.json.

:::note
Generated from the OpenAPI contract — do not edit by hand. Interactive explorer with full schemas: [https://entherium.duckdns.org:8443/reference](https://entherium.duckdns.org:8443/reference); frozen spec for this build: [openapi.json](/developers/api/openapi.json).
:::

## `GET /api/v1/chat/messages`

List Messages

[Open as a page →](./get-chat-messages/)

Work-chat archive — the conversational context behind a task or defect.

Read-only. `is_full=false` on a row means the message text is TRUNCATED (the log
and the message store could not be joined) — never quote such a row as verbatim.

**Auth:** `Authorization: Bearer <token>` required

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `chat` | query | no | `string \| null` | chat alias: `work` (the team work chat, default) or `agents`; or a raw chat_id |
| `author` | query | no | `string \| null` | substring of the author's display name |
| `since_days` | query | no | `integer \| null` | only messages from the last N days |
| `q` | query | no | `string \| null` | substring to search for in the message text |
| `limit` | query | no | `integer` |  |
| `offset` | query | no | `integer` |  |

**Responses:**

| Code | Meaning | Body |
| --- | --- | --- |
| `200` | Successful Response | `ChatMessageListResponse` |
| `401` | Missing or invalid authentication credentials | `ErrorResponse` |
| `422` | Validation Error | `HTTPValidationError` |
