Skip to content

AssistantSessionInterfaceStartSessionMessage

HTTP API schema

Start a conversation on the device. With initialText the text is the user's first turn and the assistant answers it aloud; without it the device plays its listening tone and waits for someone in the room to speak. The device refuses while another session is active (busy, with that session's id and origin), while its microphone latch is set, or while it is disabled. The reply comes when the session has started, not when it ends; follow state, or the session-ended event, for the rest.

AssistantSessionInterfaceStartSessionMessage fields

initialTextstring

The user's first turn, answered as if spoken in the room.

minLength: 1

maxLength: 2000

listenboolean

Whether the session keeps listening for follow-up turns. false ends the session after the first reply, with reason COMPLETED.

Default: true

reasonstringRequired

Why the agent starts the session, for the device's audit log. It is never spoken.

minLength: 1

maxLength: 200

View source specification ↗