Speech Translate Job
GetDownloadLinks
`SpeechToTextTranslateJob.GetDownloadLinks` returns presigned output URLs.
Signature
func (c *TranslateJobClient) GetDownloadLinks(ctx context.Context, jobID string, files []string, opts ...getDownloadLinksOption) (*GetDownloadLinksResponse, error)Options
WithGetDownloadLinksPtuId(int)
Validation rules
jobIDmust be non-emptyfilesmust contain at least one element
Endpoint behavior
- without PTU:
POST /speech-to-text-translate/job/v1/download-files - with PTU:
POST /speech-to-text-translate/job/v1/download-files?ptu_id=<id>
Recommended sequence
- ensure status is terminal via
GetStatus - collect file names/IDs required
- call
GetDownloadLinks