fix(proxy): allowlist team tag activity endpoint
Some checks failed
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
mrinal 2026-10-21 16:26:53 +00:00
parent 9ea95f8deb
commit b83e878929
2 changed files with 2 additions and 3 deletions

View file

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

View file

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