> This page is for APIs.

> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# calling.live_transcribe

GET /

Start, stop, or summarize live transcription on a call

Reference: https://signalwire.com/docs/apis/relay/server/calling/calling-live-transcribe

## AsyncAPI Specification

```yaml
asyncapi: 2.6.0
info:
  title: calling.live_transcribe
  version: subpackage_callingLiveTranscribe.calling.live_transcribe
  description: Start, stop, or summarize live transcription on a call
channels:
  /:
    description: Start, stop, or summarize live transcription on a call
    publish:
      operationId: subpackage_callingLiveTranscribe.calling.live_transcribe-publish
      summary: Server messages
      message:
        oneOf:
          - $ref: >-
              #/components/messages/subpackage_callingLiveTranscribe.calling.live_transcribe-server-0-onCallingLiveTranscribeTranscribeUtteranceEvent
          - $ref: >-
              #/components/messages/subpackage_callingLiveTranscribe.calling.live_transcribe-server-1-onCallingLiveTranscribeTranscribeLiveSummarizeEvent
          - $ref: >-
              #/components/messages/subpackage_callingLiveTranscribe.calling.live_transcribe-server-2-onCallingLiveTranscribeTranscribeConversationLogEvent
          - $ref: >-
              #/components/messages/subpackage_callingLiveTranscribe.calling.live_transcribe-server-3-onCallingLiveTranscribeResponse
    subscribe:
      operationId: subpackage_callingLiveTranscribe.calling.live_transcribe-subscribe
      summary: calling.live_transcribe
      message:
        name: callingLiveTranscribe
        title: calling.live_transcribe
        payload:
          $ref: >-
            #/components/schemas/calling.live_transcribe_callingLiveTranscribeRequest
servers:
  production:
    url: wss://relay.signalwire.com/
    protocol: wss
    x-default: true
components:
  messages:
    subpackage_callingLiveTranscribe.calling.live_transcribe-server-0-onCallingLiveTranscribeTranscribeUtteranceEvent:
      name: onCallingLiveTranscribeTranscribeUtteranceEvent
      title: calling.ai.transcribe.utterance
      payload:
        $ref: '#/components/schemas/calling.live_transcribe_transcribeUtteranceEvent'
    subpackage_callingLiveTranscribe.calling.live_transcribe-server-1-onCallingLiveTranscribeTranscribeLiveSummarizeEvent:
      name: onCallingLiveTranscribeTranscribeLiveSummarizeEvent
      title: calling.ai.transcribe.live_summarize
      payload:
        $ref: >-
          #/components/schemas/calling.live_transcribe_transcribeLiveSummarizeEvent
    subpackage_callingLiveTranscribe.calling.live_transcribe-server-2-onCallingLiveTranscribeTranscribeConversationLogEvent:
      name: onCallingLiveTranscribeTranscribeConversationLogEvent
      title: calling.ai.transcribe.conversation_log
      payload:
        $ref: >-
          #/components/schemas/calling.live_transcribe_transcribeConversationLogEvent
    subpackage_callingLiveTranscribe.calling.live_transcribe-server-3-onCallingLiveTranscribeResponse:
      name: onCallingLiveTranscribeResponse
      title: calling.live_transcribe response
      payload:
        $ref: >-
          #/components/schemas/calling.live_transcribe_callingLiveTranscribeResponse
  schemas:
    ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventJsonrpc
    ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventMethod:
      type: string
      enum:
        - signalwire.event
      description: Always `signalwire.event`.
      title: ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventMethod
    ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventParamsEventType:
      type: string
      enum:
        - calling.ai.transcribe.utterance
      description: The event type — identifies which event this is.
      title: >-
        ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventParamsEventType
    CallingTranscribeUtteranceEventDataConfidence:
      oneOf:
        - type: number
          format: double
        - description: Any type
      description: >-
        Recognition confidence for this utterance as reported by the engine,
        roughly 0.0-1.0. `null` when the engine reports none.
      title: CallingTranscribeUtteranceEventDataConfidence
    Calling.TranscribeUtterance:
      type: object
      properties:
        role:
          type: string
          description: >-
            Who spoke: `remote-caller` (the far end) or `local-caller` (your
            side).
        content:
          type: string
          description: The transcribed text.
        lang:
          type: string
          description: >-
            The language of the utterance as a BCP-47 language code (e.g. `en`,
            `es-ES`).
        utterance_id:
          type: string
          description: >-
            Unique identifier for this utterance, for correlation and
            de-duplication.
        timestamp:
          type: integer
          format: int64
          description: >-
            When the utterance was produced, as a Unix timestamp in
            microseconds.
        confidence:
          type: number
          format: double
          description: >-
            Recognition confidence for the utterance, roughly 0.0-1.0. Omitted
            when the engine reports none.
        tokens:
          type: integer
          description: Number of tokens in the utterance.
        char_count:
          type: integer
          description: Number of characters in the utterance text.
        word_count:
          type: integer
          description: Number of words in the utterance text.
        silence_before_ms:
          type: integer
          description: >-
            Milliseconds since this speaker's previous utterance. Omitted on the
            speaker's first utterance.
        filter_type:
          type: string
          description: >-
            The kind of content filter that matched this utterance, when one
            did.
        filter_value:
          type: string
          description: The value the content filter matched, when one did.
        start:
          type: number
          format: double
          description: >-
            Engine-reported start offset of the utterance, in seconds. Present
            with `verbose_utterances`.
        end:
          type: number
          format: double
          description: >-
            Engine-reported end offset of the utterance, in seconds. Present
            with `verbose_utterances`.
        duration:
          type: number
          format: double
          description: >-
            Engine-reported duration of the utterance, in seconds. Present with
            `verbose_utterances`.
        duration_ms:
          type: number
          format: double
          description: >-
            Duration of the utterance, in milliseconds. Present with
            `verbose_utterances`.
        words:
          type: array
          items:
            description: Any type
          description: >-
            Engine-reported word-level detail (timings, confidence). Present
            with `verbose_utterances`; the shape is engine-specific.
        alternatives:
          type: array
          items:
            description: Any type
          description: >-
            Engine-reported alternative transcripts. Present with
            `verbose_utterances`; the shape is engine-specific.
        request_id:
          type: string
          description: Engine request identifier. Present with `verbose_utterances`.
        detected_language:
          type: string
          description: Language detected by the engine. Present with `verbose_utterances`.
        speech_final:
          type: boolean
          description: >-
            Whether the engine marked this as the end of a spoken phrase.
            Present with `verbose_utterances`.
        is_final:
          type: boolean
          description: >-
            Whether the engine marked this result as final. Present with
            `verbose_utterances`.
      required:
        - role
        - content
        - lang
        - utterance_id
        - timestamp
      description: A single transcribed utterance from a live-transcription session.
      title: Calling.TranscribeUtterance
    Calling.AiCallInfo:
      type: object
      properties:
        project_id:
          type: string
          description: Your project ID.
        space_id:
          type: string
          description: Your space ID.
        content_type:
          type: string
          description: The content type of the delivery.
        content_disposition:
          type: string
          description: The content disposition of the delivery.
        conversation_type:
          type: string
          description: The kind of conversation this delivery describes.
        call_id:
          type: string
          description: The call ID.
      required:
        - content_type
        - content_disposition
        - conversation_type
        - call_id
      description: >-
        Call/session context attached to AI transcribe, translate, and sidecar
        webhook deliveries, as a

        sibling of the documented event fields. Added on every delivery.
      title: Calling.AiCallInfo
    Calling.AiChannelData:
      type: object
      properties:
        project_id:
          type: string
          description: Your project ID.
        space_id:
          type: string
          description: Your space ID.
        content_type:
          type: string
          description: The content type of the delivery.
        content_disposition:
          type: string
          description: The content disposition of the delivery.
        call_id:
          type: string
          description: The call ID.
        call_start_date:
          type: integer
          format: int64
          description: When the call started, as a Unix timestamp in microseconds.
        call_answer_date:
          type: integer
          format: int64
          description: >-
            When the call was answered, as a Unix timestamp in microseconds. `0`
            if not answered yet.
        call_end_date:
          type: integer
          format: int64
          description: >-
            When the call ended, as a Unix timestamp in microseconds. `0` while
            the call is still up.
        caller_id_name:
          type: string
          description: The caller's name.
        caller_id_number:
          type: string
          description: The caller's number.
        SWMLVars:
          type: object
          additionalProperties:
            description: Any type
          description: >-
            Custom variables set on the call during its SWML execution, as
            name/value pairs.
        SWMLCall:
          type: object
          additionalProperties:
            description: Any type
          description: >-
            The SWML `call` object for this call — the call metadata (direction,
            from/to, headers, timing) available to your SWML document. See the
            SWML reference for its fields.
      required:
        - content_type
        - content_disposition
        - call_id
      description: >-
        Extended call/channel context attached to AI transcribe and translate
        deliveries — a superset of

        `AiCallInfo` with call timing and caller-ID detail.
      title: Calling.AiChannelData
    Calling.TranscribeUtteranceEventData:
      type: object
      properties:
        node_id:
          type: string
          description: >-
            Opaque identifier that, paired with `call_id`, addresses this call.
            Echo back the value you received; treat it as opaque.
        call_id:
          type: string
          description: Unique identifier of the call.
        segment_id:
          type: string
          description: >-
            Identifier of the call segment this event belongs to, for
            correlating events within the same segment of a call.
        tag:
          type: string
          description: >-
            The `tag` you set when placing the call, echoed back so you can
            match the event to your request.
        confidence:
          $ref: '#/components/schemas/CallingTranscribeUtteranceEventDataConfidence'
          description: >-
            Recognition confidence for this utterance as reported by the engine,
            roughly 0.0-1.0. `null` when the engine reports none.
        utterance:
          $ref: '#/components/schemas/Calling.TranscribeUtterance'
          description: The recognized utterance.
        call_info:
          $ref: '#/components/schemas/Calling.AiCallInfo'
          description: Call/session context for this delivery.
        channel_data:
          $ref: '#/components/schemas/Calling.AiChannelData'
          description: Extended call/channel context for this delivery.
      required:
        - node_id
        - call_id
        - confidence
        - utterance
        - call_info
        - channel_data
      description: >-
        A live-transcription result delivered while the call is still in
        progress — one

        recognized utterance at a time. Sent only when you start

        `calling.live_transcribe` with `live_events` enabled.
      title: Calling.TranscribeUtteranceEventData
    ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventParams:
      type: object
      properties:
        event_type:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventParamsEventType
          description: The event type — identifies which event this is.
        event_channel:
          type: string
          description: >-
            The channel the event was delivered on — for Calling events, the
            `protocol`

            string your connection received from `signalwire.connect`.
        timestamp:
          type: number
          format: double
          description: >-
            When the event was emitted, as a Unix timestamp in seconds. Always
            present.
        project_id:
          type: string
          description: >-
            Your project ID. Present on Calling events and most Call Fabric
            events; absent on `call.joined`, `call.left`, `member.joined`, and
            `member.left`.
        space_id:
          type: string
          description: >-
            Your space ID. Present on Calling events and most Call Fabric
            events; absent on `call.joined`, `call.left`, `member.joined`, and
            `member.left`.
        params:
          $ref: '#/components/schemas/Calling.TranscribeUtteranceEventData'
          description: The event-specific payload.
      required:
        - event_type
        - event_channel
        - timestamp
        - params
      description: The event envelope.
      title: ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventParams
    calling.live_transcribe_transcribeUtteranceEvent:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventJsonrpc
          description: JSON-RPC version. Always `2.0`.
        id:
          type: string
          description: >-
            Event id — a unique UUID generated for each event. Events are
            notifications: you do not reply to them.
        method:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventMethod
          description: Always `signalwire.event`.
        params:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeUtteranceEventParams
          description: The event envelope.
      required:
        - jsonrpc
        - id
        - method
        - params
      description: >-
        Streams a single recognized utterance during a `calling.live_transcribe`
        session started with `live_events` enabled.
      title: calling.live_transcribe_transcribeUtteranceEvent
    ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventJsonrpc
    ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventMethod:
      type: string
      enum:
        - signalwire.event
      description: Always `signalwire.event`.
      title: ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventMethod
    ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventParamsEventType:
      type: string
      enum:
        - calling.ai.transcribe.live_summarize
      description: The event type — identifies which event this is.
      title: >-
        ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventParamsEventType
    Calling.ConversationLogEntry:
      type: object
      properties:
        role:
          type: string
          description: >-
            Who spoke this turn: `remote-caller` (the far end) or `local-caller`
            (your side). Tool/function turns use the `tool` role.
        content:
          type: string
          description: The text of this turn.
        confidence:
          type: number
          format: double
          description: >-
            Recognition confidence for this turn, roughly 0.0-1.0. Absent for
            non-speech turns.
        language:
          type: string
          description: BCP-47 language code of this turn (e.g. `en`, `es-ES`).
        filter_type:
          type: string
          description: The kind of content filter that matched this turn, when one did.
        filter_value:
          type: string
          description: The value the content filter matched, when one did.
        tool_call_id:
          type: string
          description: >-
            Correlation id for a tool/function-call turn. Present only on
            `tool`-role entries.
      required:
        - role
        - content
      description: >-
        One turn in a conversation log. Shared by the summary and
        conversation-log events of

        `calling.live_transcribe` and `calling.live_translate`. This is a
        slimmer record than a

        per-utterance result — it carries the turn's text and speaker, not the
        low-level speech-recognition metadata.
      title: Calling.ConversationLogEntry
    Calling.TranscribeLiveSummarizeEventData:
      type: object
      properties:
        node_id:
          type: string
          description: >-
            Opaque identifier that, paired with `call_id`, addresses this call.
            Echo back the value you received; treat it as opaque.
        call_id:
          type: string
          description: Unique identifier of the call.
        segment_id:
          type: string
          description: >-
            Identifier of the call segment this event belongs to, for
            correlating events within the same segment of a call.
        tag:
          type: string
          description: >-
            The `tag` you set when placing the call, echoed back so you can
            match the event to your request.
        conversation_log:
          type: array
          items:
            $ref: '#/components/schemas/Calling.ConversationLogEntry'
          description: The conversation so far, one entry per turn.
        conversation_summary:
          type: string
          description: An AI-generated summary of the conversation so far.
        call_info:
          $ref: '#/components/schemas/Calling.AiCallInfo'
          description: Call/session context for this delivery.
        channel_data:
          $ref: '#/components/schemas/Calling.AiChannelData'
          description: Extended call/channel context for this delivery.
      required:
        - node_id
        - call_id
        - conversation_log
        - conversation_summary
        - call_info
        - channel_data
      description: >-
        An on-demand summary of a `calling.live_transcribe` session so far,
        produced when you send

        the `summarize` action (or when an attached AI sidecar closes; see
        `calling.ai_sidecar`).

        Requires a `webhook` on the session.
      title: Calling.TranscribeLiveSummarizeEventData
    ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventParams:
      type: object
      properties:
        event_type:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventParamsEventType
          description: The event type — identifies which event this is.
        event_channel:
          type: string
          description: >-
            The channel the event was delivered on — for Calling events, the
            `protocol`

            string your connection received from `signalwire.connect`.
        timestamp:
          type: number
          format: double
          description: >-
            When the event was emitted, as a Unix timestamp in seconds. Always
            present.
        project_id:
          type: string
          description: >-
            Your project ID. Present on Calling events and most Call Fabric
            events; absent on `call.joined`, `call.left`, `member.joined`, and
            `member.left`.
        space_id:
          type: string
          description: >-
            Your space ID. Present on Calling events and most Call Fabric
            events; absent on `call.joined`, `call.left`, `member.joined`, and
            `member.left`.
        params:
          $ref: '#/components/schemas/Calling.TranscribeLiveSummarizeEventData'
          description: The event-specific payload.
      required:
        - event_type
        - event_channel
        - timestamp
        - params
      description: The event envelope.
      title: ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventParams
    calling.live_transcribe_transcribeLiveSummarizeEvent:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventJsonrpc
          description: JSON-RPC version. Always `2.0`.
        id:
          type: string
          description: >-
            Event id — a unique UUID generated for each event. Events are
            notifications: you do not reply to them.
        method:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventMethod
          description: Always `signalwire.event`.
        params:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeLiveSummarizeEventParams
          description: The event envelope.
      required:
        - jsonrpc
        - id
        - method
        - params
      description: >-
        A summary of the transcription so far, emitted for
        `calling.live_transcribe` when you request the `summarize` action.
      title: calling.live_transcribe_transcribeLiveSummarizeEvent
    ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: >-
        ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventJsonrpc
    ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventMethod:
      type: string
      enum:
        - signalwire.event
      description: Always `signalwire.event`.
      title: >-
        ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventMethod
    ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventParamsEventType:
      type: string
      enum:
        - calling.ai.transcribe.conversation_log
      description: The event type — identifies which event this is.
      title: >-
        ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventParamsEventType
    Calling.TranscriptionMetrics:
      type: object
      properties:
        total_utterances:
          type: integer
          description: Total number of utterances recognized during the session.
        first_utterance_ts:
          type: number
          format: double
          description: >-
            When the first utterance was recognized, as a Unix timestamp in
            microseconds.
        last_utterance_ts:
          type: number
          format: double
          description: >-
            When the last utterance was recognized, as a Unix timestamp in
            microseconds.
        remote_caller_turns:
          type: integer
          description: Number of speaking turns from the far end.
        local_caller_turns:
          type: integer
          description: Number of speaking turns from your side.
        remote_caller_words:
          type: integer
          description: Total words spoken by the far end.
        local_caller_words:
          type: integer
          description: Total words spoken by your side.
        remote_caller_avg_confidence:
          type: number
          format: double
          description: >-
            Average recognition confidence across the far end's turns, roughly
            0.0-1.0.
        local_caller_avg_confidence:
          type: number
          format: double
          description: >-
            Average recognition confidence across your side's turns, roughly
            0.0-1.0.
        customer_turns:
          type: integer
          description: Number of speaking turns from the customer. Sidecar mode only.
        agent_turns:
          type: integer
          description: Number of speaking turns from the agent. Sidecar mode only.
        customer_words:
          type: integer
          description: Total words spoken by the customer. Sidecar mode only.
        agent_words:
          type: integer
          description: Total words spoken by the agent. Sidecar mode only.
        customer_avg_confidence:
          type: number
          format: double
          description: >-
            Average recognition confidence across the customer's turns, roughly
            0.0-1.0. Sidecar mode only.
        agent_avg_confidence:
          type: number
          format: double
          description: >-
            Average recognition confidence across the agent's turns, roughly
            0.0-1.0. Sidecar mode only.
      description: >-
        Aggregate metrics for a transcription session, included on the final

        `calling.ai.transcribe.conversation_log` event. When an AI sidecar is
        attached, the

        per-side keys are reported as `customer_*` / `agent_*` instead of

        `remote_caller_*` / `local_caller_*`.
      title: Calling.TranscriptionMetrics
    Calling.TranscribeConversationLogEventData:
      type: object
      properties:
        node_id:
          type: string
          description: >-
            Opaque identifier that, paired with `call_id`, addresses this call.
            Echo back the value you received; treat it as opaque.
        call_id:
          type: string
          description: Unique identifier of the call.
        segment_id:
          type: string
          description: >-
            Identifier of the call segment this event belongs to, for
            correlating events within the same segment of a call.
        tag:
          type: string
          description: >-
            The `tag` you set when placing the call, echoed back so you can
            match the event to your request.
        conversation_log:
          type: array
          items:
            $ref: '#/components/schemas/Calling.ConversationLogEntry'
          description: The full conversation, one entry per turn.
        conversation_summary:
          type: string
          description: >-
            An AI-generated summary of the full conversation. Present only when
            the session was started with AI summary enabled.
        metrics:
          $ref: '#/components/schemas/Calling.TranscriptionMetrics'
          description: Aggregate metrics for the session.
        call_info:
          $ref: '#/components/schemas/Calling.AiCallInfo'
          description: Call/session context for this delivery.
        channel_data:
          $ref: '#/components/schemas/Calling.AiChannelData'
          description: Extended call/channel context for this delivery.
      required:
        - node_id
        - call_id
        - conversation_log
        - metrics
        - call_info
        - channel_data
      description: >-
        The full conversation log for a `calling.live_transcribe` session,
        delivered once when the

        session ends. Distinct from `calling.call.transcribe` (the event of the
        non-live

        `calling.transcribe` method) — this one carries the AI/live
        transcription conversation.
      title: Calling.TranscribeConversationLogEventData
    ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventParams:
      type: object
      properties:
        event_type:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventParamsEventType
          description: The event type — identifies which event this is.
        event_channel:
          type: string
          description: >-
            The channel the event was delivered on — for Calling events, the
            `protocol`

            string your connection received from `signalwire.connect`.
        timestamp:
          type: number
          format: double
          description: >-
            When the event was emitted, as a Unix timestamp in seconds. Always
            present.
        project_id:
          type: string
          description: >-
            Your project ID. Present on Calling events and most Call Fabric
            events; absent on `call.joined`, `call.left`, `member.joined`, and
            `member.left`.
        space_id:
          type: string
          description: >-
            Your space ID. Present on Calling events and most Call Fabric
            events; absent on `call.joined`, `call.left`, `member.joined`, and
            `member.left`.
        params:
          $ref: '#/components/schemas/Calling.TranscribeConversationLogEventData'
          description: The event-specific payload.
      required:
        - event_type
        - event_channel
        - timestamp
        - params
      description: The event envelope.
      title: >-
        ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventParams
    calling.live_transcribe_transcribeConversationLogEvent:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventJsonrpc
          description: JSON-RPC version. Always `2.0`.
        id:
          type: string
          description: >-
            Event id — a unique UUID generated for each event. Events are
            notifications: you do not reply to them.
        method:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventMethod
          description: Always `signalwire.event`.
        params:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesTranscribeConversationLogEventParams
          description: The event envelope.
      required:
        - jsonrpc
        - id
        - method
        - params
      description: >-
        The complete conversation log and metrics for a
        `calling.live_transcribe` session, emitted once the session ends.
      title: calling.live_transcribe_transcribeConversationLogEvent
    ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeResponseJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: >-
        ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeResponseJsonrpc
    Calling.LiveTranscribeResult:
      type: object
      properties:
        code:
          type: string
          description: >-
            Result code as a string. `"200"` means success. Failures use an
            HTTP-style code

            such as `"400"` (bad request), `"403"`, `"404"` (call not found),
            `"405"`, `"409"`

            (conflict, for example another operation is still running), `"410"`
            (call gone),

            or `"500"`. If the call could not be reached in time, `code` is a
            lowercase error

            identifier instead, such as `response_timeout`, `not_available`, or

            `internal_error`.
        message:
          type: string
          description: >-
            Human-readable description of the result. On failure, it explains
            what went wrong. Always check `code`; `message` may be omitted when
            there is nothing extra to report.
        call_id:
          type: string
          description: The call this result is for, echoed from your request.
      required:
        - code
      description: >-
        Acknowledgement that the action was accepted. `message` is the raw
        status line

        (`"+OK\n"`). If the action is invalid, `code` is `"400"` and `message`
        carries

        the error text.
      title: Calling.LiveTranscribeResult
    JsonRpcErrorCode0:
      type: string
      enum:
        - '-32000'
      title: JsonRpcErrorCode0
    JsonRpcErrorCode1:
      type: string
      enum:
        - '-32001'
      title: JsonRpcErrorCode1
    JsonRpcErrorCode2:
      type: string
      enum:
        - '-32002'
      title: JsonRpcErrorCode2
    JsonRpcErrorCode3:
      type: string
      enum:
        - '-32003'
      title: JsonRpcErrorCode3
    JsonRpcErrorCode4:
      type: string
      enum:
        - '-32004'
      title: JsonRpcErrorCode4
    JsonRpcErrorCode5:
      type: string
      enum:
        - '-32005'
      title: JsonRpcErrorCode5
    JsonRpcErrorCode6:
      type: string
      enum:
        - '-32600'
      title: JsonRpcErrorCode6
    JsonRpcErrorCode7:
      type: string
      enum:
        - '-32601'
      title: JsonRpcErrorCode7
    JsonRpcErrorCode8:
      type: string
      enum:
        - '-32602'
      title: JsonRpcErrorCode8
    JsonRpcErrorCode9:
      type: string
      enum:
        - '-32603'
      title: JsonRpcErrorCode9
    JsonRpcErrorCode10:
      type: string
      enum:
        - '-32700'
      title: JsonRpcErrorCode10
    JsonRpcErrorCode:
      oneOf:
        - $ref: '#/components/schemas/JsonRpcErrorCode0'
        - $ref: '#/components/schemas/JsonRpcErrorCode1'
        - $ref: '#/components/schemas/JsonRpcErrorCode2'
        - $ref: '#/components/schemas/JsonRpcErrorCode3'
        - $ref: '#/components/schemas/JsonRpcErrorCode4'
        - $ref: '#/components/schemas/JsonRpcErrorCode5'
        - $ref: '#/components/schemas/JsonRpcErrorCode6'
        - $ref: '#/components/schemas/JsonRpcErrorCode7'
        - $ref: '#/components/schemas/JsonRpcErrorCode8'
        - $ref: '#/components/schemas/JsonRpcErrorCode9'
        - $ref: '#/components/schemas/JsonRpcErrorCode10'
      title: JsonRpcErrorCode
    JsonRpcError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/JsonRpcErrorCode'
          description: >-
            The error code — a negative integer identifying the failure. See
            `JsonRpcErrorCode` for the full list of values and meanings.
        message:
          type: string
          description: A human-readable description of what went wrong.
        original_request:
          type: object
          additionalProperties:
            description: Any type
          description: >-
            An echo of the request that failed — the full JSON-RPC frame you
            sent

            (`jsonrpc`, `id`, `method`, `params`). Always present.
        requester_nodeid:
          type: string
          description: >-
            The node that sent the failed request. Present only on some routing
            errors.
        requester_identity:
          type: string
          description: >-
            The identity of the requester. Present only on some routing errors;
            same value as `requester_nodeid`.
        responder_nodeid:
          type: string
          description: >-
            The node that was handling the request. Present only on some routing
            errors.
        responder_identity:
          type: string
          description: >-
            The identity of the responder. Present only on some routing errors;
            same value as `responder_nodeid`.
        last_hop_timeout:
          type: boolean
          description: >-
            `true` when the request timed out on its final hop inside
            SignalWire. Present only on some timeout errors.
      required:
        - code
        - message
        - original_request
      description: >-
        A JSON-RPC 2.0 error object, delivered on the `error` field of a
        `JsonRpcResponse` when

        a request fails at the protocol level (bad version, authentication,
        scope, params, or

        your project's connection limit). It replaces `result` — a frame carries
        one or the other, never both.
      title: JsonRpcError
    calling.live_transcribe_callingLiveTranscribeResponse:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeResponseJsonrpc
          description: JSON-RPC version. Always `2.0`.
        id:
          type: string
          description: The id of the request this responds to.
        result:
          $ref: '#/components/schemas/Calling.LiveTranscribeResult'
          description: The method result. Present when the request succeeded.
        error:
          $ref: '#/components/schemas/JsonRpcError'
          description: >-
            Present instead of `result` when the request failed at the protocol
            level.
      required:
        - jsonrpc
        - id
      description: >-
        A JSON-RPC response frame correlated to a request by `id`. On success
        the frame carries

        `result` (the method result). If the request fails at the protocol level
        — an

        incompatible version, failed authentication, insufficient scope, invalid
        params, or your

        project's connection limit — the frame carries `error` instead of
        `result`. Many

        method-level failures (for example most Calling failures) are reported
        the other way: a

        normal `result` whose own `code` is not `"200"`. Each method documents
        which form its

        failures take.


        An `error` returned for `signalwire.connect` is followed by the service
        closing the

        WebSocket; open a new connection to try again. The same happens when

        `signalwire.reauthenticate` sends credentials that are rejected, except
        for a

        Subscriber Access Token. Errors on any other request leave the
        connection open.
      title: calling.live_transcribe_callingLiveTranscribeResponse
    ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeRequestJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeRequestJsonrpc
    ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeRequestMethod:
      type: string
      enum:
        - calling.live_transcribe
      description: The name of the JSON-RPC method being invoked.
      title: ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeRequestMethod
    Calling.TranscribeDirection:
      type: string
      enum:
        - local-caller
        - remote-caller
      title: Calling.TranscribeDirection
    Calling.LiveSpeechEngine:
      type: string
      enum:
        - deepgram
        - google
      title: Calling.LiveSpeechEngine
    Calling.LiveTranscribeStart:
      type: object
      properties:
        lang:
          type: string
          description: The language to transcribe, e.g. `en-US`.
        direction:
          type: array
          items:
            $ref: '#/components/schemas/Calling.TranscribeDirection'
          description: Which side(s) of the call to transcribe.
        webhook:
          type: string
          format: uri
          description: >-
            An `http` or `https` URL that receives the transcription results as
            they are produced. When unset, results are delivered over the Relay
            connection.
        ai_summary:
          type: boolean
          description: >-
            Generate an AI summary of the conversation. The summary is delivered
            when the call ends.
        ai_summary_prompt:
          type: string
          description: >-
            Instructions telling the AI how to summarize, used when `ai_summary`
            is enabled.
        live_events:
          type: boolean
          description: >-
            Deliver transcription results live as the conversation happens,
            rather than only at the end.
        speech_timeout:
          type: integer
          minimum: 0
          default: 60000
          description: Speech-recognition timeout in milliseconds. Default `60000`.
        vad_silence_ms:
          type: integer
          minimum: 0
          description: >-
            Voice-activity-detection silence time in milliseconds. The default
            is

            engine-dependent (Deepgram vs Google) and is not fixed by this
            method.
        vad_thresh:
          type: integer
          minimum: 0
          maximum: 1800
          default: 400
          description: >-
            Voice-activity-detection energy threshold (0–1800; default `400`).
            It sets the audio-energy floor for detecting speech: higher values
            are less sensitive (they require louder input); lower values are
            more sensitive.
        speech_engine:
          $ref: '#/components/schemas/Calling.LiveSpeechEngine'
          default: deepgram
          description: Speech engine to use. Default `deepgram`.
        hints:
          type: array
          items:
            type: string
          description: >-
            Words or phrases to bias speech recognition toward, improving
            accuracy for names, jargon, or uncommon terms.
        verbose_utterances:
          type: boolean
          description: >-
            Emit verbose, word-level utterance detail in the transcription
            results rather than only finalized segments.
      required:
        - lang
        - direction
      description: >-
        Settings for starting live transcription. `lang` and `direction` are
        required.
      title: Calling.LiveTranscribeStart
    Calling.LiveActionStop:
      type: object
      properties: {}
      description: A stop action takes no fields — pass an empty object.
      title: Calling.LiveActionStop
    Calling.LiveSummarize:
      type: object
      properties:
        webhook:
          type: string
          format: uri
          description: An `http` or `https` URL to receive the summary.
        prompt:
          type: string
          description: Instructions telling the AI how to summarize the conversation.
      description: >-
        Settings for generating a summary of the live transcription or
        translation so far.
      title: Calling.LiveSummarize
    Calling.LiveTranscribeAction:
      type: object
      properties:
        start:
          $ref: '#/components/schemas/Calling.LiveTranscribeStart'
          description: Start live transcription.
        stop:
          $ref: '#/components/schemas/Calling.LiveActionStop'
          description: Stop live transcription.
        summarize:
          $ref: '#/components/schemas/Calling.LiveSummarize'
          description: Summarize the live transcription so far.
      description: >-
        The live-transcribe action to perform. Set exactly one of `start`,
        `stop`, or

        `summarize`.
      title: Calling.LiveTranscribeAction
    CallingLiveTranscribeParamsAction1:
      type: string
      enum:
        - stop
      title: CallingLiveTranscribeParamsAction1
    CallingLiveTranscribeParamsAction2:
      type: string
      enum:
        - summarize
      title: CallingLiveTranscribeParamsAction2
    CallingLiveTranscribeParamsAction:
      oneOf:
        - $ref: '#/components/schemas/Calling.LiveTranscribeAction'
        - $ref: '#/components/schemas/CallingLiveTranscribeParamsAction1'
        - $ref: '#/components/schemas/CallingLiveTranscribeParamsAction2'
      description: >-
        The action to perform. Pass the object form and set exactly one of
        `start`,

        `stop`, or `summarize`. As a shorthand you may instead pass the bare
        string

        `"stop"` or `"summarize"` (the object form is required to `start`).
      title: CallingLiveTranscribeParamsAction
    Calling.LiveTranscribeParams:
      type: object
      properties:
        node_id:
          type: string
          description: >-
            Opaque identifier that, paired with `call_id`, addresses this call.
            Echo back the value you received; treat it as opaque.
        call_id:
          type: string
          description: Unique identifier of the call.
        action:
          $ref: '#/components/schemas/CallingLiveTranscribeParamsAction'
          description: >-
            The action to perform. Pass the object form and set exactly one of
            `start`,

            `stop`, or `summarize`. As a shorthand you may instead pass the bare
            string

            `"stop"` or `"summarize"` (the object form is required to `start`).
      required:
        - node_id
        - call_id
        - action
      title: Calling.LiveTranscribeParams
    calling.live_transcribe_callingLiveTranscribeRequest:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeRequestJsonrpc
          description: JSON-RPC version. Always `2.0`.
        id:
          type: string
          description: Request id, echoed on the correlated response.
        method:
          $ref: >-
            #/components/schemas/ChannelsCallingLiveTranscribeMessagesCallingLiveTranscribeRequestMethod
          description: The name of the JSON-RPC method being invoked.
        params:
          $ref: '#/components/schemas/Calling.LiveTranscribeParams'
          description: The method's input parameters.
      required:
        - jsonrpc
        - id
        - method
        - params
      description: >-
        A JSON-RPC request frame. `Method` is the method name; `Params` is the
        method's input.
      title: calling.live_transcribe_callingLiveTranscribeRequest

```