All Products
Search
Document Center

PolarDB:DescribeDBClusterModelEnhancement

Last Updated:Nov 04, 2026

Queries the model enhancement status and API key list of a specified PolarDB cluster.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

DBClusterId

string

Yes

The ID of the PolarDB cluster.

pc-******************

Response elements

Element

Type

Description

Example

object

Schema of Response

CreateTime

string

The time when the model enhancement feature was enabled, in ISO 8601 UTC format (YYYY-MM-DDThh:mm:ssZ).

2025-01-01T00:00:00Z

ModelEnhancementKeyNumber

integer

The number of API keys for model enhancement.

1

ModelEnhancementKeys

array<object>

The list of API keys for model enhancement.

object

ApiKey

string

The value of the API key.

ak-12345

ApiKeyId

string

The ID of the API key.

key-001

CreateTime

string

The time when the API key was created, in ISO 8601 UTC format (YYYY-MM-DDThh:mm:ssZ).

2025-01-01T00:00:00Z

Description

string

The description of the API key.

Model enhancement key

ExpireTime

string

The expiration time of the API key, in ISO 8601 UTC format (YYYY-MM-DDThh:mm:ssZ).

2025-12-31T23:59:59Z

ModelEnhancementStatus

string

The status of the model enhancement feature. ON indicates that the feature is enabled.

ON

RequestId

string

The ID of the request.

2921D843-433A-5FB3-A03B-4EC093B219F8

Examples

Success response

JSON format

{
  "CreateTime": "2025-01-01T00:00:00Z",
  "ModelEnhancementKeyNumber": 1,
  "ModelEnhancementKeys": [
    {
      "ApiKey": "ak-12345",
      "ApiKeyId": "key-001",
      "CreateTime": "2025-01-01T00:00:00Z",
      "Description": "模型增强密钥",
      "ExpireTime": "2025-12-31T23:59:59Z"
    }
  ],
  "ModelEnhancementStatus": "ON",
  "RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.