Creates a model creation service API key.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateAIDBClusterApiKey |
create |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Note
|
cn-beijing |
| Description |
string |
No |
The description. |
test |
|
No |
The model space ID. |
pms-xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
2281C6C9-CBAB-1AFD-8400-670750CF6025_2212 |
| ApiKey |
object |
The API key. |
|
| ApiKey |
string |
The API key for model serving. |
xxx |
| Description |
string |
The description. |
test |
| Status |
string |
The API key status. |
active |
| CreateTime |
string |
The creation time. |
2026-06-12T03:41:53Z |
| Id |
string |
id |
393 |
Examples
Success response
JSON format
{
"RequestId": "2281C6C9-CBAB-1AFD-8400-670750CF6025_2212",
"ApiKey": {
"ApiKey": "xxx",
"Description": "test",
"Status": "active",
"CreateTime": "2026-06-12T03:41:53Z",
"Id": "393"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.