Agents Platform

Stream Conversation Turn Events

Changed on

Stream 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

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.

conversation_idstring required
turn_idstring required
created_at_unix_msinteger required

Changes