All Products
Search
Document Center

Intelligent Media Services:QueryDNAJobList

Last Updated:Sep 02, 2026

Queries DNA jobs by calling QueryDNAJobList.

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 DNA jobs to query. You can specify up to 10 job IDs at a time, separated by commas (,).

88c6ca184c0e47098a5b665e2a12****

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

25818875-5F78-4A13-BEF6-D7393642CA58

JobList

array<object>

The DNA job information.

array<object>

DNAJob

DNAResult

string

The DNA result link.

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

PrimaryKey

string

The unique primary key of the video. The uniqueness is guaranteed by the user.

3ca84a39a9024f19853b21be9cf9****

DBId

string

The ID of the DNA library.

2288c6ca184c0e47098a5b665e2a12****

CreationTime

string

The time when the job was created.

2022-12-28T03:21:37Z

FinishTime

string

The time when the job was completed.

2022-12-28T03:21:44Z

Status

string

The job status. Valid values:

  • Queuing: The job is queued.

  • Analysing: The job is being analyzed.

  • Success: The job succeeded.

  • Fail: The job failed.

Queuing

Message

string

The error message of the job execution.

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

Config

string

The DNA configuration.

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

UserData

string

The custom data.

testdna

Code

string

The error code of the job execution.

"InvalidParameter.ResourceNotFound"

Input

object

The input file.

Type

string

The type of the input file. Valid values:

  1. OSS: an OSS file address.

  2. Media: a media asset ID.

Media

Media

string

The input file information. Both OSS addresses and media asset IDs are supported. The OSS address rules are as follows:

  1. oss://bucket/object

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

In the preceding rules, bucket is the name of the OSS bucket that is in the same region as the current project, and object is the file path.

1b1b9cd148034739af413150fded****

Id

string

The job ID.

88c6ca184c0e47098a5b665e2a12****

The content of DNAResult is Array of VideoMatchInfo, where:

VideoMatchInfo details

NameTypeDescription
PrimaryKeyStringThe unique primary key of the matched file.
GlobalSimilarityDoubleThe overall similarity.
VideoMatchSegmentsArray of VideoMatchSegmentThe matching segment information for video/image-to-video search.
AudioMatchSegmentsArray of AudioMatchSegmentThe matching segment information for audio-to-audio search.
TextMatchSegmentsArray of TextMatchSegmentThe matching segment information for text-to-text search.

VideoMatchSegment/AudioMatchSegment details

NameTypeDescription
StartTimeDoubleThe start time of the input video/audio.
EndTimeDoubleThe end time of the input video/audio.
MasterStartTimeDoubleThe start time of the video/audio in the library.
MasterEndTimeDoubleThe end time of the video/audio in the library.
SimilarityDoubleThe confidence score of the matching segment.

TextMatchSegment details

NameTypeDescription
StartDoubleThe start time of the query matching segment.
EndDoubleThe end time of the query matching segment.
QueryTextStringThe matched text segment from the query.
MasterTextStringThe matched text segment from the library.
SimilarityDoubleThe confidence score of the matching segment.

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.