Smart search

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

Cabeçalhos

xi-api-keystringOpcional

Parâmetros de consulta

text_querystringObrigatório
The search query text for semantic similarity matching
agent_idstringOpcional

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

branch_idstringOpcional
Filter conversations by branch ID.
page_sizeintegerOpcional1-50Padrão é 20
Number of results per page. Max 50.
cursorstringOpcional
Used for fetching next page. Cursor is returned in the response.

Resposta

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

Erros

422
Messages Search Request Unprocessable Entity Error