sarvamai-go SDK Documentation
Speech Translate Job

GetStatus

`SpeechToTextTranslateJob.GetStatus` fetches current job state.

Signature

func (c *TranslateJobClient) GetStatus(ctx context.Context, jobID string) (*JobStatusResponse, error)

Validation rules

  • jobID must be non-empty

Response highlights

FieldType
JobIDstring
JobStatespeech.JobState
TotalFiles*int
SuccessfulFilesCount*int
FailedFilesCount*int
ErrorMessage*string
JobDetails[]speech.JobDetail

Polling

SDK does not apply interval throttling. Add your own sleep/backoff between calls.

On this page