Retrieve details of a specific chat
Path parameters
Unique id of the chat to be retrieved
Response
Successfully retrieved an chat.
Example response
{
"chat_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"version": 1,
"retell_llm_dynamic_variables": {
"customer_name": "John Doe"
},
"collected_dynamic_variables": {
"last_node_name": "Test node"
},
"chat_status": "ongoing",
"chat_type": "api_chat",
"start_timestamp": 1703302407333,
"end_timestamp": 1703302428855,
"transcript": "Agent: hi how are you doing?\nUser: Doing pretty well. How are you?\nAgent: That's great to hear! I'm doing well too, thanks! What's up?\nUser: I don't have anything in particular.\nAgent: Got it, just checking in!\nUser: Alright. See you.\nAgent: have a nice day\n",
"message_with_tool_calls": [
{
"message_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
"role": "agent",
"content": "hi how are you doing?",
"created_timestamp": 1703302428855
}
],
"chat_cost": {
"product_costs": [
{
"product": "elevenlabs_tts",
"unit_price": 1,
"cost": 60
}
],
"combined_cost": 70
},
"chat_analysis": {
"chat_summary": "The agent messages user to ask question about his purchase inquiry. The agent asked several questions regarding his preference and asked if user would like to book an appointment. The user happily agreed and scheduled an appointment next Monday 10am.",
"user_sentiment": "Positive",
"chat_successful": true
}
}Changes
Changed in 4 of the 28 revisions of this API.2797
- ▲
the
collected_dynamic_variables/additionalProperties/response's property type/format changed from/tostring/for status200response-property-type-changed
- ▲
the
retell_llm_dynamic_variables/additionalProperties/response's property type/format changed from/tostring/for status200response-property-type-changed
- ▲
- ▲
the
message_with_tool_calls/items/oneOf[Message]/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
the
message_with_tool_calls/items/oneOf[NodeTransitionMessage]/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
the
message_with_tool_calls/items/oneOf[StateTransitionMessage]/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
the
message_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
the
message_with_tool_calls/items/oneOf[ToolCallResultMessage]/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[Message]/contentfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[Message]/created_timestampfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[Message]/message_idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[Message]/rolefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[NodeTransitionMessage]/created_timestampfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[NodeTransitionMessage]/message_idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[NodeTransitionMessage]/rolefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[StateTransitionMessage]/created_timestampfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[StateTransitionMessage]/message_idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[StateTransitionMessage]/rolefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/argumentsfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/message_idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/namefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/rolefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/tool_call_idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallResultMessage]/contentfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallResultMessage]/created_timestampfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallResultMessage]/message_idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallResultMessage]/rolefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
message_with_tool_calls/items/oneOf[ToolCallResultMessage]/tool_call_idfrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[NodeTransitionMessage]/former_node_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[NodeTransitionMessage]/former_node_namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[NodeTransitionMessage]/new_node_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[NodeTransitionMessage]/new_node_namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[StateTransitionMessage]/former_state_namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[StateTransitionMessage]/new_state_namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/created_timestampfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/thought_signaturefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
message_with_tool_calls/items/oneOf[ToolCallResultMessage]/successfulfrom the response with the200statusresponse-optional-property-removed
- ○
added
MessageBasesubschema #2to themessage_with_tool_calls/items/oneOf[Message]/response propertyallOflist for the response status200response-property-all-of-added
- ○
added
NodeTransitionMessageBasesubschema #2to themessage_with_tool_calls/items/oneOf[NodeTransitionMessage]/response propertyallOflist for the response status200response-property-all-of-added
- ○
added
StateTransitionMessageBasesubschema #2to themessage_with_tool_calls/items/oneOf[StateTransitionMessage]/response propertyallOflist for the response status200response-property-all-of-added
- ○
added
ToolCallInvocationMessageBasesubschema #2to themessage_with_tool_calls/items/oneOf[ToolCallInvocationMessage]/response propertyallOflist for the response status200response-property-all-of-added
- ○
added
ToolCallResultMessageBasesubschema #2to themessage_with_tool_calls/items/oneOf[ToolCallResultMessage]/response propertyallOflist for the response status200response-property-all-of-added
- ▲
- ○
added the optional property
message_with_tool_calls/items/oneOf[ToolCallResultMessage]/successfulto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
chat_cost/product_costs/items/is_transfer_leg_costto the response with the200statusresponse-optional-property-added
- ○