Smart search

Search conversation transcripts by semantic similarity to surface relevant messages based on meaning and intent, rather than exact keyword matches

请求头

xi-api-keystring可选

查询参数

text_querystring必需
The search query text for semantic similarity matching
agent_idstring可选

Agent id (agent_…) or speech engine external id (seng_), resolved to the same underlying resource.

branch_idstring可选
Filter conversations by branch ID.
page_sizeinteger可选1-50默认为 20
Number of results per page. Max 50.
cursorstring可选
Used for fetching next page. Cursor is returned in the response.

响应

Successful Response
resultslist of objects
has_moreboolean
Whether there are more results available
metaobject可选
next_cursorstring可选
Cursor for the next page of results

错误

422
Messages Search Request Unprocessable Entity Error