> 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.

# ai.partial_result

GET /

Receive ai.partial_result events

Reference: https://signalwire.com/docs/apis/relay/client/fabric/ai-partial-result

## AsyncAPI Specification

```yaml
asyncapi: 2.6.0
info:
  title: ai.partial_result
  version: subpackage_aiPartialResult.ai.partial_result
  description: Receive ai.partial_result events
channels:
  /:
    description: Receive ai.partial_result events
    publish:
      operationId: subpackage_aiPartialResult.ai.partial_result-publish
      summary: ai.partial_result
      message:
        name: onAiPartialResultFabricAiPartialResultEvent
        title: ai.partial_result
        payload:
          $ref: '#/components/schemas/ai.partial_result_fabricAiPartialResultEvent'
servers:
  production:
    url: wss://relay.signalwire.com/
    protocol: wss
    x-default: true
components:
  schemas:
    ChannelsAiPartialResultMessagesFabricAiPartialResultEventJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: ChannelsAiPartialResultMessagesFabricAiPartialResultEventJsonrpc
    ChannelsAiPartialResultMessagesFabricAiPartialResultEventMethod:
      type: string
      enum:
        - signalwire.event
      description: Always `signalwire.event`.
      title: ChannelsAiPartialResultMessagesFabricAiPartialResultEventMethod
    ChannelsAiPartialResultMessagesFabricAiPartialResultEventParamsEventType:
      type: string
      enum:
        - ai.partial_result
      description: The event type — identifies which event this is.
      title: ChannelsAiPartialResultMessagesFabricAiPartialResultEventParamsEventType
    Fabric.FabricAiPartialResultParams:
      type: object
      properties:
        call_id:
          type: string
          description: >-
            Unique identifier of the call this event is about. Always present on
            Fabric events.
        node_id:
          type: string
          description: The node the call leg lives on.
        room_session_id:
          type: string
          description: >-
            The room session this call leg belongs to. In a 1:1 call this equals
            the `call_id`.
        segment_id:
          type: string
          description: >-
            Identifier of the call segment this event belongs to, for
            correlating events within the same segment.
        tag:
          type: string
          description: >-
            The `tag` the leg was dialed with, when a server-side application
            set one on the dial. Absent otherwise.
        text:
          type: string
          description: >-
            The caller's interim (partial) speech-recognition transcript. Absent
            when you use `calling.amazon_bedrock`, where this event fires with
            an empty body.
        barged:
          type: boolean
          description: >-
            Present and `true` only when this partial transcript triggered a
            barge-in of the assistant's speech.
      required:
        - call_id
        - node_id
        - room_session_id
      title: Fabric.FabricAiPartialResultParams
    ChannelsAiPartialResultMessagesFabricAiPartialResultEventParams:
      type: object
      properties:
        event_type:
          $ref: >-
            #/components/schemas/ChannelsAiPartialResultMessagesFabricAiPartialResultEventParamsEventType
          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/Fabric.FabricAiPartialResultParams'
          description: The event-specific payload.
      required:
        - event_type
        - event_channel
        - timestamp
        - params
      description: The event envelope.
      title: ChannelsAiPartialResultMessagesFabricAiPartialResultEventParams
    ai.partial_result_fabricAiPartialResultEvent:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsAiPartialResultMessagesFabricAiPartialResultEventJsonrpc
          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/ChannelsAiPartialResultMessagesFabricAiPartialResultEventMethod
          description: Always `signalwire.event`.
        params:
          $ref: >-
            #/components/schemas/ChannelsAiPartialResultMessagesFabricAiPartialResultEventParams
          description: The event envelope.
      required:
        - jsonrpc
        - id
        - method
        - params
      description: >-
        Fires on a Call Fabric call leg when an interim transcript of the
        caller's speech is available. Same fields as the Calling API's
        `calling.ai.partial_result` event. SWML or a server-side application
        starts the AI agent on the leg; there is no client request that starts
        it.
      title: ai.partial_result_fabricAiPartialResultEvent

```