Voice Agent API
Direct Agent Connections API
Create LiveKit rooms for direct WebRTC connections between agents without telephony
Endpoint
POST /test-runs/create-livekit-rooms
Authentication
This endpoint requires authentication.
Request Body
Parameter | Type | Description |
---|---|---|
datasetId | string | ID of the dataset to use |
datasetItemIds | string[] | Optional list of dataset item IDs to filter by |
Response
Example Usage
Using LiveKit Room Data
The returned tokens can be used to establish direct WebRTC connections to the LiveKit rooms, where voice agent interactions can take place without traditional telephony integration.
Was this page helpful?