Domain name for API request: lke.intl.tencentcloudapi.com.
This API is used to query single call details in a list.
A maximum of 20 requests can be initiated per second for this API.
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 Params. The value used for this API: ListUsageCallDetail. |
| Version | Yes | String | Common Params. The value used for this API: 2023-11-30. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-jakarta. |
| ModelName | Yes | String | Model identifier. |
| StartTime | Yes | String | Start time. |
| EndTime | Yes | String | End time. |
| PageNumber | Yes | Integer | Page number. |
| PageSize | Yes | Integer | Number of items per page. |
| UinAccount.N | No | Array of String | Uin list. |
| AppBizIds.N | No | Array of String | Application ID list. |
| CallType | No | String | Call type list. |
| SubScenes.N | No | Array of String | Filter sub-scenario. |
| Parameter Name | Type | Description |
|---|---|---|
| Total | Integer | Total count of lists. |
| List | Array of CallDetail | List. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Query single call details in a list.
POST / HTTP/1.1
Host: lke.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListUsageCallDetail
<Common request parameters>
{
"CallType": "AllCallType",
"ModelName": "cs-normal-70b",
"StartTime": "1723564800",
"EndTime": "1726156799",
"PageNumber": 1,
"PageSize": 10
}{
"Response": {
"List": [
{
"AppName": "",
"CallTime": "1724946200",
"CallType": "Dialogue call"
"Id": "e8h_20240701_194330_474_XRMUA92T",
"InputTokenUsage": 471,
"ModelName": "Fine-tuned Knowledge Large Model - Premium",
"OutputTokenUsage": 886,
"SearchUsage": 0,
"TotalTokenUsage": 1357,
"UinAccount": "600000562455"
}
],
"RequestId": "9332ab9b-dec8-481e-87a8-af6983ac9fe7",
"Total": 1
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Feedback