List Chat Sessions
Chat
List Chat Sessions
Retrieve a paginated list of all chat sessions for your agents
GET
List Chat Sessions
Overview
This endpoint returns all chat sessions created through your agents. Use it to monitor chat activity, review conversation history, and manage ongoing sessions.Authentication
string
required
Your eigi.ai API key. Must be prefixed with
vk_.Query Parameters
integer
default:"1"
Page number to retrieve (minimum: 1)
integer
default:"10"
Number of items per page (minimum: 1, maximum: 100)
string
Filter sessions by a specific agent ID. Example:
68ea2517dbb84c09bae1ba0aResponse
string
Always
"list" for list responses.array
Array of chat session objects.
boolean
Whether there are more results available beyond this page.
integer
Total number of sessions matching the query.
integer
Current page number.
integer
Number of items per page.
integer
Total number of pages available.
Session Object
string
Unique identifier for the chat session.
string
Always
"chat.session" for session objects.integer
Unix timestamp when the session was created.
integer
Unix timestamp when the session was last updated.
string
ID of the agent handling this session.
string
Name or identifier for the conversation.
integer
Total number of messages in the session.
object
Custom metadata attached to the session.
Examples
List All Sessions
Filter by Agent
Response Example
Error Responses
Example Error Response
Use Cases
Analytics Dashboard
Track chat volume, session counts, and engagement metrics
Customer Support
Monitor active chat sessions and review conversation history
Quality Assurance
Review chat interactions for training and improvement
CRM Integration
Sync chat sessions with your customer management system
Authorizations
API key for authentication. Get your API key from the eigi.ai Dashboard under Settings → API Keys.
Query Parameters
Page number (minimum: 1)
Required range:
x >= 1Items per page (minimum: 1, maximum: 100)
Required range:
1 <= x <= 100Filter sessions by agent ID

