List built-in voices
curl --request GET \
--url https://api.aireserve.com/v1/voices \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/voices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aireserve.com/v1/voices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"voices": [
{
"voice_id": "ara",
"name": "Ara",
"language": "en",
"gender": "female"
},
{
"voice_id": "atlas",
"name": "Atlas",
"language": "en",
"gender": "male"
}
]
}Audio
List built-in voices
Returns the catalog of built-in xAI text-to-speech voices. Available to all callers — no org gate required. The list is cached server-side for 5 minutes; a stale catalog is served during upstream outages rather than returning an error. Use the returned voice_id values in POST /v1/audio/speech or POST /v1/realtime/sessions.
GET
/
v1
/
voices
List built-in voices
curl --request GET \
--url https://api.aireserve.com/v1/voices \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/voices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aireserve.com/v1/voices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"voices": [
{
"voice_id": "ara",
"name": "Ara",
"language": "en",
"gender": "female"
},
{
"voice_id": "atlas",
"name": "Atlas",
"language": "en",
"gender": "male"
}
]
}Authorizations
Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).
Response
200 - application/json
Voice catalog.
Show child attributes
Show child attributes