Skip to main content
List images
Use the Compute API to select an image before creating an instance. Supply type=vm or type=container.

Request

There is no region filter. Do not assume an image response is narrowed by an unsupported query parameter.

Read the response

A successful request returns 200 OK. Read images from data and paging information from pagination. Pass the selected item’s id and type as image_id and image_type when creating an instance. VM images come in one page. pagination.next is null, and pagination.size is the number of images. Omit cursor, size, and mine=true for VMs. The API rejects them with 400. Check os_family, gpu_supported, min_disk_gb, and min_memory_gb against your preset. login_user gives the Linux login name when known.
Some VM images report zero for their minimum disk or memory size in this release. Treat those values as incomplete sizing information, not confirmation that any preset is suitable.
Container images are paginated. Follow pagination.next until it is null. Container fields include id, name, image, registry, command, env, workload_type, created_at, software_list, and requires_init. Secret environment values are masked. Do not copy a masked value as an application secret.

Errors

A missing or invalid type, or a malformed cursor, returns 400 VALIDATION_ERROR. A missing or invalid API key returns 401. An account restriction can return 403. On 429, wait for Retry-After. A server error returns 500. See Pagination and filters and Handle errors and rate limits.

Authorizations

Authorization
string
header
required

An API key issued by Hive Compute support. See Authentication above for how to request one.

Query Parameters

type
enum<string>
required

The kind of image to list. Case-insensitive.

Available options:
vm,
container
cursor
string

Opaque cursor from a previous response's pagination.next. Omit to start at the first page.

size
integer
default:50

Number of items per page.

Required range: 1 <= x <= 200
mine
boolean
default:false

For type=container only. true lists the templates you saved instead of the Hive catalogue.

Response

A page of images.

data
object[]
pagination
object

Cursor pagination metadata.