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

x-api-key
string
header
required

API key authentication

Path Parameters

workerId
string
required
logId
string
required

Response

200
application/json
Voice deployment log record
id
string
required
startTime
string | null
endTime
string | null
externalCallId
string | null
direction
string | null
fromNumber
string | null
toNumber
string | null
transcription
string | null
messages
object | null
recordingUrl
string | null
data
object | null