tencent cloud

文档反馈

DescribeRiskAssessment

最后更新时间:2024-12-27 15:35:28

1. API Description

Domain name for API request: rce.intl.tencentcloudapi.com.

This API is used to query risk assessment results.

A maximum of 3000 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeRiskAssessment.
Version Yes String Common Params. The value used for this API: 2020-11-03.
Region No String Common Params. This parameter is not required.
BizCryptoData Yes InputBizCryptoData Business parameters

3. Output Parameters

Parameter Name Type Description
Data OutputRiskAssessment Business output parameters.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 DescribeRiskAssessment

describe risk assessment

Input Example

POST / HTTP/1.1
Host: rce.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRiskAssessment
<Common request parameters>

{
    "BizCryptoData": {
        "IsAuthorized": "1",
        "CryptoType": "1",
        "CryptoContent": "tLMs/D/1SHZD/DfNsGCu48LX******JTUiY3xLw="
    }
}

Output Example

{
    "Response": {
        "Data": {
            "UUid": "c9fca58f-de00-44b8-8c42-50b91a092f9c",
            "Code": 0,
            "Message": "OK",
            "Value": {
                "RiskLevel": "pass",
                "RiskType": [
                    1,
                    101,
                    201,
                    2012
                ]
            }
        },
        "RequestId": "a6227506-5f00-43cf-9a4c-66fe931cefc9"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
AuthFailure CAM signature/authentication error.
AuthFailure.CapSigError Captcha signature error.
AuthFailure.Expired Request expired.
DryRunOperation DryRun operation means the request will be successful, but the DryRun parameter is passed.
FailedOperation Operation failed.
InternalError Internal error.
InternalError.BackendLogicError Business system logic error.
InternalError.ConnectDBTimeout Connection to the database timed out.
InternalError.SignBackendError Sign backend error.
InvalidParameter Parameter error.
InvalidParameter.CapSigError Captcha signature error.
InvalidParameter.ParamError Parameter error.
InvalidParameter.UrlError URL error.
InvalidParameter.VersionError Version error.
InvalidParameterValue Parameter value error.
InvalidParameterValue.BadBody BadBody。
InvalidParameterValue.BodyTooLarge The request packet is too large.
InvalidParameterValue.CapMisMatch Captcha mismatch.
InvalidParameterValue.HttpMethodError HTTP method error.
InvalidParameterValue.InvalidDate Date value error.
InvalidParameterValue.InvalidLimit Incorrect PageLimit value.
InvalidParameterValue.InvalidNum PageNum value error.
InvalidParameterValue.InvalidSrvId SrvId value error.
InvalidParameterValue.InvalidStride Stride value error.
LimitExceeded The quota limit is exceeded.
LimitExceeded.FreqCnt Quota exceeded.
LimitExceeded.IpFreqCnt Quota exceeded (user IP address).
LimitExceeded.KeyFreqCnt Restricted keyword frequency control.
LimitExceeded.ReplayAttack Replay attack.
MissingParameter Parameters are missing
OperationDenied Operation denied.
RequestLimitExceeded Too many and frequent requests.
ResourceInUse The resource is occupied.
ResourceInsufficient Insufficient resources.
ResourceNotFound The resource does not exist.
ResourceNotFound.InterfaceNotFound The API does not exist.
ResourceUnavailable Resources are unavailable.
ResourceUnavailable.PermissionDenied Service permission not activated.
ResourcesSoldOut Resources are sold out.
UnauthorizedOperation Unauthorized operation.
UnauthorizedOperation.AuthFailed Authentication failed.
UnknownParameter Unknown parameter error.
UnknownParameter.SecretIdNotExists The key does not exist.
UnsupportedOperation The operation is not supported.