GET
/
api
/
workers
/
{workerId}
/
deploymentLogs
/
voice
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
)
logs = client.workers.deployment_logs.voice.list(
    worker_id="workerId",
)
print(logs)
[
  {
    "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

Query Parameters

deploymentId
string

Filter logs by deployment id

flowId
string

Filter logs by flow id

Response

200
application/json
List of voice deployment logs

The response is of type object[].