{
  "ToolListResponse": {
    "properties": {
      "tools": {
        "items": {
          "$ref": "#/components/schemas/LiteLLM_ToolTableRow"
        },
        "type": "array",
        "title": "Tools"
      },
      "total": {
        "type": "integer",
        "title": "Total"
      }
    },
    "type": "object",
    "required": [
      "tools",
      "total"
    ],
    "title": "ToolListResponse"
  },
  "ToolPermissionRule": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id",
        "description": "Unique identifier for the rule"
      },
      "tool_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tool Name",
        "description": "Regex pattern applied to the tool's function name"
      },
      "tool_type": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tool Type",
        "description": "Regex pattern applied to the tool type (e.g., function)"
      },
      "decision": {
        "type": "string",
        "enum": [
          "allow",
          "deny"
        ],
        "title": "Decision",
        "description": "Whether to allow or deny this tool usage"
      },
      "allowed_param_patterns": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Param Patterns",
        "description": "Optional regex map enforcing nested parameter values using dot/[] paths"
      }
    },
    "type": "object",
    "required": [
      "id",
      "decision"
    ],
    "title": "ToolPermissionRule",
    "description": "A rule defining permission for a specific tool or tool pattern"
  },
  "ToolPolicyOption": {
    "properties": {
      "value": {
        "type": "string",
        "title": "Value"
      },
      "label": {
        "type": "string",
        "title": "Label"
      },
      "description": {
        "type": "string",
        "title": "Description"
      }
    },
    "type": "object",
    "required": [
      "value",
      "label",
      "description"
    ],
    "title": "ToolPolicyOption"
  },
  "ToolPolicyOptionsResponse": {
    "properties": {
      "input_policies": {
        "items": {
          "$ref": "#/components/schemas/ToolPolicyOption"
        },
        "type": "array",
        "title": "Input Policies"
      },
      "output_policies": {
        "items": {
          "$ref": "#/components/schemas/ToolPolicyOption"
        },
        "type": "array",
        "title": "Output Policies"
      }
    },
    "type": "object",
    "required": [
      "input_policies",
      "output_policies"
    ],
    "title": "ToolPolicyOptionsResponse"
  },
  "ToolPolicyOverrideRow": {
    "properties": {
      "override_id": {
        "type": "string",
        "title": "Override Id"
      },
      "tool_name": {
        "type": "string",
        "title": "Tool Name"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "key_hash": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Hash"
      },
      "input_policy": {
        "type": "string",
        "enum": [
          "trusted",
          "untrusted",
          "blocked"
        ],
        "title": "Input Policy",
        "default": "blocked"
      },
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "created_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created At"
      },
      "updated_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated At"
      }
    },
    "type": "object",
    "required": [
      "override_id",
      "tool_name"
    ],
    "title": "ToolPolicyOverrideRow"
  },
  "ToolPolicyUpdateRequest": {
    "properties": {
      "tool_name": {
        "type": "string",
        "title": "Tool Name"
      },
      "input_policy": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "trusted",
              "untrusted",
              "blocked"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Policy"
      },
      "output_policy": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "trusted",
              "untrusted"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Policy"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "key_hash": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Hash"
      },
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      }
    },
    "type": "object",
    "required": [
      "tool_name"
    ],
    "title": "ToolPolicyUpdateRequest"
  },
  "ToolPolicyUpdateResponse": {
    "properties": {
      "tool_name": {
        "type": "string",
        "title": "Tool Name"
      },
      "input_policy": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "trusted",
              "untrusted",
              "blocked"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Policy"
      },
      "output_policy": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "trusted",
              "untrusted"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Policy"
      },
      "updated": {
        "type": "boolean",
        "title": "Updated"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "key_hash": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Hash"
      }
    },
    "type": "object",
    "required": [
      "tool_name",
      "updated"
    ],
    "title": "ToolPolicyUpdateResponse"
  },
  "ToolUsageLogEntry": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "timestamp": {
        "type": "string",
        "title": "Timestamp"
      },
      "model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model"
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend"
      },
      "total_tokens": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Total Tokens"
      },
      "input_snippet": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Snippet"
      }
    },
    "type": "object",
    "required": [
      "id",
      "timestamp"
    ],
    "title": "ToolUsageLogEntry",
    "description": "One spend log row for a tool call (for UI \"recent logs\" table)."
  },
  "ToolUsageLogsResponse": {
    "properties": {
      "logs": {
        "items": {
          "$ref": "#/components/schemas/ToolUsageLogEntry"
        },
        "type": "array",
        "title": "Logs"
      },
      "total": {
        "type": "integer",
        "title": "Total"
      },
      "page": {
        "type": "integer",
        "title": "Page"
      },
      "page_size": {
        "type": "integer",
        "title": "Page Size"
      }
    },
    "type": "object",
    "required": [
      "logs",
      "total",
      "page",
      "page_size"
    ],
    "title": "ToolUsageLogsResponse"
  },
  "TopLogprob": {
    "properties": {
      "token": {
        "type": "string",
        "title": "Token"
      },
      "bytes": {
        "anyOf": [
          {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Bytes"
      },
      "logprob": {
        "type": "number",
        "title": "Logprob"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "token",
      "logprob"
    ],
    "title": "TopLogprob"
  },
  "TransformRequestBody": {
    "properties": {
      "call_type": {
        "$ref": "#/components/schemas/CallTypes"
      },
      "request_body": {
        "additionalProperties": true,
        "type": "object",
        "title": "Request Body"
      }
    },
    "type": "object",
    "required": [
      "call_type",
      "request_body"
    ],
    "title": "TransformRequestBody"
  },
  "UISettings": {
    "properties": {
      "disable_model_add_for_internal_users": {
        "type": "boolean",
        "title": "Disable Model Add For Internal Users",
        "description": "If true, internal users cannot add models from the UI",
        "default": false
      },
      "disable_team_admin_delete_team_user": {
        "type": "boolean",
        "title": "Disable Team Admin Delete Team User",
        "description": "Prevents Team Admins from deleting users from the teams they manage. Useful for SCIM provisioning where team membership is defined externally.",
        "default": false
      },
      "enabled_ui_pages_internal_users": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Enabled Ui Pages Internal Users",
        "description": "List of page keys that internal users (non-admins) can see in the UI sidebar. If not set, all pages are visible based on role permissions."
      },
      "require_auth_for_public_ai_hub": {
        "type": "boolean",
        "title": "Require Auth For Public Ai Hub",
        "description": "If true, requires authentication for accessing the public AI Hub.",
        "default": false
      },
      "forward_client_headers_to_llm_api": {
        "type": "boolean",
        "title": "Forward Client Headers To Llm Api",
        "description": "If enabled, forwards client headers (e.g. Authorization) to the LLM API. Required for Claude Code with Max subscription.",
        "default": false
      },
      "enable_projects_ui": {
        "type": "boolean",
        "title": "Enable Projects Ui",
        "description": "If enabled, shows the Projects feature in the UI sidebar and the project field in key management.",
        "default": false
      },
      "disable_agents_for_internal_users": {
        "type": "boolean",
        "title": "Disable Agents For Internal Users",
        "description": "If true, internal users cannot access agent management endpoints or the Agents page in the UI.",
        "default": false
      },
      "allow_agents_for_team_admins": {
        "type": "boolean",
        "title": "Allow Agents For Team Admins",
        "description": "If true, team admins are exempt from the agents disable restriction (only takes effect when disable_agents_for_internal_users is true).",
        "default": false
      },
      "disable_vector_stores_for_internal_users": {
        "type": "boolean",
        "title": "Disable Vector Stores For Internal Users",
        "description": "If true, internal users cannot access vector store management endpoints or the Vector Stores page in the UI.",
        "default": false
      },
      "allow_vector_stores_for_team_admins": {
        "type": "boolean",
        "title": "Allow Vector Stores For Team Admins",
        "description": "If true, team admins are exempt from the vector stores disable restriction (only takes effect when disable_vector_stores_for_internal_users is true).",
        "default": false
      },
      "scope_user_search_to_org": {
        "type": "boolean",
        "title": "Scope User Search To Org",
        "description": "If enabled, the user search endpoint (/user/filter/ui) restricts results by organization. When off, any authenticated user can search all users.",
        "default": false
      },
      "disable_custom_api_keys": {
        "type": "boolean",
        "title": "Disable Custom Api Keys",
        "description": "If true, users cannot specify custom key values. All keys must be auto-generated.",
        "default": false
      }
    },
    "type": "object",
    "title": "UISettings",
    "description": "Configuration for UI-specific flags"
  },
  "UISettingsResponse": {
    "properties": {
      "values": {
        "additionalProperties": true,
        "type": "object",
        "title": "Values"
      },
      "field_schema": {
        "additionalProperties": true,
        "type": "object",
        "title": "Field Schema"
      }
    },
    "type": "object",
    "required": [
      "values",
      "field_schema"
    ],
    "title": "UISettingsResponse",
    "description": "Response model for UI settings"
  },
  "UIThemeConfig": {
    "properties": {
      "logo_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Logo Url",
        "description": "URL or path to custom logo image. Can be a local file path or HTTP/HTTPS URL"
      },
      "favicon_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Favicon Url",
        "description": "URL to custom favicon image. Must be an HTTP/HTTPS URL to a .ico, .png, or .svg file"
      }
    },
    "type": "object",
    "title": "UIThemeConfig",
    "description": "Configuration for UI theme customization"
  },
  "UIThemeSettingsResponse": {
    "properties": {
      "values": {
        "additionalProperties": true,
        "type": "object",
        "title": "Values"
      },
      "field_schema": {
        "additionalProperties": true,
        "type": "object",
        "title": "Field Schema"
      }
    },
    "type": "object",
    "required": [
      "values",
      "field_schema"
    ],
    "title": "UIThemeSettingsResponse",
    "description": "Response model for UI theme settings"
  },
  "UiDiscoveryEndpoints": {
    "properties": {
      "server_root_path": {
        "type": "string",
        "title": "Server Root Path"
      },
      "proxy_base_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Proxy Base Url"
      },
      "auto_redirect_to_sso": {
        "type": "boolean",
        "title": "Auto Redirect To Sso"
      },
      "admin_ui_disabled": {
        "type": "boolean",
        "title": "Admin Ui Disabled"
      },
      "sso_configured": {
        "type": "boolean",
        "title": "Sso Configured"
      },
      "is_control_plane": {
        "type": "boolean",
        "title": "Is Control Plane",
        "default": false
      },
      "workers": {
        "items": {
          "$ref": "#/components/schemas/WorkerRegistryEntry"
        },
        "type": "array",
        "title": "Workers",
        "default": []
      }
    },
    "type": "object",
    "required": [
      "server_root_path",
      "proxy_base_url",
      "auto_redirect_to_sso",
      "admin_ui_disabled",
      "sso_configured"
    ],
    "title": "UiDiscoveryEndpoints"
  },
  "UpdateCustomerRequest": {
    "properties": {
      "user_id": {
        "type": "string",
        "title": "User Id"
      },
      "alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Alias"
      },
      "blocked": {
        "type": "boolean",
        "title": "Blocked",
        "default": false
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "allowed_model_region": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "eu",
              "us"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Model Region"
      },
      "default_model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Default Model"
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionBase"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "required": [
      "user_id"
    ],
    "title": "UpdateCustomerRequest",
    "description": "Update a Customer, use this to update customer budgets etc"
  },
  "UpdateGuardrailRequest": {
    "properties": {
      "guardrail": {
        "$ref": "#/components/schemas/Guardrail"
      }
    },
    "type": "object",
    "required": [
      "guardrail"
    ],
    "title": "UpdateGuardrailRequest"
  },
  "UpdateJWTKeyMappingRequest": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key"
      },
      "description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Description"
      },
      "is_active": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Is Active"
      }
    },
    "type": "object",
    "required": [
      "id"
    ],
    "title": "UpdateJWTKeyMappingRequest"
  },
  "UpdateKeyRequest": {
    "properties": {
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Duration"
      },
      "models": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models",
        "default": []
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "agent_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agent Id"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "allowed_cache_controls": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Cache Controls",
        "default": []
      },
      "config": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Config",
        "default": {}
      },
      "permissions": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Permissions",
        "default": {}
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget",
        "default": {}
      },
      "model_rpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Rpm Limit"
      },
      "model_tpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Tpm Limit"
      },
      "guardrails": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrails"
      },
      "policies": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policies"
      },
      "prompts": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Prompts"
      },
      "blocked": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked"
      },
      "aliases": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aliases",
        "default": {}
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionBase"
          },
          {
            "type": "null"
          }
        ]
      },
      "key": {
        "type": "string",
        "title": "Key"
      },
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "tags": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tags"
      },
      "enforced_params": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Enforced Params"
      },
      "allowed_routes": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Routes",
        "default": []
      },
      "allowed_passthrough_routes": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Passthrough Routes"
      },
      "allowed_vector_store_indexes": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/AllowedVectorStoreIndexItem"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Vector Store Indexes"
      },
      "rpm_limit_type": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "guaranteed_throughput",
              "best_effort_throughput",
              "dynamic"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit Type"
      },
      "tpm_limit_type": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "guaranteed_throughput",
              "best_effort_throughput",
              "dynamic"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit Type"
      },
      "router_settings": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateRouterConfig"
          },
          {
            "type": "null"
          }
        ]
      },
      "access_group_ids": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Access Group Ids"
      },
      "temp_budget_increase": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Temp Budget Increase"
      },
      "temp_budget_expiry": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Temp Budget Expiry"
      },
      "auto_rotate": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auto Rotate"
      },
      "rotation_interval": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rotation Interval"
      },
      "organization_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Id"
      }
    },
    "type": "object",
    "required": [
      "key"
    ],
    "title": "UpdateKeyRequest"
  },
  "UpdateMCPServerRequest": {
    "properties": {
      "server_id": {
        "type": "string",
        "title": "Server Id"
      },
      "server_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Server Name"
      },
      "alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Alias"
      },
      "description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Description"
      },
      "transport": {
        "type": "string",
        "enum": [
          "sse",
          "http",
          "stdio"
        ],
        "title": "Transport",
        "default": "sse"
      },
      "auth_type": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "none",
              "api_key",
              "bearer_token",
              "basic",
              "authorization",
              "oauth2",
              "aws_sigv4",
              "token"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Auth Type"
      },
      "credentials": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/MCPCredentials"
          },
          {
            "type": "null"
          }
        ]
      },
      "url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Url"
      },
      "spec_path": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spec Path"
      },
      "mcp_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Info"
      },
      "mcp_access_groups": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Mcp Access Groups"
      },
      "allowed_tools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Tools"
      },
      "tool_name_to_display_name": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tool Name To Display Name"
      },
      "tool_name_to_description": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tool Name To Description"
      },
      "extra_headers": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Extra Headers"
      },
      "static_headers": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Static Headers"
      },
      "command": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Command"
      },
      "args": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Args"
      },
      "env": {
        "additionalProperties": {
          "type": "string"
        },
        "type": "object",
        "title": "Env"
      },
      "authorization_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Authorization Url"
      },
      "token_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Token Url"
      },
      "registration_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Registration Url"
      },
      "allow_all_keys": {
        "type": "boolean",
        "title": "Allow All Keys",
        "default": false
      },
      "available_on_public_internet": {
        "type": "boolean",
        "title": "Available On Public Internet",
        "default": true
      },
      "is_byok": {
        "type": "boolean",
        "title": "Is Byok",
        "default": false
      },
      "byok_description": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Byok Description"
      },
      "byok_api_key_help_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Byok Api Key Help Url"
      },
      "source_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Source Url"
      }
    },
    "type": "object",
    "required": [
      "server_id"
    ],
    "title": "UpdateMCPServerRequest"
  },
  "UpdateMCPToolsetRequest": {
    "properties": {
      "toolset_id": {
        "type": "string",
        "title": "Toolset Id"
      },
      "toolset_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Toolset Name"
      },
      "description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Description"
      },
      "tools": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/MCPToolsetTool"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tools"
      }
    },
    "type": "object",
    "required": [
      "toolset_id"
    ],
    "title": "UpdateMCPToolsetRequest"
  },
  "UpdateModelGroupRequest": {
    "properties": {
      "model_names": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Names"
      },
      "model_ids": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Ids"
      }
    },
    "type": "object",
    "title": "UpdateModelGroupRequest"
  },
  "UpdateProjectRequest": {
    "properties": {
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "soft_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Soft Budget"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "project_id": {
        "type": "string",
        "title": "Project Id"
      },
      "project_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Project Alias"
      },
      "description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Description"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      },
      "tags": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tags"
      },
      "guardrails": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrails"
      },
      "policies": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policies"
      },
      "models": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models"
      },
      "model_rpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Rpm Limit"
      },
      "model_tpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Tpm Limit"
      },
      "blocked": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked"
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionBase"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "required": [
      "project_id"
    ],
    "title": "UpdateProjectRequest",
    "description": "Request model for POST /project/update"
  },
  "UpdatePublicModelGroupsRequest": {
    "properties": {
      "model_groups": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Model Groups",
        "description": "List of model group names to make public"
      }
    },
    "additionalProperties": false,
    "type": "object",
    "required": [
      "model_groups"
    ],
    "title": "UpdatePublicModelGroupsRequest",
    "description": "Request model for updating public model groups"
  },
  "UpdateRouterConfig": {
    "properties": {
      "routing_strategy_args": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Routing Strategy Args"
      },
      "routing_strategy": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Routing Strategy"
      },
      "model_group_retry_policy": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Group Retry Policy"
      },
      "model_group_affinity_config": {
        "anyOf": [
          {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Group Affinity Config"
      },
      "allowed_fails": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Fails"
      },
      "cooldown_time": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cooldown Time"
      },
      "num_retries": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Num Retries"
      },
      "timeout": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Timeout"
      },
      "max_retries": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Retries"
      },
      "retry_after": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Retry After"
      },
      "fallbacks": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Fallbacks"
      },
      "context_window_fallbacks": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Context Window Fallbacks"
      },
      "model_group_alias": {
        "anyOf": [
          {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "additionalProperties": true,
                  "type": "object"
                }
              ]
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Group Alias",
        "default": {}
      }
    },
    "type": "object",
    "title": "UpdateRouterConfig",
    "description": "Set of params that you can modify via `router.update_settings()`."
  },
  "UpdateSearchToolRequest": {
    "properties": {
      "search_tool": {
        "$ref": "#/components/schemas/SearchTool"
      }
    },
    "type": "object",
    "required": [
      "search_tool"
    ],
    "title": "UpdateSearchToolRequest"
  },
  "UpdateTeamMemberPermissionsRequest": {
    "properties": {
      "team_id": {
        "type": "string",
        "title": "Team Id"
      },
      "team_member_permissions": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Team Member Permissions"
      }
    },
    "type": "object",
    "required": [
      "team_id",
      "team_member_permissions"
    ],
    "title": "UpdateTeamMemberPermissionsRequest",
    "description": "Request to update the team member permissions for a team"
  },
  "UpdateTeamRequest": {
    "properties": {
      "team_id": {
        "type": "string",
        "title": "Team Id"
      },
      "team_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Alias"
      },
      "organization_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Id"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "soft_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Soft Budget"
      },
      "models": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models"
      },
      "blocked": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "tags": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tags"
      },
      "model_aliases": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Aliases"
      },
      "guardrails": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrails"
      },
      "policies": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policies"
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionBase"
          },
          {
            "type": "null"
          }
        ]
      },
      "team_member_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Budget"
      },
      "team_member_budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Budget Duration"
      },
      "team_member_rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Rpm Limit"
      },
      "team_member_tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Tpm Limit"
      },
      "team_member_key_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Key Duration"
      },
      "allowed_passthrough_routes": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Passthrough Routes"
      },
      "secret_manager_settings": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Secret Manager Settings"
      },
      "prompts": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Prompts"
      },
      "model_rpm_limit": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "integer"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Rpm Limit"
      },
      "model_tpm_limit": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "integer"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Tpm Limit"
      },
      "allowed_vector_store_indexes": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/AllowedVectorStoreIndexItem"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Vector Store Indexes"
      },
      "enforced_batch_output_expires_after": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Enforced Batch Output Expires After"
      },
      "enforced_file_expires_after": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Enforced File Expires After"
      },
      "router_settings": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Router Settings"
      },
      "access_group_ids": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Access Group Ids"
      }
    },
    "type": "object",
    "required": [
      "team_id"
    ],
    "title": "UpdateTeamRequest",
    "description": "UpdateTeamRequest, used by /team/update when you need to update a team\n\nteam_id: str\nteam_alias: Optional[str] = None\norganization_id: Optional[str] = None\nmetadata: Optional[dict] = None\ntpm_limit: Optional[int] = None\nrpm_limit: Optional[int] = None\nmax_budget: Optional[float] = None\nmodels: Optional[list] = None\nblocked: Optional[bool] = None\nbudget_duration: Optional[str] = None\nguardrails: Optional[List[str]] = None\npolicies: Optional[List[str]] = None"
  },
  "UpdateUsefulLinksRequest": {
    "properties": {
      "useful_links": {
        "additionalProperties": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "additionalProperties": true,
              "type": "object"
            }
          ]
        },
        "type": "object",
        "title": "Useful Links"
      }
    },
    "type": "object",
    "required": [
      "useful_links"
    ],
    "title": "UpdateUsefulLinksRequest"
  },
  "UpdateUserRequest": {
    "properties": {
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Duration"
      },
      "models": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models",
        "default": []
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "agent_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agent Id"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "allowed_cache_controls": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Cache Controls",
        "default": []
      },
      "config": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Config",
        "default": {}
      },
      "permissions": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Permissions",
        "default": {}
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget",
        "default": {}
      },
      "model_rpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Rpm Limit"
      },
      "model_tpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Tpm Limit"
      },
      "guardrails": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrails"
      },
      "policies": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policies"
      },
      "prompts": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Prompts"
      },
      "blocked": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked"
      },
      "aliases": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aliases",
        "default": {}
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionBase"
          },
          {
            "type": "null"
          }
        ]
      },
      "password": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Password"
      },
      "user_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Alias"
      },
      "user_role": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "proxy_admin",
              "proxy_admin_viewer",
              "internal_user",
              "internal_user_viewer"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "User Role"
      },
      "user_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Email"
      }
    },
    "type": "object",
    "title": "UpdateUserRequest"
  },
  "UpdateUserRequestNoUserIDorEmail": {
    "properties": {
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Duration"
      },
      "models": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models",
        "default": []
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "agent_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agent Id"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "allowed_cache_controls": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Cache Controls",
        "default": []
      },
      "config": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Config",
        "default": {}
      },
      "permissions": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Permissions",
        "default": {}
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget",
        "default": {}
      },
      "model_rpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Rpm Limit"
      },
      "model_tpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Tpm Limit"
      },
      "guardrails": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrails"
      },
      "policies": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policies"
      },
      "prompts": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Prompts"
      },
      "blocked": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked"
      },
      "aliases": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aliases",
        "default": {}
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionBase"
          },
          {
            "type": "null"
          }
        ]
      },
      "password": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Password"
      },
      "user_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Alias"
      },
      "user_role": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "proxy_admin",
              "proxy_admin_viewer",
              "internal_user",
              "internal_user_viewer"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "User Role"
      }
    },
    "type": "object",
    "title": "UpdateUserRequestNoUserIDorEmail"
  },
  "UsageAIChatRequest": {
    "properties": {
      "messages": {
        "items": {
          "$ref": "#/components/schemas/ChatMessage"
        },
        "type": "array",
        "title": "Messages",
        "description": "Chat messages (user/assistant history)"
      },
      "model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model",
        "description": "Model to use for AI chat"
      }
    },
    "type": "object",
    "required": [
      "messages"
    ],
    "title": "UsageAIChatRequest"
  },
  "UsageDetailResponse": {
    "properties": {
      "guardrail_id": {
        "type": "string",
        "title": "Guardrail Id"
      },
      "guardrail_name": {
        "type": "string",
        "title": "Guardrail Name"
      },
      "type": {
        "type": "string",
        "title": "Type"
      },
      "provider": {
        "type": "string",
        "title": "Provider"
      },
      "requestsEvaluated": {
        "type": "integer",
        "title": "Requestsevaluated"
      },
      "failRate": {
        "type": "number",
        "title": "Failrate"
      },
      "avgScore": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Avgscore"
      },
      "avgLatency": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Avglatency"
      },
      "status": {
        "type": "string",
        "title": "Status"
      },
      "trend": {
        "type": "string",
        "title": "Trend"
      },
      "description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Description"
      },
      "time_series": {
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "type": "array",
        "title": "Time Series"
      }
    },
    "type": "object",
    "required": [
      "guardrail_id",
      "guardrail_name",
      "type",
      "provider",
      "requestsEvaluated",
      "failRate",
      "avgScore",
      "avgLatency",
      "status",
      "trend",
      "description",
      "time_series"
    ],
    "title": "UsageDetailResponse"
  },
  "UsageLogEntry": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "timestamp": {
        "type": "string",
        "title": "Timestamp"
      },
      "action": {
        "type": "string",
        "title": "Action"
      },
      "score": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Score"
      },
      "latency_ms": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Latency Ms"
      },
      "model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model"
      },
      "input_snippet": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Snippet"
      },
      "output_snippet": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Snippet"
      },
      "reason": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reason"
      }
    },
    "type": "object",
    "required": [
      "id",
      "timestamp",
      "action",
      "score",
      "latency_ms",
      "model",
      "input_snippet",
      "output_snippet",
      "reason"
    ],
    "title": "UsageLogEntry"
  },
  "UsageLogsResponse": {
    "properties": {
      "logs": {
        "items": {
          "$ref": "#/components/schemas/UsageLogEntry"
        },
        "type": "array",
        "title": "Logs"
      },
      "total": {
        "type": "integer",
        "title": "Total"
      },
      "page": {
        "type": "integer",
        "title": "Page"
      },
      "page_size": {
        "type": "integer",
        "title": "Page Size"
      }
    },
    "type": "object",
    "required": [
      "logs",
      "total",
      "page",
      "page_size"
    ],
    "title": "UsageLogsResponse"
  },
  "UsageOverviewResponse": {
    "properties": {
      "rows": {
        "items": {
          "$ref": "#/components/schemas/UsageOverviewRow"
        },
        "type": "array",
        "title": "Rows"
      },
      "chart": {
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "type": "array",
        "title": "Chart"
      },
      "totalRequests": {
        "type": "integer",
        "title": "Totalrequests"
      },
      "totalBlocked": {
        "type": "integer",
        "title": "Totalblocked"
      },
      "passRate": {
        "type": "number",
        "title": "Passrate"
      }
    },
    "type": "object",
    "required": [
      "rows",
      "chart",
      "totalRequests",
      "totalBlocked",
      "passRate"
    ],
    "title": "UsageOverviewResponse"
  },
  "UsageOverviewRow": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "name": {
        "type": "string",
        "title": "Name"
      },
      "type": {
        "type": "string",
        "title": "Type"
      },
      "provider": {
        "type": "string",
        "title": "Provider"
      },
      "requestsEvaluated": {
        "type": "integer",
        "title": "Requestsevaluated"
      },
      "failRate": {
        "type": "number",
        "title": "Failrate"
      },
      "avgScore": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Avgscore"
      },
      "avgLatency": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Avglatency"
      },
      "status": {
        "type": "string",
        "title": "Status"
      },
      "trend": {
        "type": "string",
        "title": "Trend"
      }
    },
    "type": "object",
    "required": [
      "id",
      "name",
      "type",
      "provider",
      "requestsEvaluated",
      "failRate",
      "avgScore",
      "avgLatency",
      "status",
      "trend"
    ],
    "title": "UsageOverviewRow"
  },
  "UserAPIKeyAuth": {
    "properties": {
      "token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Token"
      },
      "key_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Name"
      },
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "spend": {
        "type": "number",
        "title": "Spend",
        "default": 0.0
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "expires": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Expires"
      },
      "models": {
        "items": {},
        "type": "array",
        "title": "Models",
        "default": []
      },
      "aliases": {
        "additionalProperties": true,
        "type": "object",
        "title": "Aliases",
        "default": {}
      },
      "config": {
        "additionalProperties": true,
        "type": "object",
        "title": "Config",
        "default": {}
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "agent_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agent Id"
      },
      "project_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Project Id"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "metadata": {
        "additionalProperties": true,
        "type": "object",
        "title": "Metadata",
        "default": {}
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "budget_reset_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Reset At"
      },
      "allowed_cache_controls": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Cache Controls",
        "default": []
      },
      "allowed_routes": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Routes",
        "default": []
      },
      "permissions": {
        "additionalProperties": true,
        "type": "object",
        "title": "Permissions",
        "default": {}
      },
      "model_spend": {
        "additionalProperties": true,
        "type": "object",
        "title": "Model Spend",
        "default": {}
      },
      "model_max_budget": {
        "additionalProperties": true,
        "type": "object",
        "title": "Model Max Budget",
        "default": {}
      },
      "soft_budget_cooldown": {
        "type": "boolean",
        "title": "Soft Budget Cooldown",
        "default": false
      },
      "blocked": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked"
      },
      "litellm_budget_table": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Budget Table"
      },
      "org_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Org Id"
      },
      "created_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created At"
      },
      "created_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created By"
      },
      "updated_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated At"
      },
      "updated_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated By"
      },
      "last_active": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Last Active"
      },
      "object_permission_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Object Permission Id"
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "access_group_ids": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Access Group Ids"
      },
      "rotation_count": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rotation Count",
        "default": 0
      },
      "auto_rotate": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auto Rotate",
        "default": false
      },
      "rotation_interval": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rotation Interval"
      },
      "last_rotation_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Last Rotation At"
      },
      "key_rotation_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Rotation At"
      },
      "router_settings": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Router Settings"
      },
      "team_spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Spend"
      },
      "team_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Alias"
      },
      "team_tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Tpm Limit"
      },
      "team_rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Rpm Limit"
      },
      "team_max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Max Budget"
      },
      "team_soft_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Soft Budget"
      },
      "team_models": {
        "items": {},
        "type": "array",
        "title": "Team Models",
        "default": []
      },
      "team_blocked": {
        "type": "boolean",
        "title": "Team Blocked",
        "default": false
      },
      "soft_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Soft Budget"
      },
      "team_model_aliases": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Model Aliases"
      },
      "team_member": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Member"
          },
          {
            "type": "null"
          }
        ]
      },
      "team_metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Metadata"
      },
      "team_object_permission_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Object Permission Id"
      },
      "team_member_spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Spend"
      },
      "team_member_tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Tpm Limit"
      },
      "team_member_rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Rpm Limit"
      },
      "end_user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "End User Id"
      },
      "end_user_tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "End User Tpm Limit"
      },
      "end_user_rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "End User Rpm Limit"
      },
      "end_user_max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "End User Max Budget"
      },
      "end_user_model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "End User Model Max Budget"
      },
      "organization_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Alias"
      },
      "organization_max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Max Budget"
      },
      "organization_tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Tpm Limit"
      },
      "organization_rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Rpm Limit"
      },
      "organization_metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Metadata"
      },
      "project_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Project Alias"
      },
      "project_metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Project Metadata"
      },
      "last_refreshed_at": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Last Refreshed At"
      },
      "api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Key"
      },
      "user_role": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LitellmUserRoles"
          },
          {
            "type": "null"
          }
        ]
      },
      "allowed_model_region": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "eu",
              "us"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Model Region"
      },
      "parent_otel_span": {
        "anyOf": [
          {},
          {
            "type": "null"
          }
        ],
        "title": "Parent Otel Span"
      },
      "rpm_limit_per_model": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "integer"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit Per Model"
      },
      "tpm_limit_per_model": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "integer"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit Per Model"
      },
      "user_tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Tpm Limit"
      },
      "user_rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Rpm Limit"
      },
      "user_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Email"
      },
      "user_spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Spend"
      },
      "user_max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Max Budget"
      },
      "request_route": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Request Route"
      },
      "user": {
        "anyOf": [
          {},
          {
            "type": "null"
          }
        ],
        "title": "User"
      },
      "created_by_user": {
        "anyOf": [
          {},
          {
            "type": "null"
          }
        ],
        "title": "Created By User"
      },
      "end_user_object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "jwt_claims": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Jwt Claims"
      }
    },
    "type": "object",
    "title": "UserAPIKeyAuth",
    "description": "Return the row in the db"
  },
  "UserInfoResponse": {
    "properties": {
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "user_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/BaseModel"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Info"
      },
      "keys": {
        "items": {},
        "type": "array",
        "title": "Keys"
      },
      "teams": {
        "items": {},
        "type": "array",
        "title": "Teams"
      }
    },
    "type": "object",
    "required": [
      "user_id",
      "user_info",
      "keys",
      "teams"
    ],
    "title": "UserInfoResponse"
  },
  "UserInfoV2Response": {
    "properties": {
      "user_id": {
        "type": "string",
        "title": "User Id"
      },
      "user_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Email"
      },
      "user_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Alias"
      },
      "user_role": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Role"
      },
      "spend": {
        "type": "number",
        "title": "Spend",
        "default": 0.0
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "models": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Models",
        "default": []
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "budget_reset_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Reset At"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      },
      "created_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created At"
      },
      "updated_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated At"
      },
      "sso_user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Sso User Id"
      },
      "teams": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Teams",
        "default": []
      }
    },
    "type": "object",
    "required": [
      "user_id"
    ],
    "title": "UserInfoV2Response",
    "description": "Response model for GET /v2/user/info\n\nReturns ONLY the user object - no keys, no teams objects.\nThis is a lightweight alternative to UserInfoResponse."
  },
  "UserListResponse": {
    "properties": {
      "users": {
        "items": {
          "$ref": "#/components/schemas/LiteLLM_UserTableWithKeyCount"
        },
        "type": "array",
        "title": "Users"
      },
      "total": {
        "type": "integer",
        "title": "Total"
      },
      "page": {
        "type": "integer",
        "title": "Page"
      },
      "page_size": {
        "type": "integer",
        "title": "Page Size"
      },
      "total_pages": {
        "type": "integer",
        "title": "Total Pages"
      }
    },
    "type": "object",
    "required": [
      "users",
      "total",
      "page",
      "page_size",
      "total_pages"
    ],
    "title": "UserListResponse",
    "description": "Response model for the user list endpoint"
  },
  "UserUpdateResult": {
    "properties": {
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "user_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Email"
      },
      "success": {
        "type": "boolean",
        "title": "Success"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Error"
      },
      "updated_user": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated User"
      }
    },
    "type": "object",
    "required": [
      "success"
    ],
    "title": "UserUpdateResult",
    "description": "Result of a single user update operation"
  },
  "ValidationError": {
    "properties": {
      "loc": {
        "items": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "integer"
            }
          ]
        },
        "type": "array",
        "title": "Location"
      },
      "msg": {
        "type": "string",
        "title": "Message"
      },
      "type": {
        "type": "string",
        "title": "Error Type"
      }
    },
    "type": "object",
    "required": [
      "loc",
      "msg",
      "type"
    ],
    "title": "ValidationError"
  },
  "VantageDryRunRequest": {
    "properties": {
      "limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Limit",
        "description": "Limit on number of records to preview (default: 500)",
        "default": 500
      }
    },
    "type": "object",
    "title": "VantageDryRunRequest",
    "description": "Request model for Vantage dry-run operations (capped for preview)"
  },
  "VantageExportRequest": {
    "properties": {
      "limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Limit",
        "description": "Optional limit on number of records to export (default: no limit)"
      },
      "start_time_utc": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Start Time Utc",
        "description": "Start time for data export in UTC"
      },
      "end_time_utc": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "End Time Utc",
        "description": "End time for data export in UTC"
      }
    },
    "type": "object",
    "title": "VantageExportRequest",
    "description": "Request model for Vantage export operations (actual export, no default limit)"
  },
  "VantageExportResponse": {
    "properties": {
      "message": {
        "type": "string",
        "title": "Message"
      },
      "status": {
        "type": "string",
        "title": "Status"
      },
      "dry_run_data": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Dry Run Data",
        "description": "Dry run data including usage data and FOCUS transformed data"
      },
      "summary": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Summary",
        "description": "Summary statistics for dry run"
      }
    },
    "type": "object",
    "required": [
      "message",
      "status"
    ],
    "title": "VantageExportResponse",
    "description": "Response model for Vantage export operations"
  },
  "VantageInitRequest": {
    "properties": {
      "api_key": {
        "type": "string",
        "title": "Api Key",
        "description": "Vantage API key for authentication"
      },
      "integration_token": {
        "type": "string",
        "title": "Integration Token",
        "description": "Vantage integration token for the cost-import endpoint"
      },
      "base_url": {
        "type": "string",
        "title": "Base Url",
        "description": "Vantage API base URL (default: https://api.vantage.sh)",
        "default": "https://api.vantage.sh"
      }
    },
    "type": "object",
    "required": [
      "api_key",
      "integration_token"
    ],
    "title": "VantageInitRequest",
    "description": "Request model for initializing Vantage settings"
  },
  "VantageInitResponse": {
    "properties": {
      "message": {
        "type": "string",
        "title": "Message"
      },
      "status": {
        "type": "string",
        "title": "Status"
      }
    },
    "type": "object",
    "required": [
      "message",
      "status"
    ],
    "title": "VantageInitResponse",
    "description": "Response model for Vantage initialization"
  },
  "VantageSettingsUpdate": {
    "properties": {
      "api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Key",
        "description": "New Vantage API key for authentication"
      },
      "integration_token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Integration Token",
        "description": "New Vantage integration token"
      },
      "base_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Base Url",
        "description": "New Vantage API base URL"
      }
    },
    "type": "object",
    "title": "VantageSettingsUpdate",
    "description": "Request model for updating Vantage settings"
  }
}