Help Center/ Anti-DDoS Service/ API Reference/ AAD APIs/ AAD Overview/ Querying the Number of New Connections and the Number of Concurrent Connections
Updated on 2026-01-06 GMT+08:00

Querying the Number of New Connections and the Number of Concurrent Connections

Function

This API is used to query the number of new connections and the number of concurrent connections.

Calling Method

For details, see Calling APIs.

URI

GET /v2/aad/instances/{instance_id}/ddos-info/flow/connection-numbers

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

instance_id

Yes

String

Instance ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

start_time

Yes

String

Start time.

end_time

Yes

String

End time.

ip

Yes

String

AAD IP address

limit

No

Integer

Maximum records.

offset

No

Integer

Offset.

Request Parameters

Table 3 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 4 Response body parameters

Parameter

Type

Description

data

Array of ListConnectionNumberData objects

items

Table 5 ListConnectionNumberData

Parameter

Type

Description

name

String

Connection name.

list

Array of ListConnectionNumberDataList objects

items

Table 6 ListConnectionNumberDataList

Parameter

Type

Description

time

Integer

Timestamp (ms).

value

Integer

Number of connections

Status code: 400

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_description

String

Error description.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

400

Error response

Error Codes

See Error Codes.