Retrieves the list of model operators for a specified PolarDB instance.
Operation description
Request description
This operation allows you to filter and retrieve a list of model operators by using the
RelativeDBClusterIdandKubeTypeparameters.Note: Make sure that the
RelativeDBClusterIdyou provide matches the instance ID of an existing PolarDB database. Otherwise, the data cannot be retrieved.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeAIDBClusterTasks |
list |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| RelativeDBClusterId |
string |
No |
The instance ID of the associated PolarDB instance. |
pc-2ze88*** |
| KubeType |
string |
No |
The type of the model operator. Valid values:
|
aitrain |
| PageNumber |
integer |
No |
The current page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
30 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
925B84D9-CA72-432C-95CF-738C22****** |
| Engine |
string |
The cluster engine. |
polardb_ai |
| EngineVersion |
string |
The database engine version. |
3.1 |
| Items |
array<object> |
The cluster endpoint details. |
|
|
object |
The list of model operators. |
||
| DBNodeId |
string |
The instance ID of the model operator. |
pm-2ze*** |
| DBNodeStatus |
string |
The instance status. This field may not be returned. |
RUNNING |
| DBNodeStatusDesc |
string |
The instance status. |
RUNNING |
| DBNodeDescription |
string |
The node description. |
test |
| CreationTime |
string |
The creation time. The time follows the ISO 8601 standard and is displayed in UTC (format: YYYY-MM-DDTHH:mm:ssZ). |
2025-03-25T09:37:10Z |
| ModelName |
string |
The model name. |
*** |
| ModelSource |
string |
The model source. |
public |
| TrainMode |
string |
The mode. |
sft |
| TrainType |
string |
The type. |
lora |
| Engine |
string |
The cluster engine. |
polardb_ai |
| DataZoneId |
string |
The zone. |
cn-beijing-i |
| EngineVersion |
string |
The database engine version. |
3.1 |
| ModelPath |
string |
The path. |
*** |
| RunningTimes |
string |
The runtime parameters. |
xxx |
| StartTime |
string |
The task start time. The time follows the ISO 8601 standard and is displayed in UTC (format: YYYY-MM-DDTHH:mm:ssZ). |
2020-06-09T18:00:00Z |
| CompletedTime |
string |
The task completion time. The time follows the ISO 8601 standard and is displayed in UTC (format: YYYY-MM-DDTHH:mm:ssZ). |
2020-06-09T18:00:00Z |
| TuneArch |
string |
The tuning framework. |
lora |
| RelativeDBClusterId |
string |
The ID of the associated PolarDB cluster. |
pc-2ze*** |
| TaskType |
string |
The task type. |
train |
| PageNumber |
integer |
The current page number. |
0 |
| PageSize |
string |
The number of entries per page. |
30 |
| PageRecordCount |
string |
The total number of entries on the current page. |
1 |
| TotalRecordCount |
string |
The total number of entries. |
2 |
Examples
Success response
JSON format
{
"RequestId": "925B84D9-CA72-432C-95CF-738C22******",
"Engine": "polardb_ai",
"EngineVersion": "3.1",
"Items": [
{
"DBNodeId": "pm-2ze***",
"DBNodeStatus": "RUNNING",
"DBNodeStatusDesc": "RUNNING",
"DBNodeDescription": "test",
"CreationTime": "2025-03-25T09:37:10Z",
"ModelName": "***",
"ModelSource": "public",
"TrainMode": "sft",
"TrainType": "lora",
"Engine": "polardb_ai",
"DataZoneId": "cn-beijing-i",
"EngineVersion": "3.1",
"ModelPath": "***",
"RunningTimes": "xxx",
"StartTime": "2020-06-09T18:00:00Z",
"CompletedTime": "2020-06-09T18:00:00Z",
"TuneArch": "lora"
}
],
"RelativeDBClusterId": "pc-2ze***",
"TaskType": "train",
"PageNumber": 0,
"PageSize": "30",
"PageRecordCount": "1",
"TotalRecordCount": "2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.