import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
apiKey: 'My API Key',
});
const voiceDeployments = await client.workers.deployments.voice.list('workerId');
console.log(voiceDeployments);
[
{
"id": "<string>",
"phoneNumber": "<string>",
"voiceProvider": "<string>",
"voiceId": "<string>",
"enableVoiceSentiment": true,
"agentId": "<string>",
"externalConfig": {}
}
]
import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
apiKey: 'My API Key',
});
const voiceDeployments = await client.workers.deployments.voice.list('workerId');
console.log(voiceDeployments);
[
{
"id": "<string>",
"phoneNumber": "<string>",
"voiceProvider": "<string>",
"voiceId": "<string>",
"enableVoiceSentiment": true,
"agentId": "<string>",
"externalConfig": {}
}
]
API key authentication
List of voice deployments
The response is of type object[]
.