Speech to Text

Get job

Retrieve a batch transcription job with the status, transcript id and cost of every file.

GET/v1/stt/jobs/{id}

Returns the current state of a job. Poll it until status is completed, partial, failed or canceled (the SDKs' jobs.wait does this and raises WaitTimeoutError on timeout), or use a webhook instead. Read-only keys can call it.

from wistfareai import WistfareAI

client = WistfareAI()  # reads WISTFARE_API_KEY

job = client.speech_to_text.jobs.get("sttjob_k3n8q2x7d1v9m4b6c0zt")
print(job.status, job.totals.succeeded, "of", job.totals.items)

# Or poll until the job finishes (seconds):
job = client.speech_to_text.jobs.wait("sttjob_k3n8q2x7d1v9m4b6c0zt", poll_interval=5, timeout=3600)

Path parameters

ParameterTypeDescription
idstringThe job id, sttjob_….

The job object

200 OK. This job finished with two transcripts and one failure:

{
  "id": "sttjob_k3n8q2x7d1v9m4b6c0zt",
  "status": "partial",
  "options": {
    "model": "wistfare-stt-v3-beta",
    "language": "auto",
    "timestamps": true,
    "diarize": false,
    "boost": ["MTN MoMo", "Irembo"],
    "enhanced": true,
    "punctuation": true
  },
  "webhook_url": "https://example.com/hooks/wistfare",
  "created_at": "2026-10-11T09:40:00Z",
  "completed_at": "2026-10-11T09:46:31Z",
  "items": [
    { "id": "sttitem_p4w9c2m7x1k8d3q6v0bn", "name": "0915.mp3", "status": "succeeded", "audio_seconds": 312.48, "transcription_id": "tr_h2k7m4q9x1c6v3b8n5dz", "cost_cents": 4, "error": null },
    { "id": "sttitem_b7t2r9k4m1x6c8d3w5qz", "name": "0932.mp3", "status": "succeeded", "audio_seconds": 845.2, "transcription_id": "tr_r8c3x6m1q9k4v7b2n5wt", "cost_cents": 9, "error": null },
    {
      "id": "sttitem_z5n1q8c3v7m2k9x4d6pt",
      "name": "1004.mp3",
      "status": "failed",
      "audio_seconds": 1210.7,
      "transcription_id": null,
      "cost_cents": null,
      "error": { "code": "transcription_timeout", "message": "Transcription took too long. No credits were charged. Try a shorter recording." }
    }
  ],
  "totals": { "items": 3, "queued": 0, "running": 0, "succeeded": 2, "failed": 1, "canceled": 0, "audio_seconds": 1157.68, "cost_cents": 13 }
}
FieldTypeDescription
idstringJob id, sttjob_….
statusstringqueued, running, completed (all files succeeded), partial (some failed), failed (none succeeded) or canceled.
optionsobjectThe options every file is transcribed with: model, language, timestamps, diarize, boost, enhanced, punctuation.
webhook_urlstring | nullWhere the completion webhook goes.
created_atstringISO-8601 UTC.
completed_atstring | nullWhen the job reached a final status.
items[]arrayOne entry per file, in upload order.
items[].idstringItem id, sttitem_….
items[].namestringThe uploaded file name.
items[].statusstringqueued, running, succeeded, failed or canceled.
items[].audio_secondsnumberThe file's duration.
items[].transcription_idstring | nullSet when succeeded. Fetch the transcript with GET /v1/stt/transcriptions/{id}.
items[].cost_centsinteger | nullWhat the file cost, when succeeded.
items[].errorobject | null{code, message} when failed, e.g. transcription_failed, transcription_timeout, transcription_unavailable or insufficient_credits. Failed files are never charged.
totalsobjectitems and per-status counts (queued, running, succeeded, failed, canceled), plus audio_seconds and cost_cents of the succeeded files.

Errors

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

On this page