Updated on 2026-01-06 GMT+08:00

Bandwidth Curve

Function

Bandwidth curve

Calling Method

For details, see Calling APIs.

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

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

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.