Welcome to Portkey Forum

Updated 3 weeks ago

Set Usage Limits Per User

Is it possible to set usage limits on a per user basis? Specifically, using the user attribute from "x-portkey-metadata: {"_user"
W
V
T
5 comments
not possible currently. it is possible to track usage based on metadata, which we already display on our control plane dashboard but not as an enforcement of limits.
if your use case is to keep limits at per user level, you can create api key per user and set budgets to it.
Ps: Budget limits are part of our enterprise offering
Also, @Tim we've pushed out dynamic usage settings on the product recently (dynamic rate limits on requests/tokens etc), and next on the cards is metadata-based rate limiting, exactly what you described!
Don't have a tight ETA for it, but if this is crucial for what you're building, we'd be happy to figure out a way to prioritize it
Sorry for the late reply. Thank you both for the info, I was just curious. I appreciate the consideration
Add a reply
Sign up and join the conversation on Discord