SubmitSmartAudit

Updated at:

Submit a smart audit request.

Operation description

The Quanmiao product supports iframe embedding. For more information, see Customer integration: Quanmiao public cloud iframe customization guide.

Supported audit types

Audit category overview

Audit categoryDescription
Content accuracyErrors due to phonetic or visual similarity; punctuation errors; misuse of Chinese structural particles (的/地/得); inappropriate word choice or syntax errors; incorrect personal names; incorrect place names; incorrect references; errors in proper nouns or terminology
Formatting issuesInconsistent capitalization; numeric errors; nonstandard units of measurement; use of traditional Chinese characters
Content structure issuesRedundant text; repeated segments; logical contradictions; unfilled placeholders
Political sensitivity issuesSensitive content or directional risks; name or sorting errors; conventional phrasing errors; nonstandard institutional names; misquoting important speeches; references to disgraced officials; mismatched name-title pairings; incorrect title expressions
Security and compliance issuesViolence or terrorism; pornography; prohibited content; insults; disgraced celebrities; personal privacy violations; reporting standard violations
Legal errorsIncorrect citation of laws and regulations; errors in legal provisions
Other domain-specific errorsViolations of advertising law; financial information errors; scientific or technical term errors
Factuality checkFactuality verification: correct or incorrect items
Image auditImage content moderation
Custom word libraryCustom word library audit
Rule library auditRule library audit
English proofreadingTerminology standardization; verb tense accuracy; punctuation and quotation marks; spelling and language variants; sentence structure and clarity; numeric and percentage formatting; standardized phrasing

Sub-audit code values

1. Content accuracy

DescriptionCode
Phonetic or visual similarity errorsPhoneticSimilarError
Punctuation errorsPunctuationError
Misuse of Chinese structural particles (的/地/得)ParticleUsageError
Inappropriate word choice or syntax errorsWordError
Incorrect personal namesPersonNameError
Incorrect place namesLocationError
Incorrect referencesReferenceError
Errors in proper nouns or terminologyNounItemError

2. Formatting issues

DescriptionCode
Inconsistent capitalizationCapitalizationError
Numeric errorsNumberError
Nonstandard units of measurementUnitError
Use of traditional Chinese charactersTraditionalChineseError

3. Content structure issues

DescriptionCode
Redundant textWordRedundancy
Repeated segmentsDuplicateError
Logical contradictionsLogicContradiction
Unfilled placeholdersPlaceholderNotFilled

4. Political sensitivity issues

DescriptionCode
Sensitive content or directional risksSensitiveContentRisk
Name or sorting errorsNameOrderError
Conventional phrasing errorsConventionalExpressionError
Nonstandard institutional namesDepartmentNameError
Misquoting important speechesImportantSpeechError
References to disgraced officialsFallenOfficialError
Mismatched name-title pairingsLeaderTitleMatchError
Incorrect title expressionsTitleError

5. Security and compliance issues

DescriptionCode
Violence or terrorismViolenceTerrorismError
PornographyPornographyError
Prohibited contentProhibitedContentError
InsultsInsultError
Disgraced celebritiesDisgracedArtistError
Personal privacy violationsPersonalPrivacyError
Reporting standard violationsReportingStandardError
DescriptionCode
Incorrect citation of laws and regulationsLegalReferenceError
Errors in legal provisionsLegalProvisionsError

7. Other domain-specific errors

DescriptionCode
Violations of advertising lawAdvertisingProhibitedWordsError
Financial information errorsFinancialInformationError
Scientific or technical term errorsTechnicalTermError

8. Factuality check

DescriptionCode
Factuality verification – correct itemCorrectFact
Factuality verification – incorrect itemWrongFactError

9. Image audit

DescriptionCode
Image auditImageAudit

10. Custom word library

DescriptionCode
Custom word libraryWordLibrary

11. Rule library audit

DescriptionCode
Rule library auditWrongQuestionBook

12. English proofreading

DescriptionCode
Terminology standardizationTerminologyNormalisation
Verb tense accuracyVerbTenseAccuracy
Punctuation and quotation marksPunctuationAndQuotationMarks
Spelling and language variantsSpellingAndLanguageVariety
Sentence structure and claritySentenceStructureAndClarity
Numeric and percentage formattingNumericAndPercentageStyle
Other standardized phrasingOthers

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.

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

aimiaobi:SubmitSmartAudit

create

*All Resource

*

NoneNone

Request parameters

Parameter

Type

Required

Description

Example

WorkspaceId

string

No

xxxx

Text

string

No

Content to be audited

“你好呀”

SubCodes

array

No

List of sub-audit codes

string

No

Sub-audit code. For a full list of sub-audit codes, see the ListAuditContentErrorTypes API or the parameter notes below.

PunctuationError

imageUrls

array<object>

No

Parameters for image audit (deprecated; use ImageUrlList instead)

object

No

Parameters for image audit

url

string

No

The URL can be a web link or a base64-encoded string.

https://www.example.com/xxx.jpg

id

string

No

Unique image identifier

3HAZTv62M0vkyz5B

ImageUrlList

array<object>

No

Parameters for image audit

object

No

Url

string

No

The URL can be a web link or a base64-encoded string.

http://www.example.com/xxx.png

Id

string

No

Unique image identifier

xxxx

NoteId

string

No

Rule library ID for rule-based auditing (default: Default)

note_1_486

TermsName

string

No

Word library name for dictionary-based auditing (default: Default)

Default

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Request ID

xxxxx

Success

boolean

Indicates whether the request succeeded.

true

Code

string

Error code

DataNotExists

Message

string

Error message

Error message

HttpStatusCode

integer

HTTP status code

400

Data

object

Task response object

TaskId

string

Task ID

xxxx

Examples

Success response

JSON format

{
  "RequestId": "xxxxx",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "错误消息",
  "HttpStatusCode": 400,
  "Data": {
    "TaskId": "xxxx"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.