Query Speech Transcription Task Status

Use this API to query speech transcription task status and results.
GET/v1/audio/asr/tasks/{task_id}

Authorization

AuthorizationstringheaderRequired
HTTP: Bearer Auth

Path Parameters

task_id string Required

Transcription task ID.

Response Body Structure

statusenum<string>

Current task status:
  • Waiting: Task in queue
  • Processing: Task is processing
  • Success: Task completed
  • Failed: Task failed

durationinteger

Audio duration (milliseconds)

request_timelong

Creation time (millisecond timestamp)

response_timelong

Completion time (millisecond timestamp)

resultsarray

Transcription result array

results[].speakerstring

Speaker ID (string). Unmatched speakers use numeric ID strings (e.g. "1", "2"); matched registered voiceprints return the feature_id string.

results[].startinteger

Start time (milliseconds)

results[].endinteger

End time (milliseconds)

results[].indexinteger

Paragraph index

results[].textstring

Paragraph text

results[].text_lengthinteger

Paragraph text length

results[].word_infoarray

Word-level timestamp information array (w/b/e)

base_respobject

Status code and details of this request

base_resp.status_codeinteger

Status code (0=normal; 100001=parameter error; 100101=authentication failed; 100501=triggered RPM rate limit; 100999=internal system error)

base_resp.status_msgstring

Status details