GetInstanceModel - 執行個體部署模型詳情

更新時間:
Copy as MD

Holo執行個體已經綁定的大模型服務列表

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

GET /api/v1/instances/{instanceId}/getInstanceModel HTTP/1.1

路徑參數

名稱

類型

必填

描述

樣本值

instanceId

string

執行個體 id。

hgpostcn-cn-7mz2vmuxxxx

請求參數

名稱

類型

必填

描述

樣本值

當前API無需請求參數

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

requestId

string

Id of the request

819A7F0F-2951-540F-BD94-6A41ECF0281F

cpu

integer

節點總 CPU,此參數僅適用於 Hologres AI 節點

32

gpu

integer

節點總 GPU,此參數僅適用於 Hologres AI 節點

4

memory

integer

節點總記憶體,此參數僅適用於 Hologres AI 節點

128

gpuMemory

integer

節點總顯存,此參數僅適用於 Hologres AI 節點

128

modelServiceList

array<object>

模型服務列表

object

gpuMemory

integer

此模型服務佔用的顯存,此參數僅適用於 Hologres AI 節點

32

memory

integer

此模型服務佔用的記憶體,此參數僅適用於 Hologres AI 節點

32

cpu

integer

此模型服務佔用的 CPU, 此參數僅適用於 Hologres AI 節點

32

modelType

string

模型名稱

qwen3.5-plus

gpu

integer

此模型服務佔用的 GPU,此參數僅適用於 Hologres AI 節點

2

status

string

狀態

Running

modelName

string

模型服務自訂名稱

my_model

serviceCount

integer

服務副本數,此參數僅適用於 Hologres AI 節點

2

version

string

版本。

v1.1

message

string

錯誤資訊

Failed

taskType

string

模型用途

embedding

modelParams

string

模型參數,此參數僅適用於百鍊模型

{"timeout":600,"max_retries":10,"max_retry_delay":8,"initial_retry_delay":0.5}

apiKey

string

百鍊 API Key(僅展示,無法直接使用)

sk-42f6c8xxxxxb

provider

string

底層模型提供方。

bailian

instanceRegion

string

AI 節點部署地區

cn-beijing

serviceDeployRegion

string

部署地區

cn-beijing

cpuUsed

integer

已使用的節點總 CPU,此參數僅適用於 Hologres AI 節點

32

memoryUsed

integer

已使用的節點總記憶體,此參數僅適用於 Hologres AI 節點

64

gpuUsed

integer

已使用的節點總 GPU,此參數僅適用於 Hologres AI 節點

2

aiInstanceId

string

AI 節點執行個體 id

hologram_aicombo_public_cn-77xxx

gpuMemoryUsed

integer

已使用的節點總顯存,此參數僅適用於 Hologres AI 節點

64

regionId

string

地區 ID。

cn-shanghai

resourceType

string

資源類型。

枚舉值:

  • small :

    small

  • middle :

    middle

  • large :

    large

middle

nodeCount

integer

節點數量

2

commodityCode

string

商品 code

hologram_aipostpay_public_cn

chargeType

string

付費類型。取值:

  • PrePaid:訂用帳戶。

  • PostPaid: 隨用隨付。

PrePaid

status

string

節點狀態

枚舉值:

  • ResourceReady :

    運行正常

  • InstanceWaiting :

    建立中

ResourceReady

expirationTime

string

到期時間(UTC)

2026-01-28T07:44:27.535Z

autoRenewal

boolean

資源是否開啟了自動續約功能。

  • true:開啟自動續約,資源到期後會自動續訂。

  • false:未開啟自動續約,資源到期後將停止使用。

true

樣本

正常返回樣本

JSON格式

{
  "requestId": "819A7F0F-2951-540F-BD94-6A41ECF0281F",
  "cpu": 32,
  "gpu": 4,
  "memory": 128,
  "gpuMemory": 128,
  "modelServiceList": [
    {
      "gpuMemory": 32,
      "memory": 32,
      "cpu": 32,
      "modelType": "qwen3.5-plus",
      "gpu": 2,
      "status": "Running",
      "modelName": "my_model",
      "serviceCount": 2,
      "version": "v1.1",
      "message": "Failed",
      "taskType": "embedding",
      "modelParams": "{\"timeout\":600,\"max_retries\":10,\"max_retry_delay\":8,\"initial_retry_delay\":0.5}",
      "apiKey": "sk-42f6c8xxxxxb",
      "provider": "bailian",
      "instanceRegion": "cn-beijing",
      "serviceDeployRegion": "cn-beijing"
    }
  ],
  "cpuUsed": 32,
  "memoryUsed": 64,
  "gpuUsed": 2,
  "aiInstanceId": "hologram_aicombo_public_cn-77xxx",
  "gpuMemoryUsed": 64,
  "regionId": "cn-shanghai",
  "resourceType": "middle",
  "nodeCount": 2,
  "commodityCode": "hologram_aipostpay_public_cn",
  "chargeType": "PrePaid",
  "status": "ResourceReady",
  "expirationTime": "2026-01-28T07:44:27.535Z",
  "autoRenewal": true
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情