docs(proxy): fix ui_view_teams' copy-pasted docstring

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.
This commit is contained in:
simpleqt 2026-09-08 01:29:36 +08:00
parent 7d5b6456ba
commit b2bfe0f9d2

View file

@ -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