Skip to main content
Server events are JSON messages emitted by the service on the Streaming Avatar WSS connection (control.url, which points to /v1/realtime-avatar/control). Each event includes an event_id and a type. Error events may also include the client event_id that caused the failure. Forward compatibility. Vivix may add new event types and fields over time. Clients must ignore any event type or field they do not recognize and must not disconnect on unknown data.

Which event should I listen to?

Error Events

Session Events

Registry Events

Conversation Events

Audio Events

Transcription Events

Response Events

Lifecycle distinction. response.created and response.done describe the response resource and logical output stream. response.render.started and response.render.stopped describe visible or audible avatar rendering over RTC. response.render.stopped is emitted before response.done for responses that enter avatar rendering. Responses that do not render, such as tool-call-only responses, proceed directly to response.done.

Continue reading

Persona · Speech recognition · Text model · Text to speech · Short vocal cues