(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:
Ishaan Jaff 2025-02-04 21:08:05 -08:00 committed by GitHub
parent b59b26f797
commit 1d5370b9e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 90 additions and 6 deletions

View file

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