Last updated: 2021-05-10 14:44:02

1. API Description

Domain name for API request:

This API is used to get the usage statistics of a GME application, including those of voice chat, voice messaging and speech-to-text, phrase analysis, etc. The maximum query period is the past 30 days.

A maximum of 200 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.

Parameter Name Required Type Description
Action Yes String Common parameter. The value used for this API: DescribeAppStatistics.
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 GME application ID
StartDate Yes Date Data start date (GMT+8) in the format of yyyy-mm-dd, such as 2018-07-13
EndDate Yes Date Data end date (GMT+8) in the format of yyyy-mm-dd, such as 2018-07-13
Services.N Yes Array of String List of services to be queried. Valid values: RealTimeSpeech, VoiceMessage, VoiceFilter

3. Output Parameters

Parameter Name Type Description
AppStatistics Array of AppStatisticsItem Application usage statistics

4. Example

Example1 Querying the usage statistics of voice chat and voice messaging and speech-to-text between August 1 and August 3, 2019

Input Example
&<Common request parameters>

Output Example

  "Response": {}

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.DateInvalid Invalid date.
InvalidParameter.TimeRangeError Incorrect query time range.
ResourceNotFound The resource does not exist.
ResourceNotFound.BizidIsNotFound Incorrect application ID.
UnauthorizedOperation Unauthorized operation
UnknownParameter Unknown parameter.
UnsupportedOperation Operation unsupported.