# List ISOs available to a server

`GET https://console.advinservers.com/api/v1/client/servers/{server}/isos`

### Overview

Lists installation images available to this server, with mount status and the owner's storage allowance. `mounted_on_this_server` and `mounted_on_other_servers_count` describe current use. `owned_by_server_owner` identifies images owned by the server's account. Use `/api/v1/client/isos` to download or delete images.

### Permissions

Requires the `server.reinstall` (Reinstall servers) 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.

## Path parameters

- `server` (string, required): The server uuid short

## Response 200

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

- `items` (object[], required): The images that may go in this server's drive, newest first, each carrying this server's mount state.
  - `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): The image allowance of whoever owns this server, which is not necessarily the caller's own.
  - `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.
- `mounted` (object[], required): Images currently mounted on this server. This is separate from `items` because a mounted image may belong to support and be absent from the account's library.
  - `uuid` (string, required): The uuid UUID.
  - `uuid_short` (string, required): The value of `uuid_short`.
  - `name` (string, required): The name shown to customers.

```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
  },
  "mounted": [
    {
      "uuid": "ec4fa5b5-cc7c-4fcf-b280-ee55eca8d44b",
      "uuid_short": "Uuid short",
      "name": "Ubuntu 24.04.1 Live Server"
    }
  ]
}
```

## 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.
- `404`: The resource was not found in the selected team. Resources in another account or team also return 404.
- `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/servers/{server}/isos' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
```
