Voice Deployment Logs
Retrieve a single voice deployment log record
Assets
Voice Deployment Logs
Voice Deployments
Flows
Integrations
Tests
Voice V1 Deployments
- GETGet all voice v1 deployments for a worker
- POSTCreate a new voice v1 deployment
- GETGet a single voice v1 deployment
- PUTUpdate a voice v1 deployment
- DELDelete a voice v1 deployment
- POSTCreate a new campaign for a voice v1 deployment
- POSTMake batch calls for a voice v1 deployment
- POSTRun a campaign with provided data
- GETGet a campaign by ID
- GETGet specific campaign data by ID
- PUTUpdate specific campaign data by ID
Voice Deployment Logs
Retrieve a single voice deployment log record
GET
/
api
/
workers
/
{workerId}
/
deploymentLogs
/
voice
/
{logId}
import os
from brainbase_labs import BrainbaseLabs
client = BrainbaseLabs(
api_key=os.environ.get("BRAINBASE_LABS_API_KEY"), # This is the default and can be omitted
)
log = client.workers.deployment_logs.voice.retrieve(
log_id="logId",
worker_id="workerId",
)
print(log.id)
{
"id": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"externalCallId": "<string>",
"direction": "<string>",
"fromNumber": "<string>",
"toNumber": "<string>",
"transcription": "<string>",
"messages": {},
"recordingUrl": "<string>",
"data": {}
}
Authorizations
API key authentication
Response
200
application/json
Voice deployment log record
The response is of type object
.
import os
from brainbase_labs import BrainbaseLabs
client = BrainbaseLabs(
api_key=os.environ.get("BRAINBASE_LABS_API_KEY"), # This is the default and can be omitted
)
log = client.workers.deployment_logs.voice.retrieve(
log_id="logId",
worker_id="workerId",
)
print(log.id)
{
"id": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"externalCallId": "<string>",
"direction": "<string>",
"fromNumber": "<string>",
"toNumber": "<string>",
"transcription": "<string>",
"messages": {},
"recordingUrl": "<string>",
"data": {}
}