Hi @criz.c,
Welcome back to the Auth0 Community !
The number of successful logins is shown through the logins_count parameter when calling the GET /api/v2/users endpoint. This documentation on how to Search Users with Query Syntax should also be handy.
According to our Retrieve Users with the Get Users Endpoint
The endpoint returns a maximum of 50 users, even if more users match your query.
If you need to return more than 50 users, use the
page
parameter to show more pages of results. Each page contains 50 users. For example, you can specify&page=2
to show results 51-100, specify&page=3
to show results 101-150, and so on. However, this endpoint never returns a total of more than 1000 users with the same search criteria, even with paging.
However you can Export all Users using the POST /api/v2/jobs/users-exports endpoint and query the “multifactor”: [“guardian”] as you have specified above, then subtract them from the total. You can also check this KB article.
I hope this helps.
Thanks,
Remus