curl --request GET \
--url https://api.gcore.com/cloud/v1/ai/images/gpu/{project_id}/{region_id} \
--header 'Authorization: <api-key>'
{
"count": 1,
"results": [
{
"architecture": "x86_64",
"created_at": "2024-05-05T14:51:26.570866Z",
"creator_task_id": "b10dd116-07f5-4225-abb7-f42da5cb78fb",
"description": "string",
"disk_format": "raw",
"display_order": 2010,
"hw_firmware_type": "bios",
"hw_machine_type": "q35",
"id": "44e136a7-15c1-4b5f-a086-20b7b3237d40",
"is_baremetal": false,
"min_disk": 3,
"min_ram": 0,
"name": "ubuntu-20.10-x64",
"os_distro": "ubuntu",
"os_type": "linux",
"os_version": "20.10",
"project_id": 1337,
"region": "Luxembourg 1",
"region_id": 7,
"sdk_version": "3.0.0",
"size": 2361393152,
"ssh_key": "allow",
"status": "active",
"tags": [
{
"key": "my-tag",
"read_only": false,
"value": "my-tag-value"
}
],
"task_id": null,
"updated_at": "2024-05-05T14:51:26.570866Z",
"vipu_version": "1.16.0",
"visibility": "public"
}
]
}
Retrieve a list of images available for GPU clusters.
Please use the /v3/gpu/baremetal/{
project_id}/{
region_id}/images
endpoint instead.
curl --request GET \
--url https://api.gcore.com/cloud/v1/ai/images/gpu/{project_id}/{region_id} \
--header 'Authorization: <api-key>'
{
"count": 1,
"results": [
{
"architecture": "x86_64",
"created_at": "2024-05-05T14:51:26.570866Z",
"creator_task_id": "b10dd116-07f5-4225-abb7-f42da5cb78fb",
"description": "string",
"disk_format": "raw",
"display_order": 2010,
"hw_firmware_type": "bios",
"hw_machine_type": "q35",
"id": "44e136a7-15c1-4b5f-a086-20b7b3237d40",
"is_baremetal": false,
"min_disk": 3,
"min_ram": 0,
"name": "ubuntu-20.10-x64",
"os_distro": "ubuntu",
"os_type": "linux",
"os_version": "20.10",
"project_id": 1337,
"region": "Luxembourg 1",
"region_id": 7,
"sdk_version": "3.0.0",
"size": 2361393152,
"ssh_key": "allow",
"status": "active",
"tags": [
{
"key": "my-tag",
"read_only": false,
"value": "my-tag-value"
}
],
"task_id": null,
"updated_at": "2024-05-05T14:51:26.570866Z",
"vipu_version": "1.16.0",
"visibility": "public"
}
]
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Any value to show private images
Search only public, shared or private images
List of images
The response is of type object
.
Was this page helpful?