Skip to main content

Create Chat Session

POST 

/v1/chat/sessions

Create a chat session for one of your PUBLISHED agents (pinned to the published version).

  • transport='rest' (default): reply via POST /sessions/{id}/messages; the response carries the agent's greeting as the first assistant message.
  • transport='livekit': the response carries access_token/room_url/ room_name for a text-only LiveKit room (messages ride the lk.chat text stream; the greeting arrives over the room).

Request

Responses

Successful Response