Call Logs API
This page contains details on how to retrieve call logs
Call Logs
Call Logs are logs generated during the call. These include five types of logs:
Pathway Info - when the agent changes nodes
Transcript - when transcripts are added (both agent and user)
Trace - Trace logs for events happening during the call
Webhook - When webhooks are sent
Error - When errors occur
We offer realtime as well as RESTful endpoints to retrieve logs for a given call ID. For more information on these endpoints as well as DTO schemas for the log objects, click the respective links to go to our Swagger documentation.
Note that Transcript logs from the assistant may contain chunked transcripts. In reality, this means that you will receive transcripts as they are generated and you should accumulate them on your side if needed. Transcripts may even be split into sub-word chunks, see example below.
Example: ["Good", " mor", "ning", ",", " h", "ow", "'s", " it", " going", "?"]
Realtime logs
We offer two SSE endpoints to receive logs in realtime during a call. You can either receive all log types at /live-logs, or you can receive just transcripts at /live-transcript. The connection will close automatically when the call ends.
Logs
If you wish to retrieve existing logs, you can do so using a GET request to this endpoint.
Last updated