Skip to main content
GET
/
v1
/
sessions
/
{session_id}
Get Session
curl --request GET \
  --url http://localhost:8000/v1/sessions/{session_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "content_id": "<string>",
    "content_type_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "is_active": true,
    "status": "<string>",
    "user_id": "<string>",
    "conversation_id": "<string>",
    "duration_limit": 600,
    "elapsed_active_time": 0,
    "end_reason": "<string>",
    "end_time": "2023-11-07T05:31:56Z",
    "last_activity": "2023-11-07T05:31:56Z",
    "messages": [],
    "reconnect_count": 0,
    "start_time": "2023-11-07T05:31:56Z"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

session_id
string
required

Response

Successful Response

data
SessionWithTranscriptResponse · object
message
string | null
success
boolean
default:true