Smart search

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

Headers

xi-api-keystringRequired

Query parameters

text_querystringRequired
The search query text for semantic similarity matching
agent_idstring or nullOptional
The id of the agent you're taking the action on.
page_sizeintegerOptional1-50Defaults to 20
Number of results per page. Max 50.
cursorstring or nullOptional
Used for fetching next page. Cursor is returned in the response.

Response

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

Errors

422
Unprocessable Entity Error