Admin

Count platform active users

Changed on

Counts distinct users with a sign-in or telemetry event today, in the last 7 and in the last 30 UTC calendar days, across every organization. This scans 30 days of platform activity, so clients request it explicitly rather than on every dashboard load.

get/v1/admin/dashboard/active-users

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/admin/dashboard/active-users
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Response

Platform active users returned.

todayinteger required
days7integer required
days30integer required
generatedAtstring date-time required

Changes

    • info

      the response's property pattern was changed from ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ to ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ for the status

    • info

      endpoint added