Get active user data

GET /api/dashboard/users/active

Get active user data, including daily active user (DAU), weekly active user (WAU) and monthly active user (MAU). It also includes an array of DAU in the past 30 days.

Query parameters

  • date string(regex)

    The date to get active user data.

    Format should match the following pattern: /^\d{4}(-\d{2}){2}/.

Responses

  • 200 application/json

    Active user data object.

    Hide response attributes Show response attributes object
    • dauCurve array[object] Required
      Hide dauCurve attributes Show dauCurve attributes object
    • dau object Required
      Hide dau attributes Show dau attributes object
    • wau object Required
      Hide wau attributes Show wau attributes object
    • mau object Required
      Hide mau attributes Show mau attributes object
  • Bad Request

  • Unauthorized

  • Forbidden

GET /api/dashboard/users/active
curl \
 -X GET https://[tenant_id].logto.app/api/dashboard/users/active \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "dauCurve": [
    {
      "date": "string",
      "count": 42.0
    }
  ],
  "dau": {
    "count": 42.0,
    "delta": 42.0
  },
  "wau": {
    "count": 42.0,
    "delta": 42.0
  },
  "mau": {
    "count": 42.0,
    "delta": 42.0
  }
}