MCPDocumentation
On this page

Conversations

Get a whole conversation (360°)

get_conversation
Read
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

FieldTypeDescription
refRequiredstringConversation 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)
datestringWith a phone: the day of the conversation (YYYY-MM-DD, UTC)
organization_idintegerOnly to repeat your organization (or, with an Autonex staff key, pick another one)
page_sizeintegerMessages per transcript page (default 200)
cursorstringtranscript.next_cursor of the previous answer

Every tool also accepts lang (es | en) for the language of the text answer.

Output

FieldTypeDescription
verdictRequiredstringOne line for the agent
resolved_byRequiredstringHow the ref was resolved: id, channel_ref, livekit_metadata, partial_ref, phone, phone_date, legacy
other_matchesRequirednumber[]Other conversations that matched the ref too
conversationRequiredobject
conversation.idRequirednumber | nullUnified id (null for old calls only in the legacy table)
conversation.legacy_idRequirednumber | null
conversation.channelRequiredstring
conversation.channel_refRequiredstring | nullLiveKit room, ElevenLabs id, IG thread, widget session…
conversation.external_idRequiredstring | null
conversation.statusRequiredstring | null
conversation.started_atRequiredstring | null
conversation.ended_atRequiredstring | null
conversation.last_message_atRequiredstring | null
conversation.duration_secondsRequirednumber | null
conversation.message_countRequirednumber | null
conversation.needs_humanRequiredboolean
conversation.human_takeover_atRequiredstring | null
conversation.assigned_agent_idRequirednumber | null
conversation.locationRequiredobject | null
conversation.called_numberRequiredstring | null
conversation.termination_reasonRequiredstring | null
conversation.starredRequiredboolean
conversation.archivedRequiredboolean
conversation.hiddenRequiredboolean
contactRequiredobject | null
transcriptRequiredobject
transcript.sourceRequiredstringunified_messages, legacy_conversation_messages, widget_chat_messages or none
transcript.totalRequirednumber
transcript.offsetRequirednumber
transcript.messagesRequiredobject[]
transcript.messages[].idRequirednumber
transcript.messages[].roleRequiredstringcontact, bot, agent (human) or system
transcript.messages[].textRequiredstring
transcript.messages[].atRequiredstring | null
transcript.messages[].offset_secsRequirednumber | nullSecond in the call (voice)
transcript.messages[].attachmentRequiredobject | null
transcript.messages[].tool_callsRequiredstring[]Keys of tool_calls made in this turn
transcript.next_cursorRequiredstring | nullLong transcript: pass it as cursor for the next page
tool_callsRequiredobject[]
tool_calls[].keyRequiredstringStable 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[].idRequirednumber | null
tool_calls[].nameRequiredstring
tool_calls[].statusRequiredstring | null
tool_calls[].called_atRequiredstring | null
tool_calls[].duration_msRequirednumber | null
tool_calls[].inputany
tool_calls[].outputany
tool_calls[].errorRequiredstring | null
tool_calls[].message_indexRequirednumber | nullIndex of the message (in this page) where it happened
tool_calls[].also_inRequiredstring[]Other sources that logged the same call
eventsRequiredobject[]
events[].typeRequiredstring | null
events[].categoryRequiredstring | null
events[].sourceRequiredstring | null
events[].tool_nameRequiredstring | null
events[].atRequiredstring | null
notesRequiredobject | nullInternal team notes
feedbackRequiredobject | null
aiRequiredobject
ai.summaryRequiredstring | null
ai.transcript_summaryRequiredstring | null
ai.topicsRequiredstring[]
ai.languageRequiredstring | null
ai.scoreRequirednumber | null
ai.processed_atRequiredstring | null
outcomeRequiredobject | null
qualityRequiredobject | null
audioRequiredobject
audio.existsRequiredboolean
audio.storageRequired"r2" | "minio" | null
audio.get_withRequired"get_conversation_audio"
traceRequiredobject
trace.linkedRequiredboolean
trace.kindRequired"session" | "trace" | null
trace.idRequiredstring | null
trace.urlRequiredstring | null
trace.get_withRequired"get_conversation_trace"
handlesRequiredobject
handles.conversation_idRequirednumber | null
handles.contact_idRequirednumber | null
nextRequiredstring[]Useful next steps
data_as_ofRequiredstring

Examples

Example 1: Analyse conversation 48213

Call

JSON
{
  "name": "get_conversation",
  "arguments": {
    "ref": "48213"
  }
}

Example 2: A call by its LiveKit room

Call

JSON
{
  "name": "get_conversation",
  "arguments": {
    "ref": "call-romeral-_+34600111222_aBcD"
  }
}

Example 3: A customer's WhatsApp on a given day

Call

JSON
{
  "name": "get_conversation",
  "arguments": {
    "ref": "+34600111222",
    "date": "2026-11-20"
  }
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_conversation",
    "arguments": {
      "ref": "48213"
    }
  }
}