From b83e878929da4cacea241d7db13b5cbfde4daa72 Mon Sep 17 00:00:00 2001 From: mrinal Date: Wed, 21 Oct 2026 16:26:53 +0000 Subject: [PATCH] fix(proxy): allowlist team tag activity endpoint Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/repositories/daily_activity_repository.py | 4 +--- terraform/provider/tools/endpointaudit/coverage_allowlist.txt | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/litellm/repositories/daily_activity_repository.py b/litellm/repositories/daily_activity_repository.py index 1d2ba530aaa..55530aeae48 100644 --- a/litellm/repositories/daily_activity_repository.py +++ b/litellm/repositories/daily_activity_repository.py @@ -212,9 +212,7 @@ class DailyActivityRepository: rows: Final = _KEY_SPEND_ADAPTER.validate_python(tuple(row for row in result if row.get("api_key") is not None)) return KeyPage(rows=rows, total_api_keys=total_api_keys) - async def tag_page( - self, scope: DailyActivityScope, *, team_id: str, offset: int, limit: int - ) -> TagPage: + async def tag_page(self, scope: DailyActivityScope, *, team_id: str, offset: int, limit: int) -> TagPage: query: Final = build_tag_page_sql(scope, team_id=team_id, offset=offset, limit=limit) result: Final = await self._query(query) total_tags_value: Final = result[0].get("total_tags") if result else 0 diff --git a/terraform/provider/tools/endpointaudit/coverage_allowlist.txt b/terraform/provider/tools/endpointaudit/coverage_allowlist.txt index 3a45eef3606..eee32fac48f 100644 --- a/terraform/provider/tools/endpointaudit/coverage_allowlist.txt +++ b/terraform/provider/tools/endpointaudit/coverage_allowlist.txt @@ -48,6 +48,7 @@ GET /tag/user-agent/per-user-analytics GET /tag/wau GET /team/daily/activity GET /team/daily/activity/aggregated +GET /team/daily/activity/aggregated/tags # proxy-only analytics report; no provider resource GET /team/daily/activity/aggregated/keys GET /team/daily/activity/aggregated/model_top_keys GET /team/daily/activity/aggregated/search