All Products
Search
Document Center

Intelligent Media Services:QueryDNAJobList

Last Updated:Mar 30, 2026

Queries a list of media fingerprint analysis jobs.

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

ice:QueryDNAJobList

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

JobIds

string

No

The IDs of the media fingerprint analysis jobs that you want to query. We recommend that you query at most 10 jobs at a time. Separate multiple job IDs with commas (,).

88c6ca184c0e47098a5b665e2a12****

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

25818875-5F78-4A13-BEF6-D7393642CA58

JobList

array<object>

The queried media fingerprint analysis jobs.

array<object>

The queried media fingerprint analysis job.

DNAResult

string

The URL of the media fingerprint analysis result.

http://test_bucket.oss-cn-shanghai.aliyuncs.com/fingerprint/video/search_result/5/5.txt

PrimaryKey

string

The primary key of the video. You must make sure that each primary key is unique.

3ca84a39a9024f19853b21be9cf9****

DBId

string

The ID of the media fingerprint library.

2288c6ca184c0e47098a5b665e2a12****

CreationTime

string

The time when the job was created.

2022-12-28T03:21:37Z

FinishTime

string

The time when the job was complete.

2022-12-28T03:21:44Z

Status

string

The job state. Valid values:

  • Queuing: The job is waiting in the queue.

  • Analysing: The job is in progress.

  • Success: The job is successful.

  • Fail: The job failed.

Queuing

Message

string

The returned message.

"The resource operated \"a887d0b***d805ef6f7f6786302\" cannot be found"

Config

string

The configurations of the media fingerprint analysis job.

{"SaveType": "save","MediaType"":"video"}

UserData

string

The user-defined data.

testdna

Code

string

The response code.

"InvalidParameter.ResourceNotFound"

Input

object

The details of the input file.

Type

string

The type of the input file. Valid values:

  1. OSS: Object Storage Service (OSS) object.

  2. Media: media asset.

Media

Media

string

The input file. The file can be an OSS object or a media asset. The path of an OSS object can be in one of the following formats:

1. oss://bucket/object

2. http(s)://bucket.oss-[regionId].aliyuncs.com/object

In the preceding paths, bucket indicates an OSS bucket that resides in the same region as the current project, and object indicates the path of the object in the bucket.

1b1b9cd148034739af413150fded****

Id

string

The job ID.

88c6ca184c0e47098a5b665e2a12****

The value of DNAResult is an array of VideoMatchInfo.

VideoMatchInfo

ParameterTypeDescription
PrimaryKeyStringThe unique primary key of the file.
GlobalSimilarityDoubleThe overall similarity.
VideoMatchSegmentsArray of VideoMatchSegmentThe video segments that match based on video search or video search by image.
AudioMatchSegmentsArray of AudioMatchSegmentThe audio segments that match based on audio search.
TextMatchSegmentsArray of TextMatchSegmentThe text segments that match based on text search.

VideoMatchSegment or AudioMatchSegment

ParameterTypeDescription
StartTimeDoubleThe start time of the input video or audio.
EndTimeDoubleThe end time of the input video or audio.
MasterStartTimeDoubleThe start time of the matching video or audio in the media fingerprint library.
MasterEndTimeDoubleThe end time of the matching video or audio in the media fingerprint library.
SimilarityDoubleThe similarity of the input segment against the matching segments that have similar fingerprints to the input segment in the media fingerprint library.

TextMatchSegment

ParameterTypeDescription
StartDoubleThe start time of the input segment.
EndDoubleThe end time of the input segment.
QueryTextStringThe input text for text fingerprint analysis.
MasterTextStringThe text segment that has similar fingerprints to the input text in the text fingerprint library.
SimilarityDoubleThe similarity of the input segment against the matching segments that have similar fingerprints to the input segment in the media fingerprint library.

Examples

Success response

JSON format

{
  "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
  "JobList": [
    {
      "DNAResult": "http://test_bucket.oss-cn-shanghai.aliyuncs.com/fingerprint/video/search_result/5/5.txt",
      "PrimaryKey": "3ca84a39a9024f19853b21be9cf9****",
      "DBId": "2288c6ca184c0e47098a5b665e2a12****",
      "CreationTime": "2022-12-28T03:21:37Z",
      "FinishTime": "2022-12-28T03:21:44Z",
      "Status": "Queuing",
      "Message": "\"The resource operated \\\"a887d0b***d805ef6f7f6786302\\\" cannot be found\"",
      "Config": "{\"SaveType\": \"save\",\"MediaType\"\":\"video\"}",
      "UserData": "testdna",
      "Code": "\"InvalidParameter.ResourceNotFound\"",
      "Input": {
        "Type": "Media",
        "Media": "1b1b9cd148034739af413150fded****"
      },
      "Id": "88c6ca184c0e47098a5b665e2a12****"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.