Skip to navigation

Batch - Get Status

View as Markdown

Retrieve the current status and details of a speech to text bulk job, including progress and file-level information.

Rate Limiting Best Practice: To prevent rate limit errors and ensure optimal server performance, we recommend implementing a minimum 5-millisecond delay between consecutive status polling requests. This helps maintain system stability while still providing timely status updates.

Authentication

api-subscription-keystring
API Key authentication via header

Path parameters

job_idstringRequired
The unique identifier of the job

Headers

api-subscription-keystringOptionalDefaults to

Your unique subscription key for authenticating requests to the Sarvam AI Speech-to-Text API. Here are the steps to get your api key

Response

Successful Response
job_stateenum
Job State
Allowed values:
created_atstring
Created At
updated_atstring
Updated At
job_idstring
Job Id
storage_container_typeenum
Storage Container Type
Allowed values:
total_filesintegerOptionalDefaults to 0
Total Files
successful_files_countintegerOptionalDefaults to 0
Success Count
failed_files_countintegerOptionalDefaults to 0
Failed Count
error_messagestringOptionalDefaults to
Error Message
job_detailslist of objectsOptional
Job details at file level.

Errors

400
Bad Request Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error