Skip to content

AssistantSessionInterfaceSessionEndedMessage

HTTP API schema

A session ended. USER: someone in the room ended it. TIMEOUT: no one spoke. MUTED: the microphone latch was set. COMPLETED: a listen:false session gave its reply. REMOTE: an agent sent end-session. ERROR: the assistant failed. Transcripts are never included.

AssistantSessionInterfaceSessionEndedMessage fields

sessionIdstringRequired

minLength: 1

maxLength: 128

originstringRequired

Allowed values

  • WAKE
  • REMOTE
reasonstringRequired

Allowed values

  • USER
  • TIMEOUT
  • MUTED
  • COMPLETED
  • REMOTE
  • ERROR
endedAtstringRequired

format: "date-time"

View source specification ↗