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
    • wau object Required
      Hide wau attributes Show wau attributes
    • mau object Required
      Hide mau attributes Show mau attributes
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

GET /api/dashboard/users/active
curl \
 -X GET https://[tenant_id].logto.app/api/dashboard/users/active
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
  }
}