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

Querying the Threat Trend

Function

This API is used to obtain the security threat trend analysis of the current project.

Calling Method

For details, see Calling APIs.

URI

GET /v2/{project_id}/sec-ops/situation-dashboard/threat-trend

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Unique project ID.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

api_attacked_variation

Array of integers

API attacks over time.

database_attacked_variation

Array of integers

Database attacks over time.

time_axis

Array of longs

Timeline.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.