Skip to main content
POST
/
chat_sessions
/
{id}
/
close_session
Close Session
curl --request POST \
  --url https://api.osvi.ai/chat_sessions/{id}/close_session \
  --header 'API-Token: <api-key>'
{
  "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."
  }
}

Authorizations

API-Token
string
header
required

Path Parameters

id
string
required

The chat session ID

Example:

"8de63236-e013-42dd-9d99-1be5521701d4"

Response

200 - application/json

Successful response

success
boolean
Example:

true

data
object