All Products
Search
Document Center

ActionTrail:DescribeUserTrailCount

Last Updated:Apr 27, 2026

Queries the number of enabled trails, including organization trails.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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 Dates array.

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.