Checking Job Status
This section describes how to check the status of a transcription job using the jobId
provided by the asynchronous API. You can query the job status with an HTTP GET request to determine whether the processing is complete or still in progress.
Request
URL: https://api.gowajee.ai/v1/speech-to-text/job/status?id=${JOB_ID}
Replace
JOB_ID
with the job ID you received in the initial asynchronous API response.
Method: GET
Request
Headers
Name
Type
Required
Description
x-api-key
string
Yes
An API key to access the service
Query String
Name
Type
Required
Description
Response
In Queue Status:
{
"status": "IN_QUEUE",
"jobId": "baf1c6a1-a8ad-4123-91ef-2379443f42d2",
"webhookId": "9ed5f94e-7e30-447e-bb84-5ef194222396"
}
Transcribing Status:
{
"status": "IN_PROGRESS",
"jobId": "baf1c6a1-a8ad-4123-91ef-2379443f42d2",
"webhookId": "9ed5f94e-7e30-447e-bb84-5ef194222396"
}
Completed Status:
{
"status": "COMPLETED",
"jobId": "baf1c6a1-a8ad-4123-91ef-2379443f42d2",
"output": {
"results": [
{
"transcript": "มีคำถามเพิ่มเติมเกี่ยวกับความเสี่ยงในการลงทุนในกองทุนรวมนี้หรือไม่คะ",
"startTime": 0.0,
"endTime": 4.517
}
],
"duration": 4.517,
"version": "2.2.0"
}
}
Failed Status:
{
"status": "FAILED",
"jobId": "baf1c6a1-a8ad-4123-91ef-2379443f42d2",
"webhookId": "9ed5f94e-7e30-447e-bb84-5ef194222396"
}
Unknown Status:
{
"status": "UNKNOWN",
"jobId": "28d6e282-ed5a-4cc7-a4e0-5cf0e36fe5c8"
}
Last updated