API: chat
GET /api/v1/chat/messages
Заголовок раздела «GET /api/v1/chat/messages»List 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.
Авторизация: нужен Authorization: Bearer <token>
| Параметр | Где | Обязателен | Тип | Описание |
|---|---|---|---|---|
chat | query | нет | string | null | chat alias: work (the team work chat, default) or agents; or a raw chat_id |
author | query | нет | string | null | substring of the author’s display name |
since_days | query | нет | integer | null | only messages from the last N days |
q | query | нет | string | null | substring to search for in the message text |
limit | query | нет | integer | |
offset | query | нет | integer |
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | ChatMessageListResponse |
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |