Auth0.Management.Stats (Auth0Api v1.4.0) View Source

Documentation for Auth0 Management API of Stats.

endpoint

  • /api/v2/stats/active-users
  • /api/v2/stats/daily

Link to this section Summary

Functions

Get active users count.

Get daily stats.

Link to this section Types

Specs

config() :: Auth0.Config.t()

Specs

error() :: {:error, integer(), term()} | {:error, term()}

Specs

response_body() :: String.t()

Link to this section Functions

Link to this function

count_active_users(config)

View Source

Specs

count_active_users(config()) :: {:ok, integer(), response_body()} | error()

Get active users count.

see

https://auth0.com/docs/api/management/v2/#!/Stats/get_active_users

Specs

list_daily(config()) ::
  {:ok, Auth0.Entity.DailyStats.t(), response_body()} | error()

Get daily stats.

see

https://auth0.com/docs/api/management/v2/#!/Stats/get_daily