-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I created a user with proxy_admin_viewer role, then when I create the virtual key assigned to that user I should be able to hit /spend/logs route and retrieve the information, but I'm getting a error message instead
{
"error": {
"message": "user not allowed to access this route, role= proxy_admin_viewer. Trying to access: /spend/logs",
"type": "auth_error",
"param": "None",
"code": "403"
}
}
In documentation is mentioned that proxy_admin_viewer role is able to request this route
| Role Name | Permissions |
|---|---|
| proxy_admin | Admin over the entire platform. Full control over all organizations, teams, and users. |
| proxy_admin_viewer | Can login, view all keys, view all spend across the platform. Cannot create keys/delete keys/add new users. |
| internal_user | Can login, view/create (when allowed by team-specific permissions)/delete their own keys, view their spend. Cannot add new users. |
| *internal_user_viewer |
Relevant log output
{
"error": {
"message": "user not allowed to access this route, role= proxy_admin_viewer. Trying to access: /spend/logs",
"type": "auth_error",
"param": "None",
"code": "403"
}
}Are you a ML Ops Team?
No
What LiteLLM version are you on ?
v1.75.5-stable
Twitter / LinkedIn details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working