Get a whole conversation (360°)
- Permission required
conversations.view
When to use it
One call returns the whole conversation: header (channel, centre, times, duration, status, needs human), contact and its 360° memory, transcript with tool calls placed at the turn they happened (from every source, each tagged with source), internal notes, feedback, AI fields, outcome, quality (scores, gates, findings with evidence), whether there is audio and whether there is a trace. Accepts the id or any external ref (LiveKit room, RM_/EG_, ElevenLabs id, WhatsApp phone + date, Instagram thread, widget session). Long transcripts are paginated with a cursor.
Input
| Field | Type | Description |
|---|---|---|
refRequired | string | Conversation id or any external ref: LiveKit room name, LiveKit RM_…/EG_…, ElevenLabs id (conv_…), Instagram thread id, widget session, or a WhatsApp phone with a date (+34600111222@2026-11-20) |
date | string | With a phone: the day of the conversation (YYYY-MM-DD, UTC) |
organization_id | integer | Only to repeat your organization (or, with an Autonex staff key, pick another one) |
page_size | integer | Messages per transcript page (default 200) |
cursor | string | transcript.next_cursor of the previous answer |
Every tool also accepts lang (es | en) for the language of the text answer.
Output
| Field | Type | Description |
|---|---|---|
verdictRequired | string | One line for the agent |
resolved_byRequired | string | How the ref was resolved: id, channel_ref, livekit_metadata, partial_ref, phone, phone_date, legacy |
other_matchesRequired | number[] | Other conversations that matched the ref too |
conversationRequired | object | |
conversation.idRequired | number | null | Unified id (null for old calls only in the legacy table) |
conversation.legacy_idRequired | number | null | |
conversation.channelRequired | string | |
conversation.channel_refRequired | string | null | LiveKit room, ElevenLabs id, IG thread, widget session… |
conversation.external_idRequired | string | null | |
conversation.statusRequired | string | null | |
conversation.started_atRequired | string | null | |
conversation.ended_atRequired | string | null | |
conversation.last_message_atRequired | string | null | |
conversation.duration_secondsRequired | number | null | |
conversation.message_countRequired | number | null | |
conversation.needs_humanRequired | boolean | |
conversation.human_takeover_atRequired | string | null | |
conversation.assigned_agent_idRequired | number | null | |
conversation.locationRequired | object | null | |
conversation.called_numberRequired | string | null | |
conversation.termination_reasonRequired | string | null | |
conversation.starredRequired | boolean | |
conversation.archivedRequired | boolean | |
conversation.hiddenRequired | boolean | |
contactRequired | object | null | |
transcriptRequired | object | |
transcript.sourceRequired | string | unified_messages, legacy_conversation_messages, widget_chat_messages or none |
transcript.totalRequired | number | |
transcript.offsetRequired | number | |
transcript.messagesRequired | object[] | |
transcript.messages[].idRequired | number | |
transcript.messages[].roleRequired | string | contact, bot, agent (human) or system |
transcript.messages[].textRequired | string | |
transcript.messages[].atRequired | string | null | |
transcript.messages[].offset_secsRequired | number | null | Second in the call (voice) |
transcript.messages[].attachmentRequired | object | null | |
transcript.messages[].tool_callsRequired | string[] | Keys of tool_calls made in this turn |
transcript.next_cursorRequired | string | null | Long transcript: pass it as cursor for the next page |
tool_callsRequired | object[] | |
tool_calls[].keyRequired | string | Stable key within this answer; messages cite it in tool_calls |
tool_calls[].sourceRequired | "tool_calls" | "transcript" | Where it comes from: the tool_calls table or the stored transcript turn |
tool_calls[].idRequired | number | null | |
tool_calls[].nameRequired | string | |
tool_calls[].statusRequired | string | null | |
tool_calls[].called_atRequired | string | null | |
tool_calls[].duration_msRequired | number | null | |
tool_calls[].input | any | |
tool_calls[].output | any | |
tool_calls[].errorRequired | string | null | |
tool_calls[].message_indexRequired | number | null | Index of the message (in this page) where it happened |
tool_calls[].also_inRequired | string[] | Other sources that logged the same call |
eventsRequired | object[] | |
events[].typeRequired | string | null | |
events[].categoryRequired | string | null | |
events[].sourceRequired | string | null | |
events[].tool_nameRequired | string | null | |
events[].atRequired | string | null | |
notesRequired | object | null | Internal team notes |
feedbackRequired | object | null | |
aiRequired | object | |
ai.summaryRequired | string | null | |
ai.transcript_summaryRequired | string | null | |
ai.topicsRequired | string[] | |
ai.languageRequired | string | null | |
ai.scoreRequired | number | null | |
ai.processed_atRequired | string | null | |
outcomeRequired | object | null | |
qualityRequired | object | null | |
audioRequired | object | |
audio.existsRequired | boolean | |
audio.storageRequired | "r2" | "minio" | null | |
audio.get_withRequired | "get_conversation_audio" | |
traceRequired | object | |
trace.linkedRequired | boolean | |
trace.kindRequired | "session" | "trace" | null | |
trace.idRequired | string | null | |
trace.urlRequired | string | null | |
trace.get_withRequired | "get_conversation_trace" | |
handlesRequired | object | |
handles.conversation_idRequired | number | null | |
handles.contact_idRequired | number | null | |
nextRequired | string[] | Useful next steps |
data_as_ofRequired | string |
Examples
Example 1: Analyse conversation 48213
Call
{
"name": "get_conversation",
"arguments": {
"ref": "48213"
}
}Example 2: A call by its LiveKit room
Call
{
"name": "get_conversation",
"arguments": {
"ref": "call-romeral-_+34600111222_aBcD"
}
}Example 3: A customer's WhatsApp on a given day
Call
{
"name": "get_conversation",
"arguments": {
"ref": "+34600111222",
"date": "2026-11-20"
}
}Equivalent JSON-RPC call (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_conversation",
"arguments": {
"ref": "48213"
}
}
}