From b2bfe0f9d2cc9e0bd19f64f687195a864b7ab6e4 Mon Sep 17 00:00:00 2001 From: simpleqt <89645338+simpleqt@users.noreply.github.com> Date: Tue, 8 Sep 2026 01:29:36 +0800 Subject: [PATCH] docs(proxy): fix ui_view_teams' copy-pasted docstring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The docstring documented user_id/user_email params (the endpoint filters by team_id/team_alias) and a spend-logs return type — copied from a user/spend endpoint. --- litellm/proxy/management_endpoints/team_endpoints.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/proxy/management_endpoints/team_endpoints.py b/litellm/proxy/management_endpoints/team_endpoints.py index 72cdc75c29e..be6b32bd154 100644 --- a/litellm/proxy/management_endpoints/team_endpoints.py +++ b/litellm/proxy/management_endpoints/team_endpoints.py @@ -5420,14 +5420,14 @@ async def ui_view_teams( [PROXY-ADMIN ONLY] Filter teams based on partial match of team_id or team_alias with pagination. Args: - user_id (Optional[str]): Partial user ID to search for - user_email (Optional[str]): Partial email to search for + team_id (Optional[str]): Partial team ID to search for + team_alias (Optional[str]): Partial team alias to search for page (int): Page number for pagination (starts at 1) page_size (int): Number of items per page (max 100) user_api_key_dict (UserAPIKeyAuth): User authentication information Returns: - List[LiteLLM_SpendLogs]: Paginated list of matching user records + Dict with the paginated list of matching teams """ from litellm.proxy.proxy_server import prisma_client