Monitor API endpoint usage of a worker by JWT user

Hey,
I want to monitor API endpoint usage by currently logged user (from JWT token in Authorization header) to see how many requests they do daily/weekly and who does the most requests.

Does cloudflare have any built-in way for doing this? Or I have to build my own monitoring using e.g. D1?

I was thinking if maybe observability could be used for this but there is no way to parse JWT and filter by specific JWT claim
Was this page helpful?