From 25e49c068e05fb51b89648e522de62e7011f5c25 Mon Sep 17 00:00:00 2001 From: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com> Date: Sat, 26 Sep 2026 12:54:12 -0700 Subject: [PATCH] docs(agents): describe optional delegated scope requirements in API contracts --- litellm/proxy/_lazy_openapi_snapshot.json | 1 + ui/litellm-dashboard/src/lib/http/schema.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.json index 8b7597b70c6..259d13c619c 100644 --- a/litellm/proxy/_lazy_openapi_snapshot.json +++ b/litellm/proxy/_lazy_openapi_snapshot.json @@ -3607,6 +3607,7 @@ "default": [ "user_impersonation" ], + "description": "Required delegated scopes. An empty list accepts any nonempty scope granted for this gateway.", "items": { "type": "string" }, diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index c8f391656ec..4a6f3463ebe 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -30251,6 +30251,7 @@ export interface components { required_roles: string[]; /** * Required Scopes + * @description Required delegated scopes. An empty list accepts any nonempty scope granted for this gateway. * @default [ * "user_impersonation" * ]