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. |
| ModelName | Yes | String | Model identifier. |
| PageNumber | Yes | Integer | Page number. |
| PageSize | Yes | Integer | Number of items per page. |
| StartTime | No | String | Start time. |
| EndTime | No | String | End time. |
| 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. |
| AppType | No | String | Application Type (knowledge_qa: Knowledge Q&A Application Management, shared_knowledge: Shared Knowledge Base) |
| BillingTag | No | String | Custom tag corresponding to bill details |
| SpaceId | No | String | Space ID |
| StatStartTime | No | Integer | Start timestamp, unit: seconds |
| StatEndTime | No | Integer | Start timestamp, unit: seconds |
| 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. |
Example of Single Call Detail List Query
POST / HTTP/1.1
Host: lke.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListUsageCallDetail
<Common Request Parameter>
{
"AppBizIds": [],
"ModelName": "cs-normal-70b",
"StartTime": "1758988800",
"EndTime": "1759075199",
"CallType": "AllCallType",
"PageNumber": 1,
"PageSize": 10,
"SubScenes": [],
"AppType": "knowledge_qa",
"SpaceId": "default_space",
"StatStartTime": 1758988800,
"StatEndTime": 1759075199
}
{
"Response": {
"List": [
{
"AppName": "jacobs-0926",
"CallTime": "1759057890",
"CallType": "Dialogue Call - Shared Client Dialogue",
"Id": "Bd4_20250928_191127_831_tlwHTOyB",
"InputTokenUsage": 168,
"ModelName": "youtu-mrc-pro",
"OutputTokenUsage": 15,
"PageUsage": 183,
"SearchUsage": 0,
"SubScene": "",
"TotalTokenUsage": 183,
"UinAccount": "700000963993"
},
{
"AppName": "jacobs-0926",
"CallTime": "1759057441",
"CallType": "Dialogue Call - Shared Client Dialogue",
"Id": "M2B_20250928_190357_441_Uyk4R1tn",
"InputTokenUsage": 145,
"ModelName": "youtu-mrc-pro",
"OutputTokenUsage": 15,
"PageUsage": 160,
"SearchUsage": 0,
"SubScene": "",
"TotalTokenUsage": 160,
"UinAccount": "700000963993"
}
],
"RequestId": "e8d2fc9c-0cbd-4ca6-87cf-01fa5d8bd6bf",
"Total": 2
}
}
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.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback