Queries the list of large model services bound to a Hologres instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hologram:GetInstanceModel |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/instances/{instanceId}/getInstanceModel HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
The instance ID. |
hgpostcn-cn-7mz2vmuxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
819A7F0F-2951-540F-BD94-6A41ECF0281F |
| cpu |
integer |
The total CPU of the node. This parameter applies only to Hologres AI nodes. |
32 |
| gpu |
integer |
The total GPU of the node. This parameter applies only to Hologres AI nodes. |
4 |
| memory |
integer |
The total memory of the node. This parameter applies only to Hologres AI nodes. |
128 |
| gpuMemory |
integer |
The total GPU memory of the node. This parameter applies only to Hologres AI nodes. |
128 |
| modelServiceList |
array<object> |
The list of model services. |
|
|
object |
|||
| gpuMemory |
integer |
The GPU memory consumed by this model service. This parameter applies only to Hologres AI nodes. |
32 |
| memory |
integer |
The memory consumed by this model service. This parameter applies only to Hologres AI nodes. |
32 |
| cpu |
integer |
The CPU consumed by this model service. This parameter applies only to Hologres AI nodes. |
32 |
| modelType |
string |
The model name. |
qwen3.5-plus |
| gpu |
integer |
The GPU consumed by this model service. This parameter applies only to Hologres AI nodes. |
2 |
| status |
string |
The status. |
Running |
| modelName |
string |
The custom name of the model service. |
my_model |
| serviceCount |
integer |
The number of service replicas. This parameter applies only to Hologres AI nodes. |
2 |
| version |
string |
The version. |
v1.1 |
| message |
string |
The error message. |
Failed |
| taskType |
string |
The model purpose. |
embedding |
| modelParams |
string |
The model parameters. This parameter applies only to Bailian models. |
{"timeout":600,"max_retries":10,"max_retry_delay":8,"initial_retry_delay":0.5} |
| apiKey |
string |
The Bailian API key (for display only and cannot be used directly). |
sk-42f6c8xxxxxb |
| provider |
string |
The underlying model provider. |
bailian |
| instanceRegion |
string |
The region where the AI node is deployed. |
cn-beijing |
| serviceDeployRegion |
string |
The deployment region. |
cn-beijing |
| supportApiKeyAccess |
boolean |
Indicates whether access to the model service through an API key is supported. |
true |
| cpuUsed |
integer |
The total CPU used by the node. This parameter applies only to Hologres AI nodes. |
32 |
| memoryUsed |
integer |
The total memory used by the node. This parameter applies only to Hologres AI nodes. |
64 |
| gpuUsed |
integer |
The total GPU used by the node. This parameter applies only to Hologres AI nodes. |
2 |
| aiInstanceId |
string |
The AI node instance ID. |
hologram_aicombo_public_cn-77xxx |
| gpuMemoryUsed |
integer |
The total GPU memory used by the node. This parameter applies only to Hologres AI nodes. |
64 |
| regionId |
string |
The region ID. |
cn-shanghai |
| resourceType |
string |
The resource type. Valid values:
|
middle |
| nodeCount |
integer |
The number of nodes. |
2 |
| commodityCode |
string |
The commodity code. |
hologram_aipostpay_public_cn |
| chargeType |
string |
The billing method. Valid values:
|
PrePaid |
| status |
string |
The node status. Valid values:
|
ResourceReady |
| expirationTime |
string |
The expiration time (UTC). |
2026-01-28T07:44:27.535Z |
| autoRenewal |
boolean |
Indicates whether auto-renewal is enabled for the resource.
|
true |
Examples
Success response
JSON format
{
"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",
"supportApiKeyAccess": true
}
],
"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
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.