Smart search

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

Nagłówki

xi-api-keystringOpcjonalny

Parametry zapytania

text_querystringWymagany
The search query text for semantic similarity matching
agent_idstringOpcjonalny

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

branch_idstringOpcjonalny
Filter conversations by branch ID.
page_sizeintegerOpcjonalny1-50Domyślnie 20
Number of results per page. Max 50.
cursorstringOpcjonalny
Used for fetching next page. Cursor is returned in the response.

Odpowiedź

Successful Response
resultslist of objects
has_moreboolean
Whether there are more results available
metaobjectOpcjonalny
next_cursorstringOpcjonalny
Cursor for the next page of results

Błędy

422
Messages Search Request Unprocessable Entity Error