Resource pool monitoring

更新时间:
复制 MD 格式

Description

Queries the pool usage metric for specified resource pools in a batch.

Prerequisites

You have integrated with the PAI-Art Workshop software development kit (SDK). For more information, see Legacy SDK Reference.

Authorization

AK/SK. For more information about how to obtain an AK/SK, see API authorization.

Endpoint

https://openai.edu-aliyun.com

Request path

/scc/query_sp_resource_monitor_data

Request parameters

Name

Type

Required

Description

Example

resourceConfigIds

array<string>

Yes

The IDs of the resource pools to query. You can specify multiple IDs.

["resourceConfig1", "resourceConfig2"]

subProduct

string

No

The type of the resource group. Valid values are comfyui_api and sd_webui. The default value is comfyui_api.

comfyui_api

Response parameters

Name

Type

Description

data

object

The returned data.

Data parameters

Name

Type

Description

resourceConfigId

string

The ID of the resource pool.

monitorData

array<object>

utilizationRatio

float

The usage of the resource pool.

computingGroupId

string

The ID of the resource group.

Note

A resource pool can contain different types of resource groups, such as comfy_api groups and sd_webui groups. Each group has a unique ID.