All Products
Search
Document Center

ApsaraVideo VOD:Automated review completed

Last Updated:Jan 28, 2026

This topic describes the automated review completed event, its notification content, and a callback example.

Event type

AIMediaAuditComplete

Event description

The AIMediaAuditComplete event is generated when an automated review is complete.

Note
  • ApsaraVideo VOD stores images from automated review results in free storage for 2 weeks. After this period, the images are automatically deleted.

  • The AIMediaAuditComplete event is the AI Processing Completed event in the ApsaraVideo VOD console.

Event content

Name

Type

Required

Description

EventTime

String

Yes

The time when the event was generated. The time is in UTC and uses the yyyy-MM-ddTHH:mm:ss:SSSZ format.

EventType

String

Yes

The event type. This is a required parameter. The value is fixed to AIMediaAuditComplete.

JobId

String

Yes

The job ID. This ID is the same as the JobId returned by the operation to submit the automated review job.

MediaId

String

Yes

The video ID.

Status

String

Yes

The job status.

  • success: The operation was successful.

  • fail: Failed.

Code

String

No

The error code of the job. This field is returned when an error occurs in the review.

Message

String

No

The error message of the job. This field is returned when an error occurs in the review.

Data

String

Yes

The job result data, which is a JSON object.

Callback example

Example callback:

  • For HTTP callbacks, the following content is the body of the POST request.

  • For MNS callbacks, the following content is the message body.

{
    "EventTime": "2022-10-20T10:29:46:540Z",
    "EventType": "AIMediaAuditComplete",
    "JobId": "43q91jdh7df****",
    "MediaId": "SHEN38505NDF9****",
    "Status": "success",
    "Code": "0",
    "Message": "OK",
    "Data": {
            "AbnormalModules":"video",
            "Label":"porn",
            "Suggestion":"review",
            "VideoResult":{
                "Suggestion":"review",
                "TerrorismResult":{
                    "TopList":[
                        {
                            "Score":"100.0000000000",
                            "Label":"normal",
                            "Timestamp":"3005",
                            "Url":"http://example-bucket-****.oss-cn-shanghai.aliyuncs.com/aivideocensor/1****.jpg"
                        },
                        {
                            "Score":"100.0000000000",
                            "Label":"normal",
                            "Timestamp":"15005",
                            "Url":"http://example-bucket-****.oss-cn-shanghai.aliyuncs.com/aivideocensor/1****.jpg"
                        }
                    ],
                    "Suggestion":"pass",
                    "MaxScore":"100.0000000000",
                    "AverageScore":"100.0000000000",
                    "Label":"normal",
                    "CounterList":[
                        {
                            "Label":"terrorism",
                            "Count":0
                        },
                        {
                            "Label":"outfit",
                            "Count":0
                        },
                        {
                            "Label":"logo",
                            "Count":0
                        },
                        {
                            "Label":"weapon",
                            "Count":0
                        },
                        {
                            "Label":"politics",
                            "Count":0
                        },
                        {
                            "Label":"others",
                            "Count":0
                        },
                        {
                            "Label":"normal",
                            "Count":16
                        }
                    ]
                },
                "Label":"porn",
                "PornResult":{
                    "TopList":[
                        {
                            "Score":"92.4800000000",
                            "Label":"sexy",
                            "Timestamp":"1005",
                            "Url":"http://example.aliyundoc.com/aivideocensor/****.jpg"
                        },
                        {
                            "Score":"91.8200000000",
                            "Label":"sexy",
                            "Timestamp":"9005",
                            "Url":"http://example.aliyundoc.com/aivideocensor/****.jpg"
                        }
                    ],
                    "Suggestion":"review",
                    "MaxScore":"92.4800000000",
                    "AverageScore":"81.7066666667",
                    "Label":"sexy",
                    "CounterList":[
                        {
                            "Label":"porn",
                            "Count":0
                        },
                        {
                            "Label":"sexy",
                            "Count":6
                        },
                        {
                            "Label":"normal",
                            "Count":10
                        }
                    ]
                }
            },
            "    CoverResult":[
                {
                    "Suggestion":"pass",
                    "Type":"cover",
                    "Label":"normal",
                    "Url":"http://example.aliyundoc.com/43q91jdh7df****.jpg",
                    "Result":[
                        {
                            "Suggestion":"pass",
                            "Score":"65.25",
                            "Label":"normal",
                            "Scene":"porn"
                        },
                        {
                            "Suggestion":"pass",
                            "Score":"100.0",
                            "Label":"normal",
                            "Scene":"terrorism"
                        }
                    ]
                }
            ],
            "TitleResult":[
                {
                    "Suggestion":"pass",
                    "Type":"title",
                    "Score":"99.91",
                    "Content":"1111",
                    "Label":"normal",
                    "Scene":"antispam"
                }
            ]
        }
}