Auth0 Home Blog Docs

Add search by type criteria while fetching user logs from management api v2?


#1

I am using auth0 managment api v2 with .net core and fetching user logs using the following url:
{domain}/api/v2/users/{user_id}/logs?page=1&page_size=10&include_totals=true.
Now the issue is I only want success login and failed login and nothing else so for that I need to send query param like q=type:s and type:f but by reviewing management api doc, I have realized that user logs do not accept “q” param. So is there any way to fetch only those logs whose type is either “s” (success login) or “f” (failed login)