mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(feat) - track org_id in SpendLogs (#8253)
* track org id in spend logs * read org id from team table * show user_api_key_org_id in spend logs * test_spend_logs_payload * test_spend_logs_with_org_id * test_spend_logs_with_org_id
This commit is contained in:
parent
b59b26f797
commit
1d5370b9e6
5 changed files with 90 additions and 6 deletions
|
@ -1544,6 +1544,7 @@ class PrismaClient:
|
|||
t.team_alias AS team_alias,
|
||||
t.metadata AS team_metadata,
|
||||
t.members_with_roles AS team_members_with_roles,
|
||||
t.organization_id as org_id,
|
||||
tm.spend AS team_member_spend,
|
||||
m.aliases AS team_model_aliases,
|
||||
-- Added comma to separate b.* columns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue