mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-26 06:03:19 +00:00
GET /team/daily/activity/aggregated?team_ids=<team>&group_by=tag returns one team's spend per tag, keyed by tag in breakdown.entities, read from LiteLLM_DailyTagSpend filtered to that team. The response shape is unchanged, and without group_by the report is exactly as before. group_by=tag needs exactly one team in team_ids for every caller, else 400. It is checked before the permission lookup, which would otherwise fill in every team a non-admin belongs to. The team route's permissions are unchanged: a member without team-admin rights sees only their own keys, and another team is still a 404. The automatic User-Agent tags are left out of a team's tag breakdown, and PTU hours (a whole-team figure) are not attached to it. The keys, search, model_top_keys and export routes take the same parameter. The team filter binds after every existing WHERE filter, so no current query is renumbered. schema.d.ts is regenerated for the new parameter. LIT-8516 |
||
|---|---|---|
| .. | ||
| docker-entrypoint.d | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||