+
+ A request with several tags counts once per tag, so the rows can add up to more than the team total
+
+ row.tag}
+ isLoading={loading}
+ maxBodyHeight={280}
+ noDataMessage={
+ failed ? "Could not load tag spend. Reload the page to try again" : "No tagged spend in this range"
+ }
+ size="compact"
+ />
+ {totalTags > 0 && (
+
+ )}
+
+ );
+};
+
+export default TeamTagSpendCard;
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/EntityUsage/entityFetchFns.ts b/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/EntityUsage/entityFetchFns.ts
index 6dc80ef4591..4cd5b89ae36 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/EntityUsage/entityFetchFns.ts
+++ b/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/EntityUsage/entityFetchFns.ts
@@ -4,6 +4,7 @@ import {
dailyActivityKeyPageCall,
dailyActivityKeySearchCall,
dailyActivityModelTopKeysCall,
+ dailyActivityTagPageCall,
} from "@/components/networking";
import type { EntityType } from "@/components/EntityUsageExport/types";
import type {
@@ -12,6 +13,8 @@ import type {
DailyActivityKeySearchResponse,
DailyActivityKeyPageResponse,
DailyActivityRequest,
+ DailyActivityTagPageRequest,
+ DailyActivityTagPageResponse,
ExportFormat,
ExportType,
ModelTopKeysResponse,
@@ -30,6 +33,10 @@ export interface EntityApi {
exportRows(req: DailyActivityRequest, exportType: ExportType, format: ExportFormat): Promise