# List ISOs

`GET https://console.advinservers.com/api/v1/client/isos`

### Overview

Lists ISO images in the current team, newest first, without pagination or filters. The account can store up to `quota.allowance` bytes.

`quota.used` includes images across all teams, so it may exceed the total size of `items`. Poll this endpoint during downloads. `status` changes from `downloading` to `ready` or `failed`, and `download_progress` is a percentage.

### Permissions

Requires the `iso.read` (View ISO images) permission for the selected team. Resources outside that team return 404.

## Authorization

Send `Authorization: Bearer <token>` with the request. Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

## Response 200

The record, as a JSON object. There is no envelope.

- `items` (object[], required): Images, newest first. `mounted_servers` lists where an image must be unmounted before deletion. It is empty for callers without deletion permission.
  - `uuid` (string, required): The uuid UUID.
  - `uuid_short` (string, required): The value of `uuid_short`.
  - `name` (string, required): The name shown to customers.
  - `file_name` (string | null, required): The value of `file_name`.
  - `size` (integer | null, required): The value of `size`.
  - `is_successful` (boolean | null, required): Null until the download finishes, which is a third state and not a failure: a row created the moment a fetch is queued has never been written to. Published as null and kept that way.
  - `status` (string, required): The value of `status`. One of: `downloading`, `failed`, `ready`.
  - `is_preparing` (boolean, required): The download has finished and the image is being prepared for mounting.
  - `mounted_server_count` (integer, required): The total number of servers using this image, including servers outside the current team. The image cannot be deleted while mounted.
  - `mounted_on_this_server` (boolean, required): The value of `mounted_on_this_server`.
  - `mounted_on_other_servers_count` (integer, required): The number of mounted on other servers count.
  - `mounted_servers` (object[], required): Visible servers using this image. Empty without deletion permission. The mount count may be higher because it includes inaccessible servers.
    - `uuid` (string, required): The uuid UUID.
    - `uuid_short` (string, required): The value of `uuid_short`.
    - `name` (string, required): The name shown to customers.
    - `windows` (boolean, required): The value of `windows`.
    - `template_name` (string | null, required): The value of `template_name`.
    - `template_icon_url` (string | null, required): The custom icon a customer set, falling back to the template's. Read through the model so the places that draw a server's icon cannot disagree about which one wins.
  - `can_delete` (boolean, required): Whether the customer can delete.
  - `owned_by_server_owner` (boolean, required): False only for a member of staff's own image showing up on a customer's server. Account-level listings are all the viewer's own, so nothing there is ever flagged.
  - `completed_at` (string | null, required): A string, not a date object, and deliberately so: the column carries no `datetime` cast, so this has always gone out as MySQL wrote it ("2026-08-19 18:20:41") rather than in the ISO-8601 form `created_at` below uses. Two formats in one payload is not a design, it is what is published, and changing it would move a date under every caller that parses it.
  - `created_at` (string<date-time> | null, required): The date and time for created at, in UTC.
  - `download_progress` (integer, required): Percent, and zero rather than null while nothing has started.
  - `download_started_at` (string<date-time> | null, required): The date and time for download started at, in UTC.
- `quota` (object, required): Account ISO storage usage and whether a download can be started.
  - `used` (integer, required): Bytes already held. A download still running counts for the space reserved when it started.
  - `allowance` (integer, required): Bytes this account may keep on the shared storage, set by staff per account.
  - `has_in_progress_download` (boolean, required): Whether any download is still running. More can be started while there is space left.
  - `download_enabled` (boolean, required): False when an administrator has switched custom ISOs off or the ISO downloader service is not configured - installation-wide facts rather than anything about this customer.
  - `download_refusal` (string | null, required): Why this account may not download an ISO, such as while it is unverified. Null when it may.

```json
{
  "items": [
    {
      "uuid": "ec4fa5b5-cc7c-4fcf-b280-ee55eca8d44b",
      "uuid_short": "Uuid short",
      "name": "Ubuntu 24.04.1 Live Server",
      "file_name": "client-67d74fbd-2dc5-4f95-a946-c504a98f59fb-pASjFJotP7rB.iso",
      "size": 2774532096,
      "is_successful": true,
      "status": "ready",
      "is_preparing": false,
      "mounted_server_count": 1,
      "mounted_on_this_server": true,
      "mounted_on_other_servers_count": 0,
      "mounted_servers": [
        {
          "uuid": "ecc6f4f1-c89b-4dce-a20b-a330641c5b0b",
          "uuid_short": "Uuid short",
          "name": "lambda-core",
          "windows": false,
          "template_name": "Ubuntu 24.04",
          "template_icon_url": "/assets/icons/ubuntu.png"
        }
      ],
      "can_delete": true,
      "owned_by_server_owner": true,
      "completed_at": "2026-09-10 13:27:41",
      "created_at": "2026-09-10T13:25:01.000000Z",
      "download_progress": 100,
      "download_started_at": "2026-09-10T13:25:04.000000Z"
    }
  ],
  "quota": {
    "used": 2774532096,
    "allowance": 10737418240,
    "has_in_progress_download": false,
    "download_enabled": true,
    "download_refusal": null
  }
}
```

## Errors

- `401`: The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- `403`: Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- `429`: Too many requests. The `Retry-After` header says how many seconds to wait. Limits are per account, so several keys on one account share them.

## Example request

```bash
curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/isos' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
```
