Speech to Text

Get transcription

Retrieve any transcription in your project by id, from files, batch jobs and live sessions.

GET/v1/stt/transcriptions/{id}

Returns a stored transcription in the same shape as POST /v1/stt. Works for every transcription in the key's project: POST /v1/stt responses, batch job items (transcription_id) and live sessions (transcription_id in the final message). Read-only keys can call it.

from wistfareai import WistfareAI

client = WistfareAI()  # reads WISTFARE_API_KEY

transcript = client.speech_to_text.transcriptions.get("tr_7c31be92a1f04d2e8b9c")
print(transcript.text)

Path parameters

ParameterTypeDescription
idstringThe transcription id, tr_….

Response

200 OK with a transcription object: id, text, language, model, audio_seconds, cost_cents, segments, words, source_name and created_at. See Create transcript for every field. Live sessions have source_name "Live session"; job items have the uploaded file name.

Errors

StatusCodeMeaning
401unauthorizedMissing, invalid or revoked API key.
404not_foundNo transcription with this id in the key's project.

On this page