---
title: "Get Document Intelligence Download URLs"
method: POST
path: "/doc-digitization/job/v1/{job_id}/download-files"
tags: ["documentIntelligence"]
---

# Get Document Intelligence Download URLs

`POST /doc-digitization/job/v1/{job_id}/download-files`

## Request

- Base URL: `https://api.sarvam.ai`
- URL: `https://api.sarvam.ai/doc-digitization/job/v1/{job_id}/download-files`
- Auth: none declared. Required headers: `api-subscription-key`
- TypeScript: <https://skmtc.dev/sarvam/apis/endpoints/docs/doc-digitization/job/v1/:job_id/download-files/post.ts> (a function with typed inputs; its response is checked against the schema)

Returns presigned URLs for downloading output files.

**Method:** POST only. A GET request to this path returns 405 Method Not Allowed.

**Prerequisites:**
- Job must be in `Completed` or `PartiallyCompleted` state
- Failed jobs have no output available

## Path parameters

- `job_id` string, uuid, required

## Headers

- `api-subscription-key` string, required

## Response `200`

Successful Response

- DocDigitizationDownloadFilesResponse: Response for download-files endpoint.
  - `job_id` string, uuid, required: Job identifier (UUID)
  - `job_state` 'Accepted' | 'Pending' | 'Running' | 'Completed' | 'PartiallyCompleted' | 'Failed', required: Current state of the document intelligence job
  - `storage_container_type` 'Azure' | 'Local' | 'Google' | 'Azure_V1', required
  - `download_urls` object, required: Map of filename to presigned download URL details
  - `error_code` string, nullable
  - `error_message` string, nullable

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `429`: Quota Exceeded / Rate Limited
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/sarvam/apis/endpoints.md) - [All operations](https://skmtc.dev/sarvam/apis/endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/sarvam/apis/endpoints/revisions/2b7f7955b147?raw)
