Skip to content

Rule Management ​

Feature Overview ​

ItemContent
Applicable RoleOperator
Navigation pathSettings > API Rate Control > Rule Management
Page route/user/system/rate-control/rules
Managed objectsAPI rate-control rules, API Patterns, enabled status, and publication status

Beginner Explanation ​

Rule Management is the API rate-control rule library. It defines which APIs are counted or blocked and under what conditions. Before publishing a rule, confirm its match scope, threshold, and rollout impact.

Terms Quick Reference ​

TermDescription
Rate-control ruleA rule that counts or limits API requests.; Confirm the match scope before publication.
ThresholdThe request limit that triggers counting or blocking.; A low threshold can block valid traffic.
Statistical modeA mode that records over-limit requests without blocking them.; Use it to observe behavior before enforcement.
PublishThe action that synchronizes rules to nodes.; Check Node Cache after publication.

Prerequisites ​

  1. The current account has permission to manage API rate-control rules.
  2. You have opened API Rate Control > Rule Management.
  3. Before publishing a rule, you have assessed its scope and impact.

Page Description ​

The page provides rule filters, a rule list, and lifecycle actions for creating, reviewing, editing, enabling, disabling, and deleting rate-control rules.

Rule Management

AreaDescription
RefreshRefreshes the rule list.
Create RuleOpens the rule creation flow.
Publish All Rule VersionsPublishes the current rule versions to nodes.
Rule NameFilters by rule name.
API PatternFilters by API match pattern.
Rule tableShows rules, counting scope, mode, quota, window, priority, publication state, enabled state, and actions.

Main Operations ​

View Rate Control Rules ​

  1. Go to Settings > API Rate Control > Rule Management.
  2. Filter by name, status, scope, action, or update time.
  3. Open details and check match conditions, thresholds, actions, priority, target nodes, and version.
  4. If no record is returned, reset filters. For unexpected matches, compare Observability Audit and the currently published version.

Create Rate Control Rule ​

  1. Go to Settings > API Rate Control > Rule Management.
  2. Click "Create Rule", Create Rate Control Rule, or the actual create entry on the page.
  3. In the rule creation page or dialog, review the rule configuration fields.

Create Rate Control Rule

  1. Fill in rule name, API path, request method, match conditions, rate limit threshold, and time window.
  2. Select effective scope, result handling policy, enabled status, or priority according to page fields.
  3. Before clicking the final Save, Submit, or Publish, verify that the rule will not block normal business requests by mistake.
  4. For learning or screenshots only, view fields and click "Cancel" or return without submitting real rule configuration.

Edit Rate Control Rule ​

  1. Open Settings > API Rate Control > Rule Management.
  2. Locate the target Rule Management and click "Edit".
  3. Review or complete the required fields shown on the page, and confirm the target object, scope, and current status.
  4. For an action that changes data, permissions, status, or an external setting, confirm the impact and rollback path before clicking the final confirmation button.
  5. After the action, return to the list or details page and verify the status, update time, or result message.

Copy Rate Control Rule ​

  1. Open Settings > API Rate Control > Rule Management.
  2. Locate the target Rule Management and click "Copy".
  3. Review or complete the required fields shown on the page, and confirm the target object, scope, and current status.
  4. For an action that changes data, permissions, status, or an external setting, confirm the impact and rollback path before clicking the final confirmation button.
  5. After the action, return to the list or details page and verify the status, update time, or result message.

Publish Rate Control Rules ​

  1. Open Settings > API Rate Control > Rule Management.
  2. Locate the target Rule Management and click "Publish All Rules".
  3. Review or complete the required fields shown on the page, and confirm the target object, scope, and current status.
  4. For an action that changes data, permissions, status, or an external setting, confirm the impact and rollback path before clicking the final confirmation button.
  5. After the action, return to the list or details page and verify the status, update time, or result message.

Parameter Quick Reference ​

Field NameRequiredField TypeExampleDescription
Rule NameYesTextExample Rule AIdentifies the rate control rule.
API PathYesText<ENDPOINT_PATH>The API path matched by the rule. Desensitize it in documentation.
Request MethodNoEnumGETThe HTTP request method matched by the rule.
Match ConditionYesCondition expressiontenant = exampleThe condition set used to match the rule.
Rate Limit ThresholdYesNumber100 requests/minuteThe request limit that triggers statistics or blocking.
Time WindowYesTime1 minuteThe time window used to count requests.
Effective ScopeYesEnum / Multi-selectGlobalThe API, tenant, user, or service scope where the rule applies.
Handling PolicyYesEnumBlockThe processing policy after the rule is hit.
Enabled StatusYesEnumEnabledIndicates whether the rule participates in rate control.
PriorityNoNumber10The processing order when multiple rules match.
ActionsSystem generatedButton / linkEdit / Copy / Publish / DeleteProvides rule maintenance entry points.

Pitfalls ​

  • Do not change roles, members, login policies, Keys, or API rate-control rules without confirming the affected users and systems.
  • UI entries can differ by role and tenant scope; verify the current account context before troubleshooting.
  • Never copy complete Keys, AK/SK, tokens, or secrets into documentation, tickets, or screenshots.
  • Creating or publishing a rate control rule affects real API access, user request success rate, and business availability.
  • Incorrect API paths, match conditions, thresholds, or time windows may block normal business requests by mistake.
  • Save, Submit, Publish, Publish All, Disable, and Delete are high-risk actions.
  • Do not write real API paths, tokens, accounts, tenant IDs, customer names, internal error details, or load-test parameters in documentation.

Result Validation ​

Check ItemSuccess SignalIf Abnormal
Rule filterThe list refreshes by rule name or API Pattern.Check the filter values.
StatusPublication and enabled states are displayed.Refresh the rule list.
Publication recordA publication record appears in Publish Center after publication.Open Publish Center and verify the record.
Create entryClicking Create Rule opens the rule creation page or dialog.Check whether the current account has rule creation permission.

FAQ ​

A new rule does not take effect after publication ​

Symptom:

The rule is configured, but target requests are not counted or blocked.

Possible cause:

The rule was not published to nodes, it is disabled, or its API Pattern does not match the request.

Resolution:

Verify the enabled and publication states, then check Node Cache and Observability & Audit.

What should be checked before publishing all rule versions? ​

Symptom:

The page provides a Publish All Rule Versions action.

Possible cause:

Publication changes the rule version that is effective on the nodes.

Resolution:

Review the rule differences, affected APIs, and rollback plan. Only an authorized operator should publish the versions.

Why are rate-control rules missing? ​

Symptom:

The expected tenant, model, or API rule is not shown in Rule Management.

Possible cause:

The rule belongs to another scope, is disabled, or the current account cannot view API rate-control rules.

Resolution:

Clear the rule type, status, and tenant filters. Confirm the rule scope. If it is still missing, ask the rate-control administrator to check the configuration and publication state.

How should the Rule Management page be exported or captured safely? ​

Symptom:

Page information is needed for troubleshooting, audit, or delivery.

Possible causes:

The page may contain accounts, email addresses, IP addresses, internal paths, tenant identifiers, Keys, or amounts.

Resolution:

Keep only the necessary fields and action context. Use opaque light-gray pixel mosaics for sensitive text and never share complete credentials or internal addresses.

What should I do when the Rule Management page shows unexpected data? ​

Symptom:

A field, status, metric, or related object differs from the expectation.

Possible causes:

The page scope, time condition, role permission, or upstream setting does not match.

Resolution:

Record the redacted object, time, and result. Verify the entry and filters first, then check related pages and Operation Logs.

Notes ​

  • An overly broad API Pattern can block valid requests.
  • Confirm the impact scope and rollback method before publishing or enabling a rule.
  • Save, Submit, Publish, Publish All, Disable, and Delete are high-risk actions.
  • Do not write real API paths, tokens, accounts, tenant IDs, customer names, internal error details, or load-test parameters in documentation.

Next Steps ​

  1. To review rate-control trends, go to Overview.
  2. To verify node synchronization, go to Node Cache.
  3. To review publication results, go to Publish Center.