Get Rate Limit Points Used

I did not have time to really look into the new rate limiting feature. Where are the points a user used stored? Is there a SC action to get them? I can get them myself if they are in Redis for example. This would be useful to prompt a user to upgrade their plan if they want higher rate limits before they hit the limit.

If you have Redis enabled it will use that otherwise it is in memory. The ip or userId will be used as a key with an extra prefix and the value is just a counter that will expire after the configured duration.

1 Like

Perfect thanks.