QueryHistoryActiveUserCount

更新时间:
复制 MD 格式

Queries the historical daily and monthly active user counts for a specified date.

Operation description

Usage notes

  • The AliUid parameter is automatically resolved from your AccessKey pair and does not need to be specified in the request.

  • The BusinessChannel parameter defaults to Enterprise Edition, but you can select other business channels.

  • By default, the query returns data for the previous day (T-1). To query for a different day, use the DataDate parameter in YYYY-MM-DD format.

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

DataDate

string

No

The date for which to query data, in YYYY-MM-DD format. Default: the previous day (T-1).

2023-01-01

Response elements

Element

Type

Description

Example

object

The container for the response data.

RequestId

string

The request ID.

1234567890abcdefg

ActiveUserCount

object

The active user statistics.

DailyActiveUserCount

integer

The number of daily active users.

20

MonthlyActiveUserCount

integer

The number of monthly active users.

300

Examples

Success response

JSON format

{
  "RequestId": "1234567890abcdefg",
  "ActiveUserCount": {
    "DailyActiveUserCount": 20,
    "MonthlyActiveUserCount": 300
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.