End chat session
Save the chat and start post-call analysis (and, in a live chat, the agent's post-call actions). Ending a chat twice is harmless. A session with no message for 30 minutes is ended for you. Then call Get chat session until analysis_status is done to read the full record.
Path parameters
session_idintegerrequiredThe session_id from Create chat session.
Was this page helpful?
Send chat message
Send one message as the customer and get the agent's reply, plus the tools it called on this turn with their arguments and results.
Get chat session
The session's state and, once it has ended, its full record in the same shape as Get call log: transcript, per-turn tool calls and timings, extracted variables, summary and sentiment. Analysis takes a few seconds after the end; poll until analysis_status is done.
