Smart search

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

Encabezados

xi-api-keystringOpcional

Parámetros de consulta

text_querystringRequerido
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-50Valor predeterminado: 20
Number of results per page. Max 50.
cursorstringOpcional
Used for fetching next page. Cursor is returned in the response.

Respuesta

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

Errores

422
Messages Search Request Unprocessable Entity Error