Get an asynchronous transcription
GET/transcribe-async/:id
Poll the status —and results if successful— of an asynchronous transcription.
Request
Path Parameters
The id of the asynchronous request.
Responses
- 200
The asynchronous transcription details.
- application/json
- Schema
- Example (from schema)
Schema
- async_request_ongoing
- async_request_failed
- async_transcription_succeeded
- Array [
- ]
The id of the asynchronous request.
Possible values: <= 128 characters
An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.
Note: this id must be different for every request. It is recommended to use a randomly generated UUID.
Possible values: [ONGOING
, FAILED
, SUCCEEDED
]
The id of the asynchronous request.
Possible values: <= 128 characters
An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.
Note: this id must be different for every request. It is recommended to use a randomly generated UUID.
Possible values: [ONGOING
, FAILED
, SUCCEEDED
]
payload objectrequired
The id of the asynchronous request.
Possible values: <= 128 characters
An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.
Note: this id must be different for every request. It is recommended to use a randomly generated UUID.
Possible values: [ONGOING
, FAILED
, SUCCEEDED
]
payload object
The generated transcript.
transcript object[]required
Transcript items from the audio file.
The transcribed text.
Possible values: [DOCTOR
, PATIENT
, UNSPECIFIED
]
Who said the text in this transcript item.
Start time of this transcription item as the offset, in milliseconds, from the start of the audio file.
End time of this transcription item as the offset, in milliseconds, from the start of the audio file. Equals the start_time_ms
plus the duration of the related transcribed audio portion.
{}