Search messages in a conversation
GET/api/conversations/:conversationId/messages/search
Case-insensitive body search (Postgres ILIKE; %/_ in the term are
escaped to literals). Newest first, paginated. Each hit carries a trimmed
snippet centred on the match plus the source id/created_at so the
inbox can preview and jump to the message. An empty q yields an empty
page. Authorized through the conversation view ability.
Request
Responses
- 200
- 401
- 404
A page of search hits (newest first).
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Resource not found (or not visible to the current tenant).