All Products
Search
Document Center

ApsaraVideo Media Processing:QueryFpShotJobList

Last Updated:Jun 15, 2026

Retrieves the results of all types of DNA jobs.

Operation description

  • After you submit a DNA job, the DNA service performs a comparison. Call this API to query the job results.

  • You can query text DNA jobs only in the China (Shanghai) region.

  • This API queries DNA jobs created within the last six months.

QPS limit

The QPS limit for a single user of this API is 100 queries per second. API calls that exceed this limit are throttled, which may impact your business. Plan your calls accordingly. For more information, see QPS limit.

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

mts:QueryFpShotJobList

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

JobIds

string

No

The IDs of the DNA jobs to query. Separate multiple IDs with a comma (,). You can specify up to 10 jobs at a time.

88c6ca184c0e47098a5b665e2a12****

NextPageToken

string

No

The pagination token used to retrieve the next page of results. Omit this parameter for the first request. For subsequent requests, use the token returned in the previous response.

16f01ad6175e4230ac42bb5182cd****

MaximumPageSize

integer

No

The maximum number of jobs to return on each page.

  • Default value: 10.

  • Valid values: 1 to 30.

10

State

string

No

The job status to query. Valid values:

  • All: All jobs.

  • Queuing: The job is awaiting processing.

  • Analysing: Analysis is in progress.

  • Fail: The job failed.

  • Success: The job was successful.

All

StartOfJobCreatedTimeRange

string

No

The start of the time range for querying jobs by their creation time.

  • The time must be in UTC.

  • Use the ISO 8601 standard format: YYYY-MM-DDThh:mm:ssZ.

2021-12-22T03:48:05Z

EndOfJobCreatedTimeRange

string

No

The end of the time range for querying jobs by their creation time.

  • The time must be in UTC.

  • Use the ISO 8601 standard format: YYYY-MM-DDThh:mm:ssZ.

2022-02-14T02:16:07Z

PipelineId

string

No

The pipeline ID. You can obtain the ID from the Media Processing console by navigating to global settings > Pipelines and Callbacks.

b11c171cced04565b1f38f1ecc39****

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

25818875-5F78-4A13-BEF6-D7393642CA58

NextPageToken

string

The token that is required to retrieve the next page of results. You can value of this parameter for the next request.

b11c171cced04565b1f38f1ecc39****

FpShotJobList

object

FpShotJob

array<object>

The DNA jobs.

array<object>

The details of a DNA job.

FpShotResult

object

The query results for a DNA job.

AudioFpShots

object

FpShot

array<object>

The query results for audio DNA.

array<object>

The detailed query results for audio DNA.

PrimaryKey

string

The primary key.

498ac941373341599c4777c8d884****

FpShotSlices

object

FpShotSlice

array<object>

The similar audio segments.

array<object>

The details of the similar audio segments.

Duplication

object

The start time and duration of the audio segment in the DNA library.

Start

string

The start time.

0

Duration

string

The duration.

3

Similarity

string

The similarity of the audio segment.

0

Input

object

The start time and duration of the input audio segment.

Start

string

The start time.

0

Duration

string

The duration.

5

Similarity

string

The overall similarity of the audio.

0

FpShots

object

FpShot

array<object>

The query results for video DNA.

array<object>

The detailed query results for video DNA.

PrimaryKey

string

The primary key of the video.

498ac941373341599c4777c8d884****

FpShotSlices

object

FpShotSlice

array<object>

The similar video segments.

array<object>

The details of the similar video segments.

Duplication

object

The start time and duration of the video segment in the DNA library.

Start

string

The start time.

1260

Duration

string

The duration.

48

Similarity

string

The similarity of the video segment.

0

Input

object

The start time and duration of the input video segment.

Start

string

The start time.

46

Duration

string

The duration.

48

Similarity

string

The overall similarity of the video.

Note

The overall similarity is the average of the similarity values of individual segments. If multiple similar segments are found in the DNA library, multiple hits are returned.

0.8914769887924194

TextFpShots

object

TextFpShot

array<object>

The query results for text DNA.

array<object>

The detailed query results for text DNA.

PrimaryKey

string

The primary key for the text.

3e34ac649945b53a1b0f863ce030****

Similarity

string

The similarity of the text.

1.0

TextFpShotSlices

object

TextFpShotSlice

array<object>

The duplicate text segments.

array<object>

The details of the duplicate text segments.

Similarity

string

The confidence score for the matched segment.

1.0

InputText

string

The text segment from the input that matched a segment in the base library.

今天下雪了

DuplicationText

string

The text segment from the base library that was matched.

今天下雪了

InputFragment

object

The start time and duration of the matched segment in the input file.

Start

string

The start time.

0

Duration

string

The duration.

3

CreationTime

string

The time when the job was created.

2017-01-10T12:00:00Z

FinishTime

string

The time when the job was completed.

0

State

string

The job status. Valid values:

  • Queuing: The job is in the queue.

  • Analyzing: The job is being analyzed.

  • Success: The job is successful.

  • Fail: The job fails.

Success

Message

string

The error message returned when the analysis fails. This parameter is not returned if the job is successful.

The parameter \"Id\" is invalid.A uuid must:1)be comprised of chracters[a-f],numbers[0-9];2)be 32 characters long

FpShotConfig

object

The configuration.

PrimaryKey

string

The unique primary key of the video. You must ensure that this key is unique.

3ca84a39a9024f19853b21be9cf9****

SaveType

string

The storage type. Valid values:

  • nosave: The DNA of the video is not added to the DNA library.

  • save: The DNA of the video is added to the DNA library after deduplication.

  • forcesave: The DNA of the video is forcibly added to the DNA library.

save

FpDBId

string

The ID of the DNA library.

2288c6ca184c0e47098a5b665e2a12****

FileId

string

The file ID.

ebb51ee30f0b49aba959823fa991****

UserData

string

The custom data.

testid-001

Duration

integer

The duration of the input file. Unit: seconds.

5

Code

string

The error code returned when the analysis fails.

InvalidParameter.UUIDFormatInvalid

InputFile

object

The job input.

Object

string

The OSS object that contains the job input.

test.mp4

Location

string

The OSS location that contains the job input.

oss-cn-beiing

Bucket

string

The OSS bucket that contains the job input.

oss-test

PipelineId

string

The pipeline ID.

88c6ca184c0e47098a5b665e2a12****

Id

string

The job ID.

88c6ca184c0e47098a5b665e2a12****

Input

string

The job input.

{"Bucket":"oss-test","Location":"oss-cn-beiing","Object":"test.mp4"}

NonExistIds

object

String

array

The list of non-existent job IDs.

string

The list of non-existent job IDs. This parameter is not returned if no data exists.

ae687c02fe944327ba9631e50da23128****

Examples

Success response

JSON format

{
  "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
  "NextPageToken": "b11c171cced04565b1f38f1ecc39****",
  "FpShotJobList": {
    "FpShotJob": [
      {
        "FpShotResult": {
          "AudioFpShots": {
            "FpShot": [
              {
                "PrimaryKey": "498ac941373341599c4777c8d884****",
                "FpShotSlices": {
                  "FpShotSlice": [
                    {
                      "Duplication": {
                        "Start": "0",
                        "Duration": "3"
                      },
                      "Similarity": "0",
                      "Input": {
                        "Start": "0",
                        "Duration": "5"
                      }
                    }
                  ]
                },
                "Similarity": "0"
              }
            ]
          },
          "FpShots": {
            "FpShot": [
              {
                "PrimaryKey": "498ac941373341599c4777c8d884****",
                "FpShotSlices": {
                  "FpShotSlice": [
                    {
                      "Duplication": {
                        "Start": "1260",
                        "Duration": "48"
                      },
                      "Similarity": "0",
                      "Input": {
                        "Start": "46",
                        "Duration": "48"
                      }
                    }
                  ]
                },
                "Similarity": "0.8914769887924194"
              }
            ]
          },
          "TextFpShots": {
            "TextFpShot": [
              {
                "PrimaryKey": "3e34ac649945b53a1b0f863ce030****",
                "Similarity": "1.0",
                "TextFpShotSlices": {
                  "TextFpShotSlice": [
                    {
                      "Similarity": "1.0",
                      "InputText": "今天下雪了",
                      "DuplicationText": "今天下雪了",
                      "InputFragment": {
                        "Start": "0",
                        "Duration": "3"
                      }
                    }
                  ]
                }
              }
            ]
          }
        },
        "CreationTime": "2017-01-10T12:00:00Z",
        "FinishTime": "0",
        "State": "Success",
        "Message": "The parameter \\\"Id\\\" is invalid.A uuid must:1)be comprised of chracters[a-f],numbers[0-9];2)be 32 characters long",
        "FpShotConfig": {
          "PrimaryKey": "3ca84a39a9024f19853b21be9cf9****",
          "SaveType": "save",
          "FpDBId": "2288c6ca184c0e47098a5b665e2a12****"
        },
        "FileId": "ebb51ee30f0b49aba959823fa991****",
        "UserData": "testid-001",
        "Duration": 5,
        "Code": "InvalidParameter.UUIDFormatInvalid",
        "InputFile": {
          "Object": "test.mp4",
          "Location": "oss-cn-beiing",
          "Bucket": "oss-test"
        },
        "PipelineId": "88c6ca184c0e47098a5b665e2a12****",
        "Id": "88c6ca184c0e47098a5b665e2a12****",
        "Input": "{\"Bucket\":\"oss-test\",\"Location\":\"oss-cn-beiing\",\"Object\":\"test.mp4\"}"
      }
    ]
  },
  "NonExistIds": {
    "String": [
      "ae687c02fe944327ba9631e50da23128****"
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.