Skip to content

audio_chunk message

Audio transcribed: a client may drop it from its resend buffer (receive_acknowledgments).

Delivery

On the WebSocket with messages_config.receive_acknowledgments; to your callback as live.audio_chunk with callback_config.receive_acknowledgments.

Fields

  • session_id string required

    Identifier of the session.

  • created_at string required

    When the message was sent (ISO 8601, UTC).

  • type "audio_chunk" required
  • acknowledged boolean required
  • error any

    default: null

  • data object required
    2 fields
    • byte_range array of integer required

      First and last byte (excluded) of the acknowledged audio, from the start of the session.

      at least 2 item(s)

    • time_range array of integer required

      The same range in milliseconds.

      at least 2 item(s)

Example

{
"session_id": "string",
"created_at": "string",
"type": "audio_chunk",
"acknowledged": false,
"error": null,
"data": {
"byte_range": [
0
],
"time_range": [
0
]
}
}