Skip to content

end_recording message

No more audio is accepted (receive_lifecycle_events).

Delivery

On the WebSocket with messages_config.receive_lifecycle_events; to your callback as live.end_recording with callback_config.receive_lifecycle_events.

Fields

  • session_id string required

    Identifier of the session.

  • created_at string required

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

  • type "end_recording" required
  • data object required
    1 fields
    • recording_duration number required

      Audio received, in seconds.

Example

{
"session_id": "string",
"created_at": "string",
"type": "end_recording",
"data": {
"recording_duration": 0.5
}
}