Search Messages
Search messages across the entire organization with optional project filtering. Returns messages with FTS/vector ranks and total RRF score.
This is a cloud-only feature.
Headers
Authorization
Header authentication of the form Bearer <token>
Request
This endpoint expects an object.
query
Text query for full-text search
search_mode
Search mode to use
Allowed values:
roles
Filter messages by role
project_id
Filter messages by project ID
limit
Maximum number of results to return
start_date
Filter messages created after this date
end_date
Filter messages created on or before this date
Response
Successful Response
embedded_text
The embedded content (LLM-friendly)
message
The raw message object
rrf_score
Reciprocal Rank Fusion combined score
fts_rank
Full-text search rank position if FTS was used
vector_rank
Vector search rank position if vector search was used