Get Chat Session
Chat
Get Chat Session
Retrieve complete details and messages for a specific chat session
GET
Get Chat Session
Overview
This endpoint retrieves the complete chat session including all messages, status, and metadata. Use it to review conversation history, display chat transcripts, or sync session data with external systems.Authentication
string
required
Your eigi.ai API key. Must be prefixed with
vk_.Path Parameters
string
required
The unique identifier of the chat session to retrieve. Example:
58a6b549-ef07-4a31-86bc-0eb0e026840aResponse
string
Unique identifier for the chat session.
string
ID of the agent handling this session.
string
Current session status. One of:
IN_PROGRESS, COMPLETED, DISCONNECTED,
FAILED.array
Array of all messages in the session.
integer
Total number of messages in the session.
string
ISO 8601 timestamp when the session was created.
string
ISO 8601 timestamp when the session was last updated.
object
Custom metadata attached to the session.
Message Object
Each message in themessages array contains:
string
Who sent the message:
user or assistant.string
The text content of the message.
string
ISO 8601 timestamp when the message was sent.
Examples
Get Session Details
Response Example
Error Responses
Example Error Response
Use Cases
Chat History
Display full conversation history to users
Export Transcripts
Export chat transcripts for records or analysis
Resume Conversations
Continue conversations from where they left off
Support Handoff
Review context before human agent takeover
Authorizations
API key for authentication. Get your API key from the eigi.ai Dashboard under Settings → API Keys.
Path Parameters
The unique session ID
Response
Successfully retrieved chat session

