Fields
| Field | Type | Required | Description |
|---|---|---|---|
File | operations.CreateAudioTranscriptionsMultipartFile | :heavy_check_mark: | The audio file to transcribe. The format is derived from the filename extension or the file part content type. Max 25 MB; send larger files as base64 JSON via input_audio. |
Language | *string | :heavy_minus_sign: | The language of the input audio (ISO-639-1). |
Model | string | :heavy_check_mark: | The model to use for transcription. |
ResponseFormat | *operations.ResponseFormat | :heavy_minus_sign: | The response format. “json” (default) returns { text, usage }; “verbose_json” additionally returns task, language, duration, and segment-level timestamps (OpenAI-compatible providers only). |
SessionID | *string | :heavy_minus_sign: | A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. |
Temperature | *float64 | :heavy_minus_sign: | The sampling temperature. |
TimestampGranularities | []operations.TimestampGranularities | :heavy_minus_sign: | Timestamp detail levels to include when response_format is “verbose_json”. “word” additionally returns word-level timestamps in the words array. |
Trace | *string | :heavy_minus_sign: | JSON-encoded trace metadata object (trace_id, trace_name, span_name, generation_name, parent_span_id and custom keys) attached to the Broadcast trace. Must decode to a JSON object. |
User | *string | :heavy_minus_sign: | A unique identifier representing your end-user. Forwarded to Broadcast and private logging as the end-user id; never sent to the provider. |