DescribeModelOperator

更新时间:
复制 MD 格式

View basic information and usage of the RDS AI Assistant flagship edition.

Operation description

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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:

  • true: Auto-renewal is enabled.

  • false (default): Auto-renewal is disabled.

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.