All Products
Search
Document Center

ApsaraVideo VOD:GetMediaAuditResultTimeline

Last Updated:Jul 21, 2026

Retrieves the timestamps of all screenshots that contain violations.

Operation description

Note

By default, only screenshot details for violations and suspected violations are returned. No results are returned for compliant videos and images.

This operation is supported only in the Singapore region.

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.

Test

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

vod:GetMediaAuditResultTimeline

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

MediaId

string

Yes

The video ID.

93ab850b4f6f*****54b6e91d24d81d4

Response elements

Element

Type

Description

Example

object

The returned data.

RequestId

string

The request ID.

6438BD76-D523-46FC-956F-****

MediaAuditResultTimeline

object

The collection of automated review result timelines.

Porn

array<object>

The collection of pornography detection timelines.

object

Score

string

The score of the video snapshot in the pornographic content review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100.00

Timestamp

string

The timestamp of the snapshot in the video. Unit: milliseconds.

3005

Label

string

The category of the review result. Valid values:

  • porn

  • sexy

  • normal

porn

Terrorism

array<object>

The collection of terrorism detection timelines.

object

Score

string

The score of the video snapshot in the terrorist content review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100.00

Timestamp

string

The timestamp of the snapshot in the video. Unit: milliseconds.

3005

Label

string

The category of the review result. Valid values:

  • normal

  • bloody

  • explosion

  • outfit

  • logo

  • weapon

  • politics

  • violence

  • crowd

  • parade

  • carcrash

  • flag

  • location

  • others

normal

object

Score

string

The score of the video snapshot in the logo review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100

Timestamp

string

The timestamp of the snapshot in the video. Unit: milliseconds.

13

Label

string

The category of the review result. Valid values:

  • normal: normal content.

  • TV: controlled TV station logo.

  • trademark: trademark.

logo

Live

array<object>

The collection of undesirable scene timelines.

object

Score

string

The score of the video snapshot in the undesirable content review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100

Timestamp

string

The timestamp of the snapshot in the video. Unit: milliseconds.

12

Label

string

The categories of undesired content review results. Valid values:

  • normal: normal content.

  • meaningless: meaningless content, such as a black or white screen.

  • PIP: picture-in-picture.

  • smoking: smoking.

  • drivelive: live broadcasting in a running vehicle.

pip

Ad

array<object>

The collection of advertisement detection timelines.

object

Score

string

The score of the video snapshot in the ad review result. Valid values: [0,100]. The value is rounded down to 10 decimal places. The score is representative of the confidence.

100

Timestamp

string

The timestamp of the snapshot in the video. Unit: milliseconds.

10

Label

string

The category of the review result. Valid values:

  • normal: normal content.

  • ad: other ads.

  • politics: political content in text.

  • porn: pornographic content in text.

  • abuse: abuse in text.

  • terrorism: terrorist content in text.

  • contraband: prohibited content in text.

  • spam: spam content.

  • npx: illegal ad.

  • qrcode: QR code.

  • programCode: mini program code.

ad

Examples

Success response

JSON format

{
  "RequestId": "6438BD76-D523-46FC-956F-****",
  "MediaAuditResultTimeline": {
    "Porn": [
      {
        "Score": "100.00",
        "Timestamp": "3005",
        "Label": "porn"
      }
    ],
    "Terrorism": [
      {
        "Score": "100.00",
        "Timestamp": "3005",
        "Label": "normal"
      }
    ],
    "Logo": [
      {
        "Score": "100",
        "Timestamp": "13",
        "Label": "logo"
      }
    ],
    "Live": [
      {
        "Score": "100",
        "Timestamp": "12",
        "Label": "pip"
      }
    ],
    "Ad": [
      {
        "Score": "100",
        "Timestamp": "10",
        "Label": "ad"
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.