*** id: 6826d07f-d320-45da-bff2-05230e1162a6 title: live\_transcribe slug: /reference/live-transcribe description: Transcribe a voice interaction in real-time. max-toc-depth: 3 ---------------- Start live transcription of the call. The transcription will be sent to the specified webhook URL. ## **Properties** An object that accepts the following properties. The action to perform. See [actions](#actions) below. ## **Actions** The `action` property controls the transcription session. Use `start` to begin transcribing with configuration options, `stop` to end an active session, or `summarize` to request an on-demand AI summary mid-session. Start a live transcription session. The URL to receive transcription events via HTTP POST. When `live_events` is enabled, partial results are sent as they occur. When `ai_summary` is enabled, a summary is sent when the session ends. Authentication can also be set in the URL in the format of `username:password@url`. The language to transcribe. See [supported voices & languages](/docs/platform/voice/tts). Whether to enable live events. Whether to enable automatic AI summarization. When enabled, an AI-generated summary of the conversation will be sent to your webhook when the transcription session ends. The timeout for speech recognition in milliseconds. Minimum value: `1500`. Voice activity detection silence time in milliseconds. Default depends on the speech engine: `300` for Deepgram, `500` for Google. Minimum value: `1`. Voice activity detection threshold. Range: `0` to `1800`. Debug level for logging. The direction of the call that should be transcribed. Possible values: `remote-caller`, `local-caller`. The speech recognition engine to use. Possible values: `deepgram`, `google`. The AI prompt that instructs how to summarize the conversation when `ai_summary` is enabled. This prompt is sent to an AI model to guide how it generates the summary. Example: "Summarize the key points and action items from this conversation." Set `action` to the string `"stop"` to stop the live transcription session. This action is designed for use on active calls that have an existing transcription session running. You can send this action via the [Call Commands REST API](/docs/apis/calling/calls/call-commands), or include it in a SWML section executed via [`transfer`](/docs/swml/reference/transfer) or [`execute`](/docs/swml/reference/execute) during a call. If you want automatic summarization when the session ends instead, use `ai_summary: true` in the `start` action. Request an on-demand AI summary of the conversation while transcription is still active. This action is designed for use on active calls that have an existing transcription session running. You can send this action via the [Call Commands REST API](/docs/apis/calling/calls/call-commands), or include it in a SWML section executed via [`transfer`](/docs/swml/reference/transfer) or [`execute`](/docs/swml/reference/execute) during a call. If called with an empty object, the default summarization prompt and webhook will be used. The webhook URI to be called. Authentication can also be set in the URL in the format of `username:password@url`. The AI prompt that instructs the AI model how to summarize the conversation. This guides the style and content of the generated summary. Example: "Provide a bullet-point summary of the main topics discussed." ## **Examples** ```yaml version: 1.0.0 sections: main: - answer: {} - live_transcribe: action: start: webhook: 'https://example.com/webhook' lang: en live_events: true direction: - remote-caller - local-caller speech_engine: deepgram ``` ```json { "version": "1.0.0", "sections": { "main": [ { "answer": {} }, { "live_transcribe": { "action": { "start": { "webhook": "https://example.com/webhook", "lang": "en", "live_events": true, "direction": ["remote-caller", "local-caller"], "speech_engine": "deepgram" } } } } ] } } ``` ```yaml live_transcribe: action: stop ``` ```json { "live_transcribe": { "action": "stop" } } ``` ```yaml live_transcribe: action: summarize: webhook: 'https://example.com/webhook' prompt: Summarize the key points of this conversation. ``` ```json { "live_transcribe": { "action": { "summarize": { "webhook": "https://example.com/webhook", "prompt": "Summarize the key points of this conversation." } } } } ```