How to get the total token usage of individual user via API?

I want to get total token usage by an user via API, Do we have any api apart from the organization one?

Not that I’m aware of. I built this into my app (plugin) and maintain it as part of the user record.

It’s not like you will want to manage individual quotas for users on OpenAI’s dashboard?

I mean maybe up to 5 could work but beyond that it’s likely to be get impractical.

Thanks @merefield

I am looking at aggregate token usage of individual user. I can keep proxy on every call and check its usage

1 Like