All Products
Search
Document Center

Edge Security Acceleration:GetAutomaticFrequencyControlConfig

Last Updated:Mar 24, 2026

Queries the automatic frequency control configuration for a site.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

SiteId

integer

Yes

The ID of the site. Call the ListSites operation to obtain this ID.

123456****

SiteVersion

integer

No

The version of the site. If versioning is enabled, use this parameter to specify the site version. The default value is 0.

0

Response elements

Element

Type

Description

Example

object

The response body.

RequestId

string

The request ID.

04F0F334-1335-436C-A1D7-6C044FE73368

Enable

string

Indicates whether automatic frequency control is enabled. Valid values:

  • on: Enabled.

  • off: Disabled.

Valid values:

  • off :

    off

  • on :

    on

on

Level

string

The protection level. Valid values:

  • loose: Loose.

  • normal: Normal.

  • strict: Strict.

Valid values:

  • normal :

    normal

  • loose :

    loose

  • strict :

    strict

normal

ActionType

string

The action to perform. Valid values:

  • observe: Monitors requests.

  • deny: Denies requests.

  • js: Issues a JavaScript challenge.

Valid values:

  • deny :

    deny

  • js :

    js

  • observe :

    observe

js

RuleId

integer

The rule ID.

11957665

Threshold

integer

The threshold that triggers the action.

100

Interval

integer

The statistics collection interval.

10

PunishTime

integer

The duration of the penalty, in seconds.

20000000

Examples

Success response

JSON format

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
  "Enable": "on",
  "Level": "normal",
  "ActionType": "js",
  "RuleId": 11957665,
  "Threshold": 100,
  "Interval": 10,
  "PunishTime": 20000000
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is invalid. The specified parameter is invalid.
500 InternalError Failed to call the service. Try again later or contact technical support. Failed to call the service. Try again later or contact technical support.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.