curl --request POST \ --url https://api.osvi.ai/chat_sessions/{id}/close_session \ --header 'API-Token: <api-key>'
Copy
{ "success": true, "data": { "success": true, "session_id": "4718a326-417b-4dda-90d0-21fd65a11cb8", "summary": "The conversation consisted of a single message from the AI agent greeting the user with \"Hi Bro.\" No main topics were discussed, no questions were asked by the user, and no actions or solutions were provided. The overall outcome was simply an initial greeting without further interaction." }}
Endpoints
End Chat Session
Closes an active chat session
POST
/
chat_sessions
/
{id}
/
close_session
Close Session
Copy
curl --request POST \ --url https://api.osvi.ai/chat_sessions/{id}/close_session \ --header 'API-Token: <api-key>'
Copy
{ "success": true, "data": { "success": true, "session_id": "4718a326-417b-4dda-90d0-21fd65a11cb8", "summary": "The conversation consisted of a single message from the AI agent greeting the user with \"Hi Bro.\" No main topics were discussed, no questions were asked by the user, and no actions or solutions were provided. The overall outcome was simply an initial greeting without further interaction." }}