Help Center/ Resource Governance Center/ API Reference/ APIs/ Checking Governance Maturity/ Querying Latest Successful Governance Check
Updated on 2025-07-11 GMT+08:00

Querying Latest Successful Governance Check

Function

This API is used to query the details of the latest successful governance maturity check.

URI

GET https://{endpoint}/v1/best-practice/detection-details

Request Parameters

None

Response Parameters

Status code: 200

Table 1 Response body parameters

Parameter

Type

Description

[items]

Array of BestPracticeCheckItemDetail objects

Result of the check against best practices.

Table 2 BestPracticeCheckItemDetail

Parameter

Type

Description

check_item

Integer

Check item ID.

check_item_name

String

Check item description.

risk_description

String

Risk description of a check item.

result

String

Check result.

scene

String

Scenarios of eight domains.

risk_level

String

Risk level.

Status code: 403

Table 3 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

request_id

String

Unique ID of the request.

encoded_authorization_message

String

Encrypted error message.

details

Array of ForbiddenErrorDetail objects

Error message indicating no permissions for cross-service invoking.

Table 4 ForbiddenErrorDetail

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Requests

Querying the details of the latest successful governance maturity check

GET https://{endpoint}/v1/best-practice/detection-details

Example Responses

Status code: 200

Request sent.

{
  "check_item" : 1102,
  "check_item_name" : "string",
  "risk_description" : "string",
  "result" : "Compliant",
  "scene" : "string",
  "risk_level" : "high"
}

Status Codes

Status Code

Description

200

Request sent.

403

No permissions.

Error Codes

See Error Codes.