Updated on 2026-09-10 GMT+08:00

Bandwidth Curve

Function

Bandwidth curve

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.

URI

GET /v2/aad/domains/waf-info/flow/bandwidth

Table 1 Query Parameters

Parameter

Mandatory

Type

Description

domains

No

String

If this parameter is not provided, all domain names are queried.

value_type

Yes

String

mean: the average value. peak: peak values.

start_time

No

String

Start time.

end_time

No

String

End time.

recent

No

String

Enumeration values: yesterday, today, 3 days, 1 week, 1 month

The start time and end time cannot be empty at the same time.

overseas_type

No

Integer

Instance type. 0: the Chinese mainland. 1: outside the Chinese mainland.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

token

Content-Type

Yes

String

Content-Type

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

curve

Array of Curve objects

Curve

Table 4 Curve

Parameter

Type

Description

in

Float

Inbound bandwidth.

out

Float

Outbound bandwidth.

time

Integer

Timestamp

Example Requests

GET https://{endpoint}/v2/aad/domains/waf-info/flow/bandwidth?value_type=mean&start_time=1727271941686&end_time=1727358311686

Example Responses

Status code: 200

{
  "curve" : [ {
    "in" : 0,
    "out" : 0,
    "time" : 1772553600000
  }, {
    "in" : 0,
    "out" : 0,
    "time" : 1772553660000
  } ]
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.