v1

latestOpenAPI 3.0.32026-07-24106305257.4 KB
Agents Sessions V2

Create a new session

Creates a new streaming session for an Expressive Agent and returns the credentials needed to connect to the room.

post/v2/agents/{agentId}/sessions

Path parameters

agentIdstring required

Agent Id

Request body

chat_persistboolean

whether to persist the chat

Response

Created session

idstring required

Session ID for the session

session_urlstring required

Session URL for connecting to the session

session_tokenstring required

Session token for authentication

interrupt_enabledboolean required

Whether interrupt is enabled for this session