Queries AI templates.
Operation description
- Regions that support this operation: China (Beijing), China (Shanghai), and Singapore.
- You can call this operation to query AI templates of a specified type.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TemplateType | string | Yes | The type of the AI template. Valid values:
| AIMediaAudit |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "75B7BC67-FB8C-4653-4788-F4B01ED2****",
"TemplateInfoList": [
{
"CreationTime": "2020-07-08T06:50:45Z",
"IsDefault": "NoDefault",
"TemplateType": "AIMediaAudit",
"TemplateConfig": "{\"AuditRange\":[\"text-title\",\"video\"],\"AuditContent\":[\"screen\"],\"AuditItem\":[\"terrorism\",\"porn\"],\"AuditAutoBlock\":\"yes\"}",
"TemplateName": "DemoAITemplate",
"Source": "Custom",
"TemplateId": "1706a0063dd733f6a823ef32e0a5****",
"ModifyTime": "2020-07-08T06:58:45Z"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.