Documentation Index
Fetch the complete documentation index at: https://docs.burki.dev/llms.txt
Use this file to discover all available pages before exploring further.
Live Transcript Streaming Guide
Live transcript streaming lets your application react while a call is still active. Use this guide for product patterns and integration architecture. For exact message schemas, auth modes, and close codes, use the Live Transcript WebSocket API Reference.When to Use Live Transcripts
- Build supervisor dashboards that show caller and assistant speech in real time.
- Trigger compliance or escalation alerts while a call is happening.
- Power live captions and accessibility views.
- Feed real-time QA, coaching, or sentiment workflows.
- Store timestamped segments for post-call analytics.
Connection Summary
call_sid is the Burki call SID for the call you want to monitor. The authenticated user or API key must belong to the same organization as the call’s assistant.
Browser clients should use the token query parameter or WebSocket subprotocol. Server-side clients can also send Authorization: Bearer ... headers.
Recommended Client Flow
- Start from a call record returned by the Calls API or webhook.
- Open the WebSocket with
call_sidand an API key or JWT. - Wait for
connection_established. - Render existing transcript messages sent on connection.
- Append live
transcriptmessages as they arrive. - Listen for
call_statusand close the UI when the call completes. - Reconnect with backoff for transient network interruptions.
Minimal Browser Example
Minimal Server-Side Example
Production Notes
- Do not expose long-lived API keys in browser code. Use short-lived tokens or proxy connection setup through your backend when possible.
- Treat transcript content as sensitive customer data.
- Use ping/pong or reconnect timers for long-running monitoring dashboards.
- Store the last received timestamp or segment ID in your UI state so reconnects can avoid duplicate display.
- Prefer REST transcript export endpoints for completed calls when real-time updates are not required.
API Reference
Use Live Transcript WebSocket API Reference for:- Complete server-to-client message formats.
- Client-to-server
pingand status request messages. - Close codes and error behavior.
- Browser vs server-side auth method details.