import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
apiKey: 'My API Key',
});
const response = await client.voiceAnalysis.analyze();
console.log(response.summary);
{
"summary": {
"totalCalls": 123,
"totalMinutes": 123,
"totalTransfers": 123,
"totalTransferMinutes": 123,
"averageCallDuration": 123
}
}
import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
apiKey: 'My API Key',
});
const response = await client.voiceAnalysis.analyze();
console.log(response.summary);
{
"summary": {
"totalCalls": 123,
"totalMinutes": 123,
"totalTransfers": 123,
"totalTransferMinutes": 123,
"averageCallDuration": 123
}
}
API key authentication
Voice deployment analysis results
The response is of type object
.