Agents Platform
Stream Conversation Turn Events
Changed onStream the events of a turn as server-sent events. Send Last-Event-ID to resume after an event. The server keeps events for about an hour. This endpoint is in alpha and may change.
get/v1/convai/conversations/{conversation_id}/turns/{turn_id}/events
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
conversation_idstring required
The Conversation ID
turn_idstring required
The Turn ID
Headers
Last-Event-IDstring nullable
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Server-sent events. Each event has the stream cursor as its id, the event type as its event, and a stream envelope as its data.
Changes
- info
endpoint added
- info