sarvamai-go SDK Documentation
Document Intelligence

GetDownloadLinks

`DocumentIntelligence.GetDownloadLinks` returns presigned output URLs.

Signature

func (c *DocIntelClient) GetDownloadLinks(ctx context.Context, jobID string) (*DocIntelGetDownloadLinksResponse, error)

Validation rules

  • jobID must be non-empty

Response highlights

FieldType
JobIDstring
JobStateJobState
StorageContainerTypeContainerType
DownloadURLsmap[string]FileSignedURLDetails
ErrorCode*string
ErrorMessage*string
  1. ensure processing is complete (or partially complete) via GetStatus
  2. call GetDownloadLinks
  3. fetch output files from returned presigned URLs

On this page