REST: response.output_audio_transcript.done

HTTP request

POST https://ai.api.cloud.yandex.net/v1/realtime/server-events/response.output_audio_transcript.done
        

Body parameters

Request schema: application/json

{
          "type": "string",
          "event_id": "string",
          "response_id": "string",
          "output_index": "integer",
          "item_id": "string",
          "content_index": "integer",
          "transcript": "string"
        }
        

Returned when the model-generated transcription of audio output is done streaming. Also emitted when a response is interrupted, incomplete, or cancelled.

Field

Description

type

enum

Required field. The event type, must be response.output_audio_transcript.done.

  • response.output_audio_transcript.done

event_id

string

Required field. The unique ID of the server event.

response_id

string

Required field. The ID of the response.

output_index

integer

Required field. The index of the output item in the response.

item_id

string

Required field. The ID of the item.

content_index

integer

Required field. The index of the content part in the item's content array.

transcript

string

Required field. The final transcript of the audio.

Response

HTTP Code: 200

OK