Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Make key optional on /key/info #1620

Closed
Manouchehri opened this issue Jan 25, 2024 · 2 comments
Closed

[Feature]: Make key optional on /key/info #1620

Manouchehri opened this issue Jan 25, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Manouchehri
Copy link
Collaborator

The Feature

If the key query is not provided on a request to /key/info, I think LiteLLM should return the info about the current key being used in the Authorization: Bearer sk-... header.

Motivation, pitch

imo this reduces the need for #1614.

Twitter / LinkedIn details

https://www.linkedin.com/in/davidmanouchehri/

@Manouchehri Manouchehri added the enhancement New feature or request label Jan 25, 2024
@krrishdholakia
Copy link
Contributor

krrishdholakia commented Jan 26, 2024

@Manouchehri that wouldn't solve my problem in #1614 of not being able to display user-friendly keys to users

Scenario: So app owner goes to your dashboard -> you get all the keys associated with their user id -> you display them by the alias'es specified by them / abbreviated keys -> they click on one -> see the logs of their token usage and cost logs for the app -> identify which end-users might be driving high-spend

@ishaan-jaff
Copy link
Contributor

live here: ec3f497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants