Skip to main content
GET
Get Session
Get metadata and statistics for an existing conversation session.

Request

Path Parameters

string
required
The session ID to retrieve

Headers

string
required
Your OpenViking API key for authentication

Response

string
Response status (ok or error)
object
Session details
string
The session identifier
object
User information associated with the session
string
User identifier
string
Agent identifier
number
Number of messages currently in the session
number
Request processing time in seconds

Examples

Response Example

Session Properties (Python SDK)

When using the Python SDK, the Session object provides rich properties:

Basic Properties

Statistics

Compression Info

Usage Records

Use Cases

Resume Previous Conversation

Check Session Health

Analyze Session Activity

Error Responses

Session Not Found