---
title: "Get a download request by id"
method: GET
path: "/download-requests/{id}"
---

# Get a download request by id

`GET /download-requests/{id}`

## Request

- Base URL: `http://localhost:6286`
- URL: `http://localhost:6286/download-requests/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/iconik/apis/agent-api/docs/download-requests/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Response `200`

Request for a download. Contains one or more download items once resolved

- DownloadRequest: Request for a download. Contains one or more download items once resolved
  - `id` string, required
  - `title` string, required
  - `objectIdentity` union, required: Object to identify what was requested for download
    - DownloadAssetItemIdentity
      - `type` 'asset', required
      - `id` string, required
      - `formatId` string
      - `outputPath` string
    - DownloadAssetFileSetItemIdentitySchema
      - `type` 'fileSet', required
      - `id` string, required
      - `assetId` string, required
    - DownloadAssetVersionItemIdentity
      - `type` 'assetVersion', required
      - `versionId` string, required
      - `assetId` string, required
      - `formatId` string
    - DownloadAssetFileItemIdentity
      - `type` 'assetFile', required
      - `assetId` string, required
      - `id` string, required
      - `outputPath` string
    - DownloadCollectionItemIdentity
      - `type` 'collection', required
      - `id` string, required
      - `format` string, required
    - DownloadPlaylistItemIdentity
      - `type` 'playlist', required
      - `id` string, required
      - `format` string, required

---

[API](https://skmtc.dev/iconik/apis/agent-api.md) - [All operations](https://skmtc.dev/iconik/apis/agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/agent-api/revisions/cd5eb7819e60?raw)
