Retrieves the number of Insights events for the current account.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Date |
string |
No |
The date to query. The format is |
2026-01-07 |
| EndTime |
string |
No |
The end of the time range to query. The date format follows the ISO 8601 standard and uses UTC. The format is Note
|
2026-01-07T06:00:00Z |
| StartTime |
string |
No |
The beginning of the time range to query. The date format follows the ISO 8601 standard and uses UTC. The format is |
2025-12-01T02:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
array<object> |
The list of returned data. |
|
|
object |
The returned data object. |
||
| Count |
integer |
The number of events. |
3 |
| InsightType |
string |
The type of the Insights event. Valid values:
|
IpInsight |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| NextToken |
string |
If the results are not fully returned, the server provides a |
VjE6bHJlTGoxdm1M**** |
| RequestId |
string |
The request ID. |
4ABAEA6E-C740-5CE2-A003-643E5519**** |
Examples
Success response
JSON format
{
"Data": [
{
"Count": 3,
"InsightType": "IpInsight",
"RegionId": "cn-hangzhou"
}
],
"NextToken": "VjE6bHJlTGoxdm1M****",
"RequestId": "4ABAEA6E-C740-5CE2-A003-643E5519****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTimeRangeException | The end time must be later than the start time. The time span cannot exceed 30 days. | The end time must be greater than the start time. |
See for a complete list.
Release notes
See Release Notes for a complete list.