Skip to content

stop_recording message

The answer to stop_recording (receive_acknowledgments).

Delivery

On the WebSocket with messages_config.receive_acknowledgments; to your callback as live.stop_recording 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 "stop_recording" required
  • acknowledged boolean required
  • error any

    default: null

  • data object required
    2 fields
    • recording_duration number required

      Audio received, in seconds.

    • recording_left_to_process number required

      Audio, in seconds, still being transcribed.

Example

{
"session_id": "string",
"created_at": "string",
"type": "stop_recording",
"acknowledged": false,
"error": null,
"data": {
"recording_duration": 0.5,
"recording_left_to_process": 0.5
}
}