Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

add user_api_key_project_id in SpendLogsMetadata

Ishaan Jaffer5147734426b4
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index 2ae517c871a..e13e6f736df 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -2683,6 +2683,7 @@ class SpendLogsMetadata(TypedDict):
user_api_key: Optional[str]
user_api_key_alias: Optional[str]
user_api_key_team_id: Optional[str]
+ user_api_key_project_id: Optional[str]
user_api_key_org_id: Optional[str]
user_api_key_user_id: Optional[str]
user_api_key_team_alias: Optional[str]