Text Search Conversation Messages
Search through conversation transcript messages by full-text and fuzzy search
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Query Parameters
The search query text for full-text and fuzzy matching
Agent id (agent_…) or speech engine external id (seng_), resolved to the same underlying resource.
"agent_3701k3ttaq12ewp8b7qv5rfyszkz"
Filter conversations where any of these agents participated. Can not exceed 50 values.
50Filter conversations where any of these agent branches participated. Can not exceed 50 values.
50Filter conversations where any of these procedures were triggered. Can not exceed 50 values.
50The result of the success evaluation
success, failure, unknown, error "success"
Unix timestamp (in seconds) to filter conversations up to this start date.
Unix timestamp (in seconds) to filter conversations after to this start date.
Minimum call duration in seconds.
Maximum call duration in seconds.
Maximum overall rating (1-5).
1 <= x <= 5Minimum overall rating (1-5).
1 <= x <= 5Filter conversations with user feedback comments.
Filter conversations by the user ID who initiated them.
Evaluation filters. Repeat param. Format: criteria_id:result. Example: eval=value_framing:success
Data collection filters. Repeat param. Format: id:op:value where op is one of eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values.
Filter conversations by tool names used during the call.
Filter conversations by tool names that had successful calls.
Filter conversations by tool names that had errored calls.
Also match tool calls that never ran.
Filter conversations by detected main language (language code).
Exclude conversations with the given statuses. Useful for hiding in-progress / processing conversations from list views.
initiated, in-progress, processing, done, failed Filter conversations by their stored termination_reason (metadata.termination_reason). Repeat param to match any of several.
Number of results per page. Max 50.
1 <= x <= 50Whether to include transcript summaries in the response.
exclude, include Enum representing the possible sources for conversation initiation.
unknown, android_sdk, node_js_sdk, react_native_sdk, react_sdk, js_sdk, python_sdk, widget, sip_trunk, twilio, exotel, genesys, avaya, audiocodes, swift_sdk, whatsapp, twilio_sms, flutter_sdk, zendesk_integration, slack_integration, telegram_integration, intercom_integration, freshdesk_integration, salesforce_integration, template_preview, genesys_bot_connector, subagent_tool Restrict results to a single conversation product surface. Which product surface owns this agent document.
agents, speech_engine Filter conversations by branch ID.
Filter conversations by version ID.
Filter conversations by topic IDs assigned during topic discovery.
Sort order for search results. 'search_score' sorts by search score, 'created_at' sorts by conversation start time.
search_score, created_at Used for fetching next page. Cursor is returned in the response.