[FEATURE REQUEST] add /usage endpoint to know the usage of our account #52
Replies: 1 comment 2 replies
-
|
Hi, good to see you, I've never used this functionality, only /models and /v1/messages and the like. I'd like to know if /usage is used extensively in any software? Or is it for manual requests? Perhaps, in addition to /usage, we should display the credit count after each request? I don't use this feature myself, so I don't know what it should look like. I don't want to overload Kiro Gateway with unnecessary functionality and overload the user console with unnecessary INFO logs. Therefore, I need to determine whether this is worthwhile at all, since each authentication method may have its own way of making a request, and this would require some work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
so i recently vibing the /usage locally i dont wanna ruin your repo so i didnt create any pull request but this is how i do it, i think this could be useful for people to know their account usage:
it will look like this:
lets say you want to put this into UI it will look like this:
im testing this with sqlite auth only so i think you need to debug yourself in order for it to work with desktop ide credential and as the comment stated i got this endpoint for usage from https://github.com/aws/amazon-q-developer-cli so i think you can refer to that as well if there is any error
Beta Was this translation helpful? Give feedback.
All reactions