---
title: "Get storage's exported files"
method: GET
path: "/v1/storages/{storage_id}/temporary_files/"
---

# Get storage's exported files

`GET /v1/storages/{storage_id}/temporary_files/`

## Request

- Base URL: `https://app.iconik.io/API/files`
- URL: `https://app.iconik.io/API/files/v1/storages/{storage_id}/temporary_files/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-files/docs/v1/storages/:storage_id/temporary_files/get.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_read_storages

## Path parameters

- `storage_id` string, required

## Query parameters

- `per_page` integer
- `last_id` string

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `200`

Returns exported files

- FilesSchema
  - `first_url` string
  - `last_url` string
  - `next_url` string
  - `objects` FileSchema[]
    - `asset_id` string, uuid
    - `checksum` string, nullable
    - `date_created` string, date-time
    - `date_modified` string, date-time
    - `directory_path` string, required
    - `file_date_created` string, date-time
    - `file_date_modified` string, date-time
    - `file_set_id` string, uuid, required
    - `file_set_status` string, nullable
    - `format_id` string, uuid
    - `format_status` string, nullable
    - `id` string, uuid
    - `multipart_upload_url` string
    - `name` string: If not specified, name will be autogenerated based on `id` and `original_name`
    - `original_name` string, required
    - `parent_id` string, uuid, nullable
    - `size` integer
    - `status` 'OPEN' | 'GROWING' | 'AWAITED' | 'CLOSED' | 'FAILED' | 'ARCHIVED' | 'MISSING' | 'REDISCOVERED' | 'DELETED'
    - `storage_id` string, uuid
    - `storage_method` string
    - `system_domain_id` string, uuid
    - `template` string
    - `template_engine` 'SIMPLE' | 'JINJA2' | 'null', nullable
    - `type` 'FILE' | 'DIRECTORY' | 'SYMLINK' | 'SEQUENCE', required
    - `upload_credentials` object
    - `upload_filename` string
    - `upload_headers` object
    - `upload_method` string
    - `upload_url` string: On a file creation for Backblaze B2 storage in case when request to Backblaze failed, upload_url field will be empty. You can try getting upload_url again by requesting created file with `generate_signed_post_url` set to true.
    - `url` string
    - `user_id` string, uuid, nullable
    - `version_id` string, uuid
  - `page` integer
  - `pages` integer
  - `per_page` integer
  - `prev_url` string
  - `scroll_id` string
  - `total` integer

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `404`: Requested page does not exist
- `default`: Error response

---

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