Retrieve Speech-to-Video Session
curl --request GET \
--url https://api.bey.dev/v1/sessions/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.bey.dev/v1/sessions/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.bey.dev/v1/sessions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"avatar_id": "01234567-89ab-cdef-0123-456789abcdef",
"status": {
"type": "to_start"
},
"url": "wss://<your-domain>.livekit.cloud",
"transport": "livekit"
}Speech-to-Video Sessions
Retrieve Speech-to-Video Session
Retrieve a single speech-to-video session by ID.
GET
/
v1
/
sessions
/
{id}
Retrieve Speech-to-Video Session
curl --request GET \
--url https://api.bey.dev/v1/sessions/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.bey.dev/v1/sessions/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.bey.dev/v1/sessions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"avatar_id": "01234567-89ab-cdef-0123-456789abcdef",
"status": {
"type": "to_start"
},
"url": "wss://<your-domain>.livekit.cloud",
"transport": "livekit"
}Response
Successful Response
- LivekitSessionResponse
- PipecatSessionResponse
Response body for a LiveKit speech-to-video session.
Was this page helpful?