DescribeRateLimitPolicy
Queries rate limit policies.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeRateLimitPolicy |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| GwClusterId |
string |
Yes |
The ID of the gateway instance. |
pg-xxxxxxx |
| PolicyId |
string |
No |
The ID of the rate limit policy. |
02eccf7c61cf4d05a543075ee907f3** |
| ScopeType |
string |
No |
The scope of the rate limit policy. Valid values:
|
ConsumerGroup |
| ScopeRefId |
string |
No |
The ID of the target resource, which can be a consumer group or a consumer, depending on the |
cg-xxxxxxxx |
| PageSize |
integer |
No |
The number of entries per page. Valid values:
|
30 |
| PageNumber |
integer |
No |
The page number to return. The default value is 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
CED079B7-A408-41A1-BFF1-EC608E****** |
| TotalRecordCount |
string |
The total number of matching entries. |
1 |
| PageSize |
string |
The number of entries returned per page. |
30 |
| PageNumber |
string |
The returned page number. |
1 |
| PageRecordCount |
string |
The number of entries returned on the current page. |
30 |
| Items |
array<object> |
An array of rate limit policy objects. |
|
|
object |
A rate limit policy object. |
||
| PolicyId |
string |
The ID of the rate limit policy. |
02eccf7c61cf4d05a543075ee907f3** |
| GwClusterId |
string |
The ID of the gateway instance. |
pg-xxxxxxxx |
| PolicyType |
string |
The policy type. |
RateLimit |
| ScopeType |
string |
The scope of the policy. Valid values:
|
ConsumerGroup |
| ScopeRefId |
string |
The ID of the object within the policy's scope, such as a consumer group or a consumer. |
cg-xxxxxxx |
| RateLimitRpm |
string |
The maximum requests per minute (RPM). |
10 |
| RateLimitTpm |
string |
The maximum tokens per minute (TPM). |
10 |
| Status |
string |
The status of the policy. Valid values:
|
Enabled |
| GmtCreated |
string |
The creation time. |
2025-12-01T17:52:05+08:00 |
| GmtModified |
string |
The modification time. |
2026-01-19T16:47:25+08:00 |
Examples
Success response
JSON format
{
"RequestId": "CED079B7-A408-41A1-BFF1-EC608E******",
"TotalRecordCount": "1",
"PageSize": "30",
"PageNumber": "1",
"PageRecordCount": "30",
"Items": [
{
"PolicyId": "02eccf7c61cf4d05a543075ee907f3**\n",
"GwClusterId": "pg-xxxxxxxx",
"PolicyType": "RateLimit",
"ScopeType": "ConsumerGroup ",
"ScopeRefId": "cg-xxxxxxx",
"RateLimitRpm": "10",
"RateLimitTpm": "10",
"Status": "Enabled",
"GmtCreated": "2025-12-01T17:52:05+08:00",
"GmtModified": "2026-01-19T16:47:25+08:00"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.