From d392424670f85e0909785beaf44714d1795e9fc7 Mon Sep 17 00:00:00 2001 From: yucheng Date: Tue, 29 Sep 2026 08:29:13 +0000 Subject: [PATCH] chore(ui): regenerate api types for logging_only_scope Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/_lazy_openapi_snapshot.json | 34 +++++++++++++++++++ ui/litellm-dashboard/src/lib/http/schema.d.ts | 10 ++++++ 2 files changed, 44 insertions(+) diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.json index 75dce43c84a..98bdb22dc12 100644 --- a/litellm/proxy/_lazy_openapi_snapshot.json +++ b/litellm/proxy/_lazy_openapi_snapshot.json @@ -10087,6 +10087,23 @@ "description": "Google Cloud location/region (e.g., us-central1)", "title": "Location" }, + "logging_only_scope": { + "anyOf": [ + { + "enum": [ + "input", + "output", + "both" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "description": "which direction a logging_only scan observes: 'input' (request), 'output' (response), or 'both' (default). Only applies to mode logging_only; pre_call/post_call on the same guardrail keep blocking.", + "title": "Logging Only Scope" + }, "mask_request_content": { "anyOf": [ { @@ -12325,6 +12342,23 @@ "description": "Google Cloud location/region (e.g., us-central1)", "title": "Location" }, + "logging_only_scope": { + "anyOf": [ + { + "enum": [ + "input", + "output", + "both" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "description": "which direction a logging_only scan observes: 'input' (request), 'output' (response), or 'both' (default). Only applies to mode logging_only; pre_call/post_call on the same guardrail keep blocking.", + "title": "Logging Only Scope" + }, "mask": { "anyOf": [ { diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index 93f4718a586..322cb7c1e0c 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -25437,6 +25437,11 @@ export interface components { * @description Google Cloud location/region (e.g., us-central1) */ location?: string | null; + /** + * Logging Only Scope + * @description which direction a logging_only scan observes: 'input' (request), 'output' (response), or 'both' (default). Only applies to mode logging_only; pre_call/post_call on the same guardrail keep blocking. + */ + logging_only_scope?: ("input" | "output" | "both") | null; /** * Mask Request Content * @description Will mask request content if guardrail makes any changes @@ -34431,6 +34436,11 @@ export interface components { * @description Google Cloud location/region (e.g., us-central1) */ location?: string | null; + /** + * Logging Only Scope + * @description which direction a logging_only scan observes: 'input' (request), 'output' (response), or 'both' (default). Only applies to mode logging_only; pre_call/post_call on the same guardrail keep blocking. + */ + logging_only_scope?: ("input" | "output" | "both") | null; /** * Mask * @description Enable content masking using Lasso classifix API