View basic information and usage of the RDS AI Assistant flagship edition.
Operation description
Supported engine
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rdsai:DescribeModelOperator |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The instance ID. |
rds_copilot***_public_cn-*********6 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| RequestId |
string |
The ID of the request. |
FE9C65D7-930F-57A5-A207-8C396329241C |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Message |
string |
The response message. |
success |
| Data |
object |
The response data. |
|
| TotalQuota |
integer |
The total token quota for the current billing cycle. |
200000000 |
| UsedQuota |
integer |
The number of tokens used in the current billing cycle. |
1000000 |
| AutoRenew |
boolean |
Indicates whether auto-renewal is enabled for the instance. Valid values:
|
False |
| InstanceId |
string |
The ID of the instance. |
rds_copilot***_public_cn-*********6 |
| InstanceClass |
string |
The instance type. |
xlarge |
| Status |
string |
The status of the instance. |
active/creating |
| StartTime |
integer |
The start time of the instance, in UNIX timestamp format (milliseconds). |
1772439028000 |
| EndTime |
integer |
The end time of the instance, in UNIX timestamp format (milliseconds). |
1775145600000 |
| ApiKey |
string |
The API key. |
sk-rds-xxx |
| BaseUrl |
string |
The endpoint URL for model invocation. |
http://xxx.yy/v1 |
| ChargeType |
string |
The billing method. |
PREPAY / POSTPAY |
| DailyUsage |
array<object> |
A list of daily usage records. |
|
|
object |
|||
| Date |
string |
The date of the usage record. |
2026-03-31 |
| Usage |
integer |
The number of tokens used on the specified date. |
100000 |
| KeyUsageList |
array<object> |
A list of usage data for each API key, including deleted keys. |
|
|
array<object> |
|||
| ApiKey |
string |
The API key. |
sk-rds-***** |
| KeyName |
string |
The name of the API key. |
api-***** |
| KeyType |
string |
The type of the API key. |
fixed |
| KeyUsed |
string |
The total number of tokens used by the API key. |
100000 |
| DailyUsage |
array<object> |
A list of daily usage records for the API key. |
|
|
object |
|||
| Date |
string |
The date of the usage record. |
2026-03-31 |
| Usage |
string |
The number of tokens used on the specified date. |
2000 |
| UsedQuota |
string |
The token quota usage. |
2000000 |
| Deleted |
boolean |
Indicates whether the API key is deleted. |
fase |
Examples
Success response
JSON format
{
"RequestId": "FE9C65D7-930F-57A5-A207-8C396329241C",
"Success": true,
"Message": "success",
"Data": {
"TotalQuota": 200000000,
"UsedQuota": 1000000,
"AutoRenew": true,
"InstanceId": "rds_copilot***_public_cn-*********6",
"InstanceClass": "xlarge",
"Status": "active/creating",
"StartTime": 1772439028000,
"EndTime": 1775145600000,
"ApiKey": "sk-rds-xxx",
"BaseUrl": "http://xxx.yy/v1",
"ChargeType": "PREPAY / POSTPAY",
"DailyUsage": [
{
"Date": "2026-03-31",
"Usage": 100000
}
],
"KeyUsageList": [
{
"ApiKey": "sk-rds-*****",
"KeyName": "api-*****",
"KeyType": "fixed",
"KeyUsed": "100000",
"DailyUsage": [
{
"Date": "2026-03-31",
"Usage": "2000"
}
],
"UsedQuota": "2000000",
"Deleted": true
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MoInvalidIpWhitelistError | Invalid IP address or CIDR in whitelist. | |
| 400 | MoDomainNotReadyError | Domain is not ready yet, please try again later. | |
| 403 | InvalidUserOrder | There is no valid order for this UID. | There is no valid order for this UID |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.