Queries the usage statistics of Intelligent Media Services (IMS) on AI processing of ApsaraVideo Media Processing (MPS). The maximum query range is 31 days. You can query data within the last 90 days.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:DescribeMeterImsMpsAiUsage |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTs |
integer |
Yes |
The beginning of the time range to query. The value is a 10-digit timestamp. You can query data within the last 90 days. |
1654403036 |
| EndTs |
integer |
Yes |
The end of the time range to query. The value is a 10-digit timestamp. The maximum query range is 31 days. The duration between StartTs and EndTs cannot exceed 31 days. |
1656995036 |
| Interval |
integer |
Yes |
The time granularity of the query. Valid values: 3600 (hour) and 86400 (day). |
86400 |
| Region |
string |
No |
This parameter does not take effect. By default, the usage data of all regions is returned. |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
0622C702-41BE-467E-AF2E-883D4517962E |
| Data |
array<object> |
The usage statistics of IMS on AI processing of MPS. |
|
|
object |
|||
| Time |
integer |
The beginning time of usage. The value is a 10-digit timestamp. |
1656950400 |
| Type |
string |
The AI type. Valid values: |
Censor:Review Type Product:Production Type |
| Duration |
integer |
The usage duration, in minutes. |
644 |
Examples
Success response
JSON format
{
"RequestId": "0622C702-41BE-467E-AF2E-883D4517962E",
"Data": [
{
"Time": 1656950400,
"Type": "Censor:ReviewType\nProduct:ProductionType",
"Duration": 644
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Meter.ParamError | Param Error:%s,Please Check Again. | |
| 500 | Meter.ServerInternalError | The Request Processing Has Failed Due To Some Unknown Error. | |
| 500 | Meter.DataSourceQueryError | Data Source Error:%s,Please Try Again. | |
| 403 | Meter.AuthError | Authentication Failed,Please Try Again. | |
| 502 | Meter.ReadyTsError | Get ReadyTs Failed,Please Try Again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.