tencent cloud



Last updated: 2022-02-11 16:05:15

1. API Description

Domain name for API request: gme.tencentcloudapi.com.

This API is used to query the speech detection result. Up to 100 tasks can be added in the task query list.

If the `Callback` field is not set when a speech detection task is submitted, this API will be needed to get the detection result.

A maximum of 1000 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
This document describes the parameters for Signature V1. It's recommended to use the V3 signature, which provides higher security. Note that for Signature V3, the common parameters need to be placed in the HTTP Header. See details.

Parameter Name Required Type Description
Action Yes String Common parameter. The value used for this API: DescribeScanResultList.
Version Yes String Common parameter. The value used for this API: 2018-07-11.
Region No String Common parameter. This parameter is not required for this API.
BizId Yes Integer Application ID, which is the AppID obtained when you create an application in the console
TaskIdList.N Yes Array of String List of IDs of the tasks to be queried. Up to 100 entries can be added in the ID list.
Limit No Integer Number of task results to be returned. Default value: 10. Maximum value: 500. This parameter will be ignored for large file tasks where all results will be returned

3. Output Parameters

Parameter Name Type Description
Data Array of DescribeScanResult Result of the speech detection task to be queried
Note: this field may return null, indicating that no valid values can be obtained.
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Querying speech detection result

Input Example

&<Common request parameters>

Output Example

  "Data": [
      "Code": 0,
      "DataId": "1400000000_test_data_id",
      "ScanFinishTime": 1566720906,
      "HitFlag": true,
      "Live": false,
      "Msg": "",
      "ScanPiece": [
          "DumpUrl": "",
          "HitFlag": true,
          "MainType": "abuse",
          "Info": "",
          "Offset": 0,
          "Duration": 3400,
          "PieceStartTime": 1574684231,
          "ScanDetail": [
              "EndTime": 1110,
              "KeyWord": "xxx",
              "Label": "abuse",
              "Rate": "90.00",
              "StartTime": 1110
              "EndTime": 1380,
              "KeyWord": "xxx",
              "Label": "abuse",
              "Rate": "90.00",
              "StartTime": 930
              "EndTime": 1560,
              "KeyWord": "xxx",
              "Label": "abuse",
              "Rate": "90.00",
              "StartTime": 930
              "EndTime": 2820,
              "KeyWord": "xxx",
              "Label": "abuse",
              "Rate": "90.00",
              "StartTime": 2490
      "ScanStartTime": 1566720905,
      "Scenes": [
      "Status": "Success",
      "TaskId": "xxx",
      "Url": "https://xxx/xxx.m4a"
  "RequestId": "xxx"

5. Developer Resources


TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation Operation failed.
InternalError Internal error.
InvalidParameter Incorrect parameter.
InvalidParameter.TagKey Incorrect tag.
MissingParameter Missing parameter.
ResourceNotFound The resource does not exist.
ResourceUnavailable The resource is unavailable
UnauthorizedOperation Unauthorized operation
UnknownParameter Unknown parameter.
UnsupportedOperation Operation unsupported.
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support