SubmitReviewInfo

Updated at:

Saves review results. This operation is supported only for legacy intelligent dialogue analysis.

Operation description

Manually reviews files that have completed quality inspection. After the review is complete, call this operation to save the review results. This allows you to manually verify whether the rules identified as hits by the system are actual hits or false positives. You can refer to the file review feature in the console. For more information, see File review.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

sca:SubmitReviewInfo

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

JsonStr

string

Yes

The complete JSON string. For more information, see the following details.

{ "taskId": "Task ID", "vid": "File ID" }

BaseMeAgentId

integer

No

The workspace ID.

12345

JSON string of request parameters

PropertyValue typeRequiredDescription
taskIdStringYesThe task ID.
vidStringYesThe file ID. The value is a string, which is the vid in GetResultToReview.
commentsStringNoThe review comments.
handScoreIdListListNoThe IDs of the sub-scoring items to which manual scoring is added. Example: [1345, 1422].
jsonReviewResultStringNoThe review results for specific rules. The value is a JSON string. The structure is as follows.

Structure of the jsonReviewResult request parameter

PropertyValue typeRequiredDescription
reviewInfoListListYesThe review structure information.
complainInfoListListNoThe appeal handling structure information.

Structure of the ReviewInfo request parameter

PropertyValue typeRequiredDescription
ridLongYesThe rule ID.
hitIdStringYesThe hit ID. You can query it in GetResultToReview.
reviewResultIntegerYesIndicates whether the rule is actually hit. Valid values: 0: No. 1: Yes.
changedBooleanNoIndicates whether the rule is modified in this operation. Default value: false.

Structure of the ComplainParam request parameter

PropertyValue typeRequiredDescription
ridLongNoThe rule ID. Leave this field empty if the appeal is for a manual scoring item.
scoreIdLongNoThe scoring item ID. Leave this field empty if the appeal is for a scoring item associated with a rule.
commentsStringYesThe reason.
acceptBooleanNoIndicates whether the appeal is accepted. Valid values: true: Yes. false: No. Default value: true.
finalJudgeBooleanNoIndicates whether this is the final judgment. After the final judgment, no further appeals can be made. Valid values: true: Yes. false: No. Default value: false.

Response elements

Element

Type

Description

Example

object

Code

string

The result code. A value of 200 indicates success.

Note

If the value is not 200, the request failed. You can use this field to determine the cause of the failure.

200

Message

string

The error details when an error occurs. The value is successful when the request is successful.

successful

Data

string

The quality inspection score after the review. This field is returned when the review results are saved.

95

RequestId

string

The request ID.

9987D326-83D9-4A42-B9A5-0B27F9B40539

Success

boolean

Indicates whether the request is successful.

You can use this field to determine whether the request is successful:

  • true: The request is successful.

  • false or null: The request failed.

true

Examples

Success response

JSON format

{
  "Code": "200",
  "Message": "successful",
  "Data": "95",
  "RequestId": "9987D326-83D9-4A42-B9A5-0B27F9B40539",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.