Start a web call session

View as Markdown

Mints a short-lived LiveKit access token and creates a room the browser client can join to have a voice-first call with the agent. Same response shape as /conversation/chat; the difference is the audio track defaults on the client side. Pair with the Web SDK to open the room in-browser.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Request

This endpoint expects an object.
agentIdstringRequired
The agent to attach the browser client to.

Response

Session minted. Use token + host on the browser client to join roomName.

statusbooleanOptional
dataobjectOptional

Errors

400
Bad Request Error