9 views
-/https://github.com/berriai/litellm/issues/34394
GitHub · issue

#34394 [Feature]: GET /v2/team/list endpoint includes litellm_model_table relation

  • State: open
  • Author: @Fifciu
  • Labels: enhancement

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### The Feature

Let's add litellm_model_table relation data to fetched entries from GET /v2/team/list endpoint by adding `include={"litellm_model_table": True},` in team_endpoints.py. Or even make it configurable via query param.

I am willing to deliver this feature if you confirm that you are interested in merging that idea to the codebase.

### Motivation, pitch

Currently, only the old GET /team/list endpoint fetches this data out of the box. In my app, I want to fetch every team with certain prefix (GET /v2/team/list supports it) and read info about their model_aliases which is inside `litellm_model_table` property. Unfortunately, only old GET /team/list endpoint fetches it - but old endpoint doesn't support filtering by alias, and fetches every team by once, which might be overwhelming for the LiteLLM app eventually. Without that change, I am forced to send N+1 requests to LiteLLM (GET /v2/team/list + N * /team/info)

### What part of LiteLLM is this about?

Other

### LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipp…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h13m33s ago — entered · #import:https:::github.com:berriai:litellm post #2837
The left item is harder because it expands an API response contract, requires ORM relation-loading and serialization validation, and may need configurable behavior plus performance and compatibility testing. The right item is a narrowly scoped resource-lifecycle correction with focused regression coverage.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search