Search archived conversations
Search across all archived conversations (assistant and agent) for the authenticated user.
Overview:
Performs a case-insensitive substring match against conversation titles and message content across both assistant (Conversation) and agent (AgentConversation) archived collections. Results are merged server-side and sorted by lastActivityAt descending.
Search parameter:
The search query parameter is required, must be a non-empty string, and is capped at 1000 characters. Requests that omit it or exceed the cap return 400.
Pagination:
Results are paginated using page and limit. The response includes a pagination block with total counts and a summary block that breaks matches down by source.
Item shape:
Each item is a conversation list entry (no messages payload — that field is omitted for performance) tagged with source, plus computed isOwner, accessLevel, archivedAt, and archivedBy. agentKey is present only when source is agent.
Query parameters
Search term to match against conversation titles and message content (max 1000 chars)
Page number (1-indexed)
Items per page
Response
Search results across archived conversations