Get tokens by users
Hi all, is it possible to get the token usage of my users via the typescript SDK or http API inside my app?
7 Replies
Hi, yes we have an (so far undocumented) endpoint to fetch tokens by users.
GET api/public/users
returns to you the tokens by user by day.
Does that help you?Ill check it out when I get to PC and let you know, cheers
Sure, let me know if that works for you 🙂
Hi, just got my hands on it, I think I can work with that for now.
Eventually I would love to see an endpoint to get tokens for specific user in a given timeframe (start,end). I guess that is not possible for now?
Not possible now but something we can take up once this becomes neccessary 🙂
Cool, thanks. Would you accept a PR if I went ahead and implemented it? :]
or is that out of scope currently?
Awesome