Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request PATCH \ --url http://localhost:8000/api/sessions/{session_id} \ --header 'Content-Type: application/json' \ --data ' { "ended_at": "2023-11-07T05:31:56Z", "duration": 123, "metadata": {} } '
{ "room_name": "<string>", "id": "<string>", "started_at": "2023-11-07T05:31:56Z", "ended_at": "2023-11-07T05:31:56Z", "duration": 123, "user_id": "<string>", "agent_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "session_data": {}, "agent_name": "<string>", "outbound_phone_number": "<string>", "analysis": {}, "transferred_to": "<string>", "transfer_timestamp": "2023-11-07T05:31:56Z" }
Update a session.
CREATED
ACTIVE
COMPLETED
FAILED
Successful Response
INBOUND
OUTBOUND
RINGING
ANSWERED
NO_ANSWER
WARM
COLD