Retrieve a specific session by ID
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the request was successful |
session | object | Session object |
session.session_id | integer | Unique session identifier |
session.agent_id | integer | Parent agent ID |
session.session_type | string | Session type (‘agent_voice’, ‘agent_video’, ‘agent_chat’, ‘webrtc_video’) |
session.status | string | Session status (‘active’, ‘completed’) |
session.started_at | string | ISO 8601 timestamp when session started |
session.ended_at | string | ISO 8601 timestamp when session ended (null if active) |
session.duration | integer | Session duration in seconds (null if active) |
session.transcript | string | Session transcript |
session.metadata | object | Custom metadata (JSON) |
session.created_at | string | ISO 8601 creation timestamp |
session.agent_name | string | Name of parent agent |
session.language | string | Language code |
session.avatar_id | integer | Avatar ID |
session.avatar_name | string | Avatar display name |
session.avatar_url | string | Avatar image URL |
session.voice_id | string | Voice ID from avatar (null if not set) |
401 Unauthorized - Invalid or missing API key404 Not Found - Session doesn’t exist429 Too Many Requests - Rate limit exceeded500 Internal Server Error - Server error