---
title: "Get all downloads"
method: GET
path: "/downloads"
---

# Get all downloads

`GET /downloads`

## Request

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

## Response `200`

List of download items

- DownloadItems: List of download items
  - `objects` DownloadItem[], required
    - `id` string, required
    - `requestItemId` string, required
    - `files` DownloadFileItem[], required: List of files being downloaded as part of this item. An asset or file set can have multiple files associated with it.
      - `fileId` string, required
      - `fileName` string, required
      - `fullPath` string, required
      - `downloaded` number, required
      - `size` number
    - `status` union, required: The different statuses a download item can be in
      - object
        - `type` 'enqueued', required
      - object
        - `type` 'resolving', required
      - object
        - `type` 'active', required
      - object
        - `type` 'paused', required
      - object
        - `type` 'completed', required
      - object
        - `type` 'failed', required
        - `code` string, required
        - `message` string, required
    - `objectIdentity` union, required: Object to identify what to 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

---

[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)
