tencent cloud

Querying Smart Audio Service
Last updated: 2025-09-15 17:39:15
Querying Smart Audio Service
Last updated: 2025-09-15 17:39:15

Feature Description

This API is used to query buckets that have already enabled the intelligent voice function.

Authorization Description

When using a sub-account, you need to add the ci:DescribeAsrBuckets permission to the action in the authorization policy. For ALL supported operation APIs of Cloud Infinite (CI), please refer to CI action.

Service Activation

To use this feature, you need to bind a bucket in advance and enable the Cloud Infinite (CI) service.
Note:
Note: After binding Cloud Infinite (CI), if you manually perform unbinding operation on the bucket, you will not be able to continue using this feature.

Use Limits

When using this API, please confirm the relevant restrictions. For details, see Use Limits.


Request

Request sample

GET /asrbucket HTTP/1.1
Host: ci.<Region>.myqcloud.com
Date: <GMT Date>
Authorization: <Auth String>
Content-Length: <length>
Content-Type: application/xml
Note:
Authorization: A request header that carries authentication information to validate requests. For details, see the Request Signature document.

Request header

This API only uses common request headers. For details, see Common Request Headers documentation.

Request body

The request does not have a request body.

Request parameters.

Name
Description
Type
Default Value
Required or Not
regions
Regional information, such as ap-shanghai, ap-beijing. To query multiple regions, separate strings with ,. For details, see region and domain name.
String Array
None.
No
bucketNames
bucket name, separated by ,, support multiple buckets, exact search
String Array
None.
No
bucketName
bucket name prefix prefix search
String
None.
No
pageNumber
which page
Int
1
No
pageSize
Number of items per page, an integer greater than 0 and less than or equal to 100
Int
10
No

Response

Response Headers

This API only returns common response headers. For details, please refer to the Common Response Headers document.

Response Body

The response body is returned as application/xml. An example including the complete node data is shown below:
<Response>
<RequestId>NTk0MjdmODlfMjQ4OGY3XzYzYzhf****</RequestId>
<TotalCount>2</TotalCount>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<AsrBucketList>
<BucketId>examplebucket-1250000000</BucketId>
<Name>examplebucket-1250000000</Name>
<Region>ap-beijing</Region>
<CreateTime>2019-11-15T12:12:12+0800</CreateTime>
</AsrBucketList>
<AsrBucketList>
<BucketId>examplebucket-1-1250000000</BucketId>
<Name>examplebucket-1-1250000000</Name>
<Region>ap-chongqing</Region>
<CreateTime>2020-11-16T14:13:15+0800</CreateTime>
</AsrBucketList>
</Response>
The data are as follows:
Node Name (Keyword)
Parent Node
Description
Type
Response
None.
Container for saving results
Container
Container node Response content:
Node Name (Keyword)
Parent Node
Description
Type
RequestId
Response
unique request ID
String
TotalCount
Response
Enable intelligent voice for the total number of Buckets
Int
PageNumber
Response
current page number, same as the pageNumber in the request
Int
PageSize
Response
number of items per page, same as the pageSize in the request
Int
AsrBucketList
Response
Details of intelligent voice Bucket
Container Array
Container node AsrBucketList content:
Node Name (Keyword)
Parent Node
Description
Type
BucketId
Response.AsrBucketList
bucket ID
String
Name
Response.AsrBucketList
Bucket name, same as BucketId
String
Region
Response.AsrBucketList
Region
String
CreateTime
Response.AsrBucketList
Creation time
String

Error Code

This request returns common error responses. For more information, see Error Codes.

Practical Case

Request

GET /asrbucket HTTP/1.1
Authorization:q-sign-algorithm=sha1&q-ak=************************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=****************************************
Host: ci.ap-beijing.myqcloud.com
Content-Length: 0
Content-Type: application/xml


Response

HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 100
Connection: keep-alive
Date: Thu, 15 Jun 2021 12:37:29 GMT
Server: tencent-ci
x-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf****


<Response>
<RequestId>NTk0MjdmODlfMjQ4OGY3XzYzYzhf****</RequestId>
<TotalCount>2</TotalCount>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<AsrBucketList>
<BucketId>examplebucket-1250000000</BucketId>
<Name>examplebucket-1250000000</Name>
<Region>ap-beijing</Region>
<CreateTime>2019-11-15T12:12:12+0800</CreateTime>
</AsrBucketList>
<AsrBucketList>
<BucketId>examplebucket-1-1250000000</BucketId>
<Name>examplebucket-1-1250000000</Name>
<Region>ap-chongqing</Region>
<CreateTime>2020-11-16T14:13:15+0800</CreateTime>
</AsrBucketList>
</Response>

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback