Agent Integration
Create LiveKit Room
Changed onCreate a LiveKit room for one of your agents and return the credentials a LiveKit client needs to join it.
Use this only when you are embedding a conversation in your own application via the LiveKit client SDK. Most integrations do not need it: Interacting with Managed Agents through the UI starts a conversation with no API call required.
The room is created together with its conversation, whose status and transcript you can then read from /v1/conversations/{id}.
post/v1/livekit-rooms
Request
- Base URLhttps://api.bey.dev
- URLhttps://api.bey.dev/v1/livekit-rooms
- AuthAPI key in header x-api-key
Request body
Response
Created LiveKit room with its conversation ID and connection details.
Example response
{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"status": {
"started_at": "2022-01-01T00:00:00Z"
}
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info