Get no of calls left from rate limiter plugin

I want to get the number of calls left for a consumer on a route from the plugin. I am aware that the plugin adds this information in the header of the response, but if I go for that approach then I would have to call the route every time essentially reducing the number of calls left. Any help on how to get around this situation would be appreciated.
If you need any additional details or explanation about the situation please feel free to comment.
Thanks in advance.

1 Like