GetSmartAuditResult

Updated at:

Queries the result of an automated review.

Debug

You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.

Debug

Authorization information

The following table lists the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles permission to call this API. Details are as follows:

  • Operation: the specific permission point.

  • Access level: the access level of each operation. Valid values: Write, Read, or List.

  • Resource type: the resource types that support authorization for the operation. Details are as follows:

    • For required resource types, an asterisk (*) is added before them.
    • For operations that do not support resource-level authorization, 全部资源 is used.
  • Condition key: the condition keys defined by the cloud service itself.

  • Dependent action: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.

OperationAccess levelResource typeCondition keyDependent action
aimiaobi:GetSmartAuditResultget
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringNollm-xx
TaskIdstringNo

Task ID

3f7045e099474ba28ceca1b4eb6d6e21

Response elements

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

xxxxx
Successboolean

Indicates whether the request was successful.

true
Codestring

Error code

DataNotExists
Messagestring

Error message

Error message
HttpStatusCodeinteger

HTTP error code

400
Dataobject

The review result.

Statusstring

Task execution status. PENDING: pending, RUNNING: running, SUCCESSED: succeeded, SUSPENDED: suspended, FAILED: failed, CANCELLED: cancelled.

SUCCESSED
ErrorItemDetailsarray<object>

The list of review error details.

errorItemDetailsobject
Contextstring

The original text segment.

Original text segment
MajorCodeDescstring

The description of the primary error.

Content accuracy
ErrorWordstring

The incorrect word.

”xxx“
MajorCodestring

The primary error code.

ContentAccuracy
RightWordstring

The suggested correction.

“xxx”
Reasonstring

The error description.

Chinese double quotation marks must be used correctly in pairs: left double quotation mark first, then right double quotation mark
Urlstring

In image review scenarios, the public URL of the accessible image that triggered the review.

http://www.example.com/xxxx.jpg
Offsetinteger

The offset index of the incorrect word in the full text.

0
CheckIdstring

The unique ID of the review item.

The unique ID of the review item.
SubClassCodestring

The sub-error code.

PunctuationError
ErrorLevelinteger

The error level (1: critical, 2: warning, 3: notice, 4: suggestion).

2
SubClassDescstring

The description of the sub-error.

Punctuation error
ContextOffsetinteger

The offset index of the incorrect word within the context.

0
ErrorMessagestring

When the final status is not SUCCESSED, read this error message to identify the error.

Review cancelled

Examples

Success response

JSON format

{
  "RequestId": "xxxxx",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "错误消息",
  "HttpStatusCode": 400,
  "Data": {
    "Status": "SUCCESSED",
    "ErrorItemDetails": [
      {
        "Context": "原文片段",
        "MajorCodeDesc": "内容准确性",
        "ErrorWord": "”xxx“",
        "MajorCode": "ContentAccuracy",
        "RightWord": "“xxx”",
        "Reason": "中文双引号应成对正确使用,先左双引号,后右双引号",
        "Url": "http://www.example.com/xxxx.jpg",
        "Offset": 0,
        "CheckId": "审核项唯一标识。\n\n",
        "SubClassCode": "PunctuationError",
        "ErrorLevel": 2,
        "SubClassDesc": "标点符号错误\n",
        "ContextOffset": 0
      }
    ],
    "ErrorMessage": "审核被取消"
  }
}

Error codes

Visit the Error Center to view more error codes.