Skip to content

GET /api/v1/chat/messages

Status: GA Access: token required API contract: 0.3.0 · capability 2026-09-03.1 View as Markdown Open in Claude Open in ChatGPT

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.

Auth: Authorization: Bearer <token> required

Terminal window
curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/chat/messages" \
-H "Authorization: Bearer <token>"

The contract carries no example for this response; schema: ChatMessageListResponse. Field-level shape: interactive explorer.

ChatMessageListResponse — Successful Response

FieldTypeDescription
itemsarray of ChatMessageRead
limitinteger (opt.)
offsetinteger (opt.)
totalinteger
ParameterInRequiredTypeDefaultConstraintsDescription
chatquerynostring | null——chat alias: work (the team work chat, default) or agents; or a raw chat_id
authorquerynostring | null——substring of the author’s display name
since_daysquerynointeger | null—min 1; max 365only messages from the last N days
qquerynostring | null——substring to search for in the message text
limitquerynointeger100min 1; max 500
offsetquerynointeger0min 0
CodeMeaningBody
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.