SubmitSmartAudit
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 category | Description |
|---|---|
| Content accuracy | Errors 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 issues | Inconsistent capitalization; numeric errors; nonstandard units of measurement; use of traditional Chinese characters |
| Content structure issues | Redundant text; repeated segments; logical contradictions; unfilled placeholders |
| Political sensitivity issues | Sensitive 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 issues | Violence or terrorism; pornography; prohibited content; insults; disgraced celebrities; personal privacy violations; reporting standard violations |
| Legal errors | Incorrect citation of laws and regulations; errors in legal provisions |
| Other domain-specific errors | Violations of advertising law; financial information errors; scientific or technical term errors |
| Factuality check | Factuality verification: correct or incorrect items |
| Image audit | Image content moderation |
| Custom word library | Custom word library audit |
| Rule library audit | Rule library audit |
| English proofreading | Terminology 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
| Description | Code |
|---|---|
| Phonetic or visual similarity errors | PhoneticSimilarError |
| Punctuation errors | PunctuationError |
| Misuse of Chinese structural particles (的/地/得) | ParticleUsageError |
| Inappropriate word choice or syntax errors | WordError |
| Incorrect personal names | PersonNameError |
| Incorrect place names | LocationError |
| Incorrect references | ReferenceError |
| Errors in proper nouns or terminology | NounItemError |
2. Formatting issues
| Description | Code |
|---|---|
| Inconsistent capitalization | CapitalizationError |
| Numeric errors | NumberError |
| Nonstandard units of measurement | UnitError |
| Use of traditional Chinese characters | TraditionalChineseError |
3. Content structure issues
| Description | Code |
|---|---|
| Redundant text | WordRedundancy |
| Repeated segments | DuplicateError |
| Logical contradictions | LogicContradiction |
| Unfilled placeholders | PlaceholderNotFilled |
4. Political sensitivity issues
| Description | Code |
|---|---|
| Sensitive content or directional risks | SensitiveContentRisk |
| Name or sorting errors | NameOrderError |
| Conventional phrasing errors | ConventionalExpressionError |
| Nonstandard institutional names | DepartmentNameError |
| Misquoting important speeches | ImportantSpeechError |
| References to disgraced officials | FallenOfficialError |
| Mismatched name-title pairings | LeaderTitleMatchError |
| Incorrect title expressions | TitleError |
5. Security and compliance issues
| Description | Code |
|---|---|
| Violence or terrorism | ViolenceTerrorismError |
| Pornography | PornographyError |
| Prohibited content | ProhibitedContentError |
| Insults | InsultError |
| Disgraced celebrities | DisgracedArtistError |
| Personal privacy violations | PersonalPrivacyError |
| Reporting standard violations | ReportingStandardError |
6. Legal errors
| Description | Code |
|---|---|
| Incorrect citation of laws and regulations | LegalReferenceError |
| Errors in legal provisions | LegalProvisionsError |
7. Other domain-specific errors
| Description | Code |
|---|---|
| Violations of advertising law | AdvertisingProhibitedWordsError |
| Financial information errors | FinancialInformationError |
| Scientific or technical term errors | TechnicalTermError |
8. Factuality check
| Description | Code |
|---|---|
| Factuality verification – correct item | CorrectFact |
| Factuality verification – incorrect item | WrongFactError |
9. Image audit
| Description | Code |
|---|---|
| Image audit | ImageAudit |
10. Custom word library
| Description | Code |
|---|---|
| Custom word library | WordLibrary |
11. Rule library audit
| Description | Code |
|---|---|
| Rule library audit | WrongQuestionBook |
12. English proofreading
| Description | Code |
|---|---|
| Terminology standardization | TerminologyNormalisation |
| Verb tense accuracy | VerbTenseAccuracy |
| Punctuation and quotation marks | PunctuationAndQuotationMarks |
| Spelling and language variants | SpellingAndLanguageVariety |
| Sentence structure and clarity | SentenceStructureAndClarity |
| Numeric and percentage formatting | NumericAndPercentageStyle |
| Other standardized phrasing | Others |
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
Actionelement 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
Resourceelement of the policy. - For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the
Resourceelement of the policy.
- For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the
-
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
| None | None |
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. | |
| 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. | |
| 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.