Get Conversations
Get all conversations of agents that user owns. With option to restrict to a specific agent.
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
Used for fetching next page. Cursor is returned in the response.
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.
Data collection field IDs to include in each conversation summary. Repeat param. When omitted, data_collection_results is not returned.
Evaluation criteria IDs to include in each conversation summary. Repeat param. When omitted, evaluation_criteria_results is not returned.
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).
How many conversations to return at maximum. Can not exceed 100, defaults to 30.
1 <= x <= 100Whether 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 parent conversation ID for subagent conversations.
Filter conversations by topic IDs assigned during topic discovery.
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 conversation tag IDs assigned via the conversation-tags endpoints.
Filter conversations to only those that entered the given node.
Filter conversations by their stored termination_reason (metadata.termination_reason). Repeat param to match any of several.
Filter to conversations where a guardrail of any of these types triggered (metadata.triggered_guardrails.guardrail_type). Repeat param to match any of several.
custom, prompt_injection, self_harm_intent, violence_graphic, sexual, violence, harassment, sexual_minors, self_harm, self_harm_instructions, harassment_threatening, hate, hate_threatening, profanity, religion_or_politics, medical_and_legal, guardrail Filter to conversations where a custom guardrail with any of these names triggered (metadata.triggered_guardrails.guardrail_name). Only custom guardrails carry a name. Repeat param to match any of several.
The direction to sort conversations by call start time. Defaults to descending (newest first).
asc, desc