Parameter | Type | Example | Description |
Code | Integer | 0 | Return status code. 0 means succeeded. |
Message | String | success | Return information. |
TotalCount | Long | 5 | Total number of rules that meet the filter conditions. |
Rules | Refer to the sample response. | Rule list returned by the current pagination. |
Parameter | Type | Example | Description |
QPS | Integer | 100 | The number of requests allowed per second. |
Burst | Integer | 200 | Token Bucket capacity. |
Action | String | reject | Handling method adopted after the throttling rule threshold is exceeded. Values:
|
RuleId | Long | 136734987028564xxxx | Rule ID of the SQL throttling rule. |
Status | String | Applied | Whether the running state of the target node is consistent with the Primary rule. Values:
|
Comment | String | Limit QPS concurrency | Comment of the throttling rule. |
Enabled | Boolean | true | Whether the rule is enabled. |
QueryId | Long | 12345 | Final match value of the query_id rule. |
Keywords | Array of String | ["slow_query"] | Keyword array of the keywords rule. The array supports a maximum of 512 elements, and each keyword cannot exceed 256 characters in length. |
NodeType | String | All | Nodes where the rule takes effect. Values:
|
CreatedAt | String | 2026-09-01T00:00:00Z | Rule creation time. |
LimitType | String | concurrency | Throttling type of the rule. Values:
|
MatchType | String | keywords | Runtime match type. Values:
|
MaxWaitMs | Integer | 1000 | Maximum waiting time for concurrent throttling, unit: millisecond. 0 means no waiting time limit. |
UpdatedAt | String | 2026-09-10T00:00:00Z | Rule update time. |
MaxWaiting | Integer | 20 | Maximum pending count for concurrent throttling. |
SearchPath | String | public | Search_path used to calculate the queryId corresponding to SQL text when the throttling rule matches by SQL fingerprint. |
QueryString | String | SELECT * FROM orders | Original SQL used when users create rules via SQL text, for audit and recalculation only. |
MaxConcurrency | Integer | 10 | Maximum concurrency for concurrent throttling. |