GET
/
gpu-instance
/
openapi
/
v1
/
image
/
prewarm
List Image Prewarm Tasks
curl --request GET \
  --url https://api.novita.ai/gpu-instance/openapi/v1/image/prewarm \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>'
{
  "data": [
    {
      "id": "<string>",
      "imageName": "<string>",
      "imageUrl": "<string>",
      "repositoryAuth": "<string>",
      "clusterId": "<string>",
      "clusterName": "<string>",
      "products": [
        {
          "productId": "<string>",
          "productName": "<string>"
        }
      ],
      "imageSize": "<string>",
      "createTime": "<string>",
      "state": "<string>",
      "completeTime": "<string>",
      "note": "<string>",
      "reason": [
        "<string>"
      ]
    }
  ],
  "total": 123
}

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Query Parameters

page
integer
Page number. Default: 1.
pageSize
integer
Page size. Default: 10.
state
string
Prewarm task state. Valid values: Pending, Running, Succeeded, Failed.
clusterId
string
Cluster ID.
name
string
Image name or task note for fuzzy matching.

Response

data
object[]
required
List of prewarm tasks.
total
integer
required
Total number of tasks.