Queries the details of KVCache instances filtered by region, associated cluster, or instance ID, and returns the results in pages.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| RelativeDBClusterId |
string |
No |
The instance ID of the associated PolarDB instance. |
pc-123456 |
| KVCacheInstanceIds |
string |
No |
The KVCache instance IDs. Separate multiple instance IDs with commas (,). |
pkv-123456,pkv-789012 |
| KVCacheInstanceDescription |
string |
No |
The description of the KVCache instance. |
Test cache instance |
| PageSize |
integer |
No |
The number of entries to return on each page. |
20 |
| PageNumber |
integer |
No |
The page number. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
2921D843-433A-5FB3-A03B-4EC093B219F8 |
| PageNumber |
integer |
The current page number. |
1 |
| TotalRecordCount |
integer |
The total number of instances that meet the query conditions. |
1 |
| PageRecordCount |
integer |
The number of instances returned on the current page. |
1 |
| Items |
object |
||
| KVCacheItem |
array<object> |
The list of KVCache instances. |
|
|
object |
|||
| KVCacheInstanceId |
string |
The KVCache instance ID. |
pkv-123456 |
| RegionId |
string |
The region ID. |
cn-beijing |
| ZoneId |
string |
The zone ID. |
cn-beijing-h |
| KVCacheInstanceStatus |
string |
The KVCache instance status. |
ACTIVATION |
| KVCacheSpace |
integer |
The size of the KVCache space. |
100 |
| VPCId |
string |
The ID of the virtual private cloud (VPC). |
vpc-123 |
| VSwitchId |
string |
The ID of the vSwitch. |
vsw-123 |
| PayType |
string |
The billing method. |
PREPAID |
| CreationTime |
string |
The time when the instance was created. The time follows the ISO 8601 standard. |
2026-01-01T00:00:00Z |
| ExpireTime |
string |
The time when the instance expires. The time follows the ISO 8601 standard. An empty string is returned for pay-as-you-go instances. |
2026-12-31T00:00:00Z |
| Expired |
string |
Indicates whether the instance has expired. |
false |
| AIDBClusterId |
string |
The instance ID of the associated model service instance. |
pc-model-001 |
| DBClusterId |
string |
The ID of the associated PolarDB cluster. |
pc-123456 |
Examples
Success response
JSON format
{
"RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
"PageNumber": 1,
"TotalRecordCount": 1,
"PageRecordCount": 1,
"Items": {
"KVCacheItem": [
{
"KVCacheInstanceId": "pkv-123456",
"RegionId": "cn-beijing",
"ZoneId": "cn-beijing-h",
"KVCacheInstanceStatus": "ACTIVATION",
"KVCacheSpace": 100,
"VPCId": "vpc-123",
"VSwitchId": "vsw-123",
"PayType": "PREPAID",
"CreationTime": "2026-01-01T00:00:00Z",
"ExpireTime": "2026-12-31T00:00:00Z",
"Expired": "false",
"AIDBClusterId": "pc-model-001",
"DBClusterId": "pc-123456"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.