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 doc on PassthroughStandardLoggingObject

Ishaan Jaffb8811d51652b
diff --git a/litellm/proxy/pass_through_endpoints/types.py b/litellm/proxy/pass_through_endpoints/types.py
index 336ea70b94a..c719f165dee 100644
--- a/litellm/proxy/pass_through_endpoints/types.py
+++ b/litellm/proxy/pass_through_endpoints/types.py
@@ -8,6 +8,10 @@ class EndpointType(str, Enum):
class PassthroughStandardLoggingObject(TypedDict, total=False):
+ """
+ Standard logging payload for all pass through endpoints
+ """
+
url: str
request_body: Optional[dict]
- response_body: Optional[dict]
+ response_body: Optional[dict] # only tracked for non-streaming responses