Image

Get private image details

Retrieves detailed information about a specific image by its unique ID. To obtain the image ID, use the List Images API.

get/core/images/{id}

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/core/images/{id}
  • Auth: API key in header api_key

Path parameters

idinteger required

ID of the image.

Query parameters

include_related_vmsboolean

When true, include the list of virtual machines currently using this image in the response.

Response

Image details retrieved successfully.

Example response

{
  "image": {
    "id": 1402,
    "name": "Ubuntu Server 22.04 LTS R535 CUDA 12.2 with Docker",
    "region_name": "US-1",
    "type": "Ubuntu",
    "version": "Server 22.04 LTS R535 CUDA 12.2 with Docker",
    "size": 107374182400,
    "display_size": "100 GiB",
    "is_public": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.