Queries the number of enabled trails, including organization trails.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
object |
The returned data. |
|
| Counts |
array |
An array of trail counts, where each count corresponds to a date in the |
|
|
integer |
The number of trails for a specific date. |
4 |
|
| Dates |
array |
A list of dates. |
|
|
string |
The date. |
2025-05-10 |
|
| RequestId |
string |
The request ID. |
EDDEBA6B-FFE2-4EF6-8BAB-2A6B98DC**** |
Examples
Success response
JSON format
{
"Data": {
"Counts": [
4
],
"Dates": [
"2025-05-10"
]
},
"RequestId": "EDDEBA6B-FFE2-4EF6-8BAB-2A6B98DC****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncompleteSignature | The request signature does not conform to Alibaba Cloud standards. | The request signature does not conform to Alibaba Cloud standards. |
| 400 | InvalidParameterCombination | The end time must be later than the start time. | The end time must be greater than the start time. |
| 400 | InvalidQueryParameter | The specified query parameter is invalid. | The specified query parameter is not valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.