# 1.6

LLMS index: [llms.txt](https://docs.e.samsungsdscloud.com/en/apireference/compute/llms.txt)

---

```
get /v1/images
```

## Description
Retrieve the list of Images that the account can use.

401 Unauthorized is returned when the authentication token is missing or invalid, and 403 Forbidden is returned when the caller has no list permission. An empty list is returned instead of 404 Not Found when no Image matches the conditions.

The result contains the standard Images provided by the platform, the custom Images of the account, the Images registered from an Object Storage file, Marketplace Images and the Images of another account that were shared with this account and accepted. scp_image_type tells them apart and takes standard, gpu_standard, k8s, k8s_gpu, appliance, custom, gpu_custom or marketplace, while scp_original_image_type keeps the type of the Image the custom Image originates from and takes standard, gpu_standard, k8s, k8s_gpu, appliance or marketplace.

The list can be filtered by name, status, os_distro, visibility, scp_image_type and scp_original_image_type. name and status also accept the form <operator>:<value>, where operator must be in or eq; any other operator returns 400 Bad Request. visibility accepts public, community, shared or private. A filter value whose double quotes are not in pairs returns 400 Bad Request (Image.InvalidDoubleQuotes).

limit defaults to 20 and accepts 1 to 1000, and marker is the ID of the last Image of the previous page. A marker that is not an existing Image returns 400 Bad Request (Image.InvalidMarker). This API does not accept an offset parameter. sort takes a comma separated list of <key>[:<direction>] and defaults to created_at:desc. Only name, status, container_format, disk_format, size, id, created_at and updated_at are allowed as keys and direction must be asc or desc, otherwise 400 Bad Request is returned.

The response contains the same fields as Show Image (showImage) for each Image, and from microversion 1.4 it also contains zone. Use Show Image (showImage) when only one Image is needed, and List Pending Images (listPendingImages) for the Images that another account shared with this account and that are still waiting for a decision; those are not returned by this API until they are accepted.

**State**
ACTIVE (CURRENT)

| Version | Not Before |
| -- | -- |
| 1.6 | - |

## Parameters

| Type | Name | Description | Schema | Default |
| -- | -- | -- | -- | -- |
| **query** | **limit** <br>*optional*| Number of items to return in one page. The response contains no total count, so continue paging until fewer items than limit are returned <br>**Example** : 20<br>| any of [integer, null] | 20
| **query** | **marker** <br>*optional*| ID of the last item of the previous page. Items after that item are returned. An ID that does not exist returns 400 Bad Request <br>**Example** : 2a9be312-5d4b-4bc8-b2ae-35100fa9241f<br>| any of [string, null] | None
| **query** | **scp_image_type** <br>*optional*| Type of the Image. standard, gpu_standard, k8s, k8s_gpu and appliance are Images that the platform provides, custom and gpu_custom are Images created by the account, and marketplace is a Marketplace Image <br>**Example** : custom<br>| any of [string, null] | None
| **query** | **scp_original_image_type** <br>*optional*| Type of the original Image from which this Image is derived. One of standard, gpu_standard, k8s, k8s_gpu, appliance or marketplace. For a custom Image it keeps the type of the Image that the source Virtual Server was created from <br>**Example** : standard<br>| any of [string, null] | None
| **query** | **name** <br>*optional*| Name of the image <br>**Example** : imagename<br>| any of [string, null] | None
| **query** | **os_distro** <br>*optional*| OS distribution of the Image. One of alma, centos, rhel, rocky, ubuntu, windows or oracle <br>**Example** : alma<br>| any of [string, null] | None
| **query** | **status** <br>*optional*| Status of the Image. queued means no file has been uploaded yet, saving, uploading and importing mean the file is being transferred, active means the Image can be used to create a Virtual Server, killed means the upload failed, and deleted, pending_delete and deactivated mean the Image can no longer be used <br>**Example** : active<br>| any of [string, null] | None
| **query** | **visibility** <br>*optional*| Access scope of the Image. private means the Image can be used only inside the owning account, and shared means it can be shared with other accounts through Image members. public and community are used by Images that the platform provides. On create it accepts only private or shared and defaults to private <br>**Example** : private<br>| any of [enum (public, community, shared, private), null] | None
| **query** | **sort** <br>*optional*| Sort condition in the form of <key>[:<direction>]. direction is asc or desc and defaults to desc when it is omitted. An undefined key returns 400 Bad Request <br>**Example** : created_at:desc<br>| any of [string, null] | created_at:desc

## Responses

| HTTP Code | Description | Schema |
| -- | -- | -- |
| **200** | OK | [ImageListResponseV1Dot6](/en/apireference/compute/virtualserver/models/imagelistresponsev1dot6/) |
| **400** | Bad Request | None |
| **401** | Unauthorized | None |
| **403** | Forbidden | None |

## Example HTTP request

### Request path

```
/v1/images
```

### Request header

``` json
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = virtualserver 1.6"
```


## Example HTTP response

### Response 200
``` json
{
    "images": [
        {
            "boot_mode": "legacy_bios",
            "checksum": "7538e0fcb56e0e272cfd89eb384d6613",
            "container_format": "bare",
            "created_at": "2025-07-22T09:00:00Z",
            "disk_format": "qcow2",
            "file": "/v2/images/e08a37c1-2162-416e-b7fa-19902419170b/file",
            "id": "70a599e0-31e7-49b7-b260-868f441e862b",
            "min_disk": 100,
            "min_ram": 0,
            "name": "imagename",
            "os_distro": "alma",
            "os_hash_algo": "sha512",
            "os_hash_value": "c6a32fc3b7c909b8900b46f5e6066c028a1d799c0a263cf064a600c430a714627c21f98ac248e2f2bf29870a1a2773c7908244745016878e1a5f31dc2c405b99",
            "os_hidden": false,
            "owner": "a8f10467abfc4b87b64614ab36eb9ae4",
            "owner_account_name": "AccountName",
            "protected": false,
            "root_device_name": "/dev/vda",
            "scp_gpu_driver": "535.183.06",
            "scp_image_type": "custom",
            "scp_k8s_version": "v1.28.7",
            "scp_original_image_type": "standard",
            "scp_os_build_version": "20250101",
            "scp_os_version": "8.8",
            "scp_supported_class_types": "GPU-A100-1,GPU-H100-2",
            "size": 2429747200,
            "status": "active",
            "updated_at": "2025-07-26T12:00:00Z",
            "url": "https://object-store.kr-west1.s.samsungsdscloud.com/8989447062e04a818baf9e073fd04fa7/bucket/object.qcow2",
            "virtual_hardware_type": "pci",
            "virtual_size": 17179869184,
            "visibility": "private",
            "volumes": "[{\"tag\": null, \"volume_id\": null, \"encryption_options\": null, \"encryption_secret_uuid\": null, \"encryption_format\": null, \"device_name\": \"/dev/vda\", \"disk_bus\": \"virtio\", \"volume_type\": null, \"encrypted\": null, \"image_id\": null, \"device_type\": \"disk\", \"source_type\": \"snapshot\", \"delete_on_termination\": false, \"volume_size\": 104, \"guest_format\": null, \"boot_index\": 0, \"destination_type\": \"volume\", \"snapshot_id\": \"abde9e38-2ed5-4ecd-b23c-b0120e30690e\", \"no_device\": null}]",
            "zone": "kr-west1-a"
        }
    ]
}
```
