GetAiAppDetailStat
Retrieves the statistical data of an AI application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:GetAiAppDetailStat |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the AI application. This parameter is required. |
id-xxx |
| StartTime |
string |
No |
The start time of the query. Specify the time in the YYYY-MM-DD HH:mm:ss format. |
2024-09-10 14:48:01 |
| EndTime |
string |
No |
The end time of the query. Specify the time in the YYYY-MM-DD HH:mm:ss format. |
2025-07-09 10:30:00 |
| RegionId |
string |
No |
The ID of the region to which the application belongs. |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PortalResponse |
||
| RequestId |
string |
The ID assigned by the backend to uniquely identify a request. You can use this ID to troubleshoot issues. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
| AppId |
string |
The ID of the application. |
id-xxx |
| ModelCount |
integer |
The number of model invocations. |
15 |
| ModelCountDau |
number |
The day-over-day comparison of the number of model invocations. |
0.15 |
| TokenCount |
integer |
The number of consumed tokens. |
11000 |
| TokenCountDau |
number |
The day-over-day comparison of the number of consumed tokens. |
-0.15 |
| AvgModelDuration |
number |
The average duration of model invocations. |
2.55 |
| AvgModelDurationDau |
number |
The day-over-day comparison of the average duration of model invocations. |
0.05 |
| RiskEventCount |
integer |
The number of risk events. |
1 |
Examples
Success response
JSON format
{
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\n",
"AppId": "id-xxx",
"ModelCount": 15,
"ModelCountDau": 0.15,
"TokenCount": 11000,
"TokenCountDau": -0.15,
"AvgModelDuration": 2.55,
"AvgModelDurationDau": 0.05,
"RiskEventCount": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.%s | %s. | The request parameters are invalid. Please check the parameter values or value ranges and try again. |
| 400 | MissingParameter.%s | %s. | The request is missing required parameters. Please provide them and try again. |
| 400 | OperationFailed | %s. | Request processing failed, please try again later. If the problem is not resolved, contact technical support and provide RequestId. |
| 400 | ResourceNotFound.%s | %s. | The requested resource does not exist. Please check the resource information and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.