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

Obtaining the Security Score

Function

This API is used to obtain the overall security situation score of the current project.

Calling Method

For details, see Calling APIs.

URI

GET /v2/{project_id}/sec-ops/situation-dashboard/score

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

analysis_status

Integer

Analysis status. 0: completed, 1: analyzing, 2: analysis failed.

last_analyze_time

Long

Analysis completion time.

level

String

Risk level.

score

String

Score.

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.