Check on the status of request which has been successfully submitted, using the request_id
received on submission of that request.
If results are available, the body of the response will contain a CSV text document in the format described below.
Otherwise, HTTP status code 204 is returned with an empty response. Use the x-status
header in the response to determine the request status.
Response body
If the request status is “Ready” or “Completed”, the body of the response will contain the language id results. Language id results are formatted as a semicolon delimited text file where each line indicates the speech segment start and end time along with the inferred language code and confidence.
id;start_time;end_time;language;confidence
where:
id
- internal process id
start_time
- The start time, in seconds, of the audio segment
end_time
- The end time, in seconds, of the audio segment
language
- ISO 639-1 two-letter language code. E.g. “en” for English.
confidence
- A floating-point confidence value from 0.0 to 1.0, for the identified language.
Response headers
x-status
- One of the following indicating the current status of the request:
Status | Description |
---|---|
“Received” | The request has been received but processing hasn’t started |
“Queued” | One or more sub-components of the request have been queued for processing |
“Pending” | All the components of the request have been queued for processing |
“Ready” | All components of the request are finished processing but the user callback to the user has not occurred. |
“Completed” | The request has finished processing and the user callback, if provided has been called. |
“Failed” | An error occurred processing the request. |
-
x-error
- If the request failed, this would contain an error message.x-progress
- Percentage (0-100) of the input that has completed processing.x-userdata
- This will contain the user data supplied with the original request.