Queries the API key of a model service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeAIDBClusterApiKeys |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
|
No |
The model space ID. |
pms-xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
7F2007D3-7E74-4ECB-89A8-BF130D****** |
| ApiKeys |
array<object> |
API Keys。 |
|
|
object |
API Key |
||
| ApiKey |
string |
The API key of the model service. |
Scxxx-xxx-x-xxWW |
| Description |
string |
The description of the API key. |
my api key |
| Status |
string |
The status of the API key. |
active |
| CreateTime |
string |
The creation time. |
2026-04-09T03:19:19Z |
| Id |
string |
ApiKey ID |
573 |
| PageNumber |
string |
||
| PageSize |
string |
Examples
Success response
JSON format
{
"RequestId": "7F2007D3-7E74-4ECB-89A8-BF130D******",
"ApiKeys": [
{
"ApiKey": "Scxxx-xxx-x-xxWW",
"Description": "my api key",
"Status": "active",
"CreateTime": "2026-04-09T03:19:19Z",
"Id": "573"
}
],
"PageNumber": "",
"PageSize": ""
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.