litellm/tests/test_litellm/proxy/logging_endpoints
Cursor Agent e07d58a4ef
fix(usage): recover aliases for v1.99 double-hashed spend keys
Callback log replay also omitted user_api_key_hash, so it could double-hash
spend rows the same way batch costing did. On the read path, Usage key
metadata now reverse-hashes orphaned DailyUserSpend.api_key values against
VerificationToken and falls back to SpendLogs metadata so historical dirty
rows show their api_key_alias again instead of key-hash-...

Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
2026-09-03 14:21:25 +00:00
..
__init__.py feat(proxy): add POST /v1/callbacks/logs to replay logging payloads through callbacks (#31134) 2026-06-24 15:25:10 -07:00
test_callback_logs_endpoints.py fix(usage): recover aliases for v1.99 double-hashed spend keys 2026-09-03 14:21:25 +00:00