---
title: "Get all storage gateways"
method: GET
path: "/v1/storage_gateways/"
---

# Get all storage gateways

`GET /v1/storage_gateways/`

## Request

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

## Query parameters

- `cluster_id` string
- `page` integer
- `per_page` integer
- `query` string
- `sort` string

## Headers

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

## Response `200`

Returns a list of storage gateways

- IconikStorageGatewaysSchema
  - `first_url` string
  - `last_url` string
  - `next_url` string
  - `objects` IconikStorageGatewayReadSchema[]
    - `cluster_id` string, uuid
    - `cluster_storage_ids` string[]: Cluster storage IDs
    - `date_created` string, date-time
    - `date_modified` string, date-time
    - `dedicated_storage_ids` string[]: Dedicated storage IDs
    - `description` string
    - `enabled` boolean, required: Application toggle. If turned off ISG will enter idle state waiting to get enabled again.
    - `id` string, uuid
    - `merged_settings` ISGConfigClusterSettingsSchema
      - `checksum_max_workers` integer
      - `file_download_parallel_downloads_num` integer
      - `file_upload_parallel_uploads_num` integer
      - `ingest_concurrency_value` integer
      - `max_transcoding_jobs` integer
      - `scanner_concurrency_value` integer
    - `name` string, required
    - `public_identity` string
    - `roles` string[]: Set of roles this gateway can perform when part of cluster
    - `settings` union: Application configuration settings as key-value pairs
      - ISGConfigSettingsSchema
        - `checksum_max_workers` integer
        - `file_download_parallel_downloads_num` integer
        - `file_upload_parallel_uploads_num` integer
        - `ingest_concurrency_value` integer
        - `max_transcoding_jobs` integer
        - `scanner_concurrency_value` integer
      - object, nullable
    - `status` 'OFFLINE' | 'ACTIVE' | 'WARNING' | 'ERROR' | 'STOPPED'
    - `storage_addr` string: Server address for direct transfers between storage gateways
    - `storages` object: Storage mount points mapped by storage ID
    - `telemetry` IconikStorageGatewayTelemetry
      - `error_log_lines` string[]
      - `host_info` string
      - `host_ip` string
      - `host_name` string
      - `is_leader` boolean
      - `log_lines` string[]
      - `start_last_date` string, date-time
      - `start_status` 'SUCCESS' | 'FAILED'
      - `start_status_message` string
      - `status` 'OFFLINE' | 'LIVE' | 'UNKNOWN' | 'WARNING' | 'ERROR' | 'STOPPED'
      - `storage_gateway_id` string, uuid
      - `version` string
      - `worker_id` string, uuid, required
  - `page` integer
  - `pages` integer
  - `per_page` integer
  - `prev_url` string
  - `scroll_id` string
  - `total` integer

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `403`: Forbidden - requires admin, or ISG PRO is not enabled
- `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)
