{
  "ListGuardrailsResponse": {
    "properties": {
      "guardrails": {
        "items": {
          "$ref": "#/components/schemas/GuardrailInfoResponse"
        },
        "type": "array",
        "title": "Guardrails"
      }
    },
    "type": "object",
    "required": [
      "guardrails"
    ],
    "title": "ListGuardrailsResponse"
  },
  "ListPluginsResponse": {
    "properties": {
      "plugins": {
        "items": {
          "$ref": "#/components/schemas/PluginListItem"
        },
        "type": "array",
        "title": "Plugins"
      },
      "count": {
        "type": "integer",
        "title": "Count"
      }
    },
    "type": "object",
    "required": [
      "plugins",
      "count"
    ],
    "title": "ListPluginsResponse",
    "description": "Response from listing plugins."
  },
  "ListPromptsResponse": {
    "properties": {
      "prompts": {
        "items": {
          "$ref": "#/components/schemas/PromptSpec"
        },
        "type": "array",
        "title": "Prompts"
      }
    },
    "type": "object",
    "required": [
      "prompts"
    ],
    "title": "ListPromptsResponse"
  },
  "ListRunsResponse": {
    "properties": {
      "object": {
        "type": "string",
        "title": "Object",
        "default": "list"
      },
      "data": {
        "items": {
          "$ref": "#/components/schemas/Run"
        },
        "type": "array",
        "title": "Data"
      },
      "first_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "First Id"
      },
      "last_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Last Id"
      },
      "has_more": {
        "type": "boolean",
        "title": "Has More",
        "default": false
      }
    },
    "type": "object",
    "required": [
      "data"
    ],
    "title": "ListRunsResponse",
    "description": "Response from listing runs"
  },
  "ListSearchToolsResponse": {
    "properties": {
      "search_tools": {
        "items": {
          "$ref": "#/components/schemas/SearchToolInfoResponse"
        },
        "type": "array",
        "title": "Search Tools"
      }
    },
    "type": "object",
    "required": [
      "search_tools"
    ],
    "title": "ListSearchToolsResponse",
    "description": "Response model for listing search tools."
  },
  "ListSkillsResponse": {
    "properties": {
      "data": {
        "items": {
          "$ref": "#/components/schemas/Skill"
        },
        "type": "array",
        "title": "Data"
      },
      "next_page": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Next Page"
      },
      "has_more": {
        "type": "boolean",
        "title": "Has More",
        "default": false
      }
    },
    "type": "object",
    "required": [
      "data"
    ],
    "title": "ListSkillsResponse",
    "description": "Response from listing skills"
  },
  "LiteLLMFineTuningJobCreate": {
    "properties": {
      "model": {
        "type": "string",
        "title": "Model"
      },
      "training_file": {
        "type": "string",
        "title": "Training File"
      },
      "hyperparameters": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Hyperparameters"
          },
          {
            "type": "null"
          }
        ]
      },
      "suffix": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Suffix"
      },
      "validation_file": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Validation File"
      },
      "integrations": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Integrations"
      },
      "seed": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Seed"
      },
      "custom_llm_provider": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "openai",
              "azure",
              "vertex_ai"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Custom Llm Provider"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "model",
      "training_file"
    ],
    "title": "LiteLLMFineTuningJobCreate"
  },
  "LiteLLMKeyType": {
    "type": "string",
    "enum": [
      "llm_api",
      "management",
      "read_only",
      "default"
    ],
    "title": "LiteLLMKeyType",
    "description": "Enum for key types that determine what routes a key can access"
  },
  "LiteLLM_BudgetTable": {
    "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"
      }
    },
    "type": "object",
    "title": "LiteLLM_BudgetTable",
    "description": "Represents user-controllable params for a LiteLLM_BudgetTable record"
  },
  "LiteLLM_DeletedTeamTable": {
    "properties": {
      "team_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Alias"
      },
      "team_id": {
        "type": "string",
        "title": "Team Id"
      },
      "organization_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Id"
      },
      "admins": {
        "items": {},
        "type": "array",
        "title": "Admins",
        "default": []
      },
      "members": {
        "items": {},
        "type": "array",
        "title": "Members",
        "default": []
      },
      "members_with_roles": {
        "items": {
          "$ref": "#/components/schemas/Member"
        },
        "type": "array",
        "title": "Members With Roles",
        "default": []
      },
      "team_member_permissions": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Permissions"
      },
      "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"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "models": {
        "items": {},
        "type": "array",
        "title": "Models",
        "default": []
      },
      "blocked": {
        "type": "boolean",
        "title": "Blocked",
        "default": false
      },
      "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"
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "budget_reset_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Reset At"
      },
      "model_id": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Id"
      },
      "litellm_model_table": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ModelTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "updated_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated At"
      },
      "created_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created At"
      },
      "object_permission_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Object Permission Id"
      },
      "id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Id"
      },
      "deleted_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Deleted At"
      },
      "deleted_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Deleted By"
      },
      "deleted_by_api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Deleted By Api Key"
      },
      "litellm_changed_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Changed By"
      }
    },
    "type": "object",
    "required": [
      "team_id"
    ],
    "title": "LiteLLM_DeletedTeamTable",
    "description": "Recording of deleted teams for audit purposes. Mirrors LiteLLM_TeamTable\nplus metadata captured at deletion time."
  },
  "LiteLLM_DeletedVerificationToken": {
    "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"
      },
      "id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Id"
      },
      "deleted_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Deleted At"
      },
      "deleted_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Deleted By"
      },
      "deleted_by_api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Deleted By Api Key"
      },
      "litellm_changed_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Changed By"
      }
    },
    "type": "object",
    "title": "LiteLLM_DeletedVerificationToken",
    "description": "Recording of deleted keys for audit purposes. Mirrors LiteLLM_VerificationToken\nplus metadata captured at deletion time."
  },
  "LiteLLM_EndUserTable": {
    "properties": {
      "user_id": {
        "type": "string",
        "title": "User Id"
      },
      "blocked": {
        "type": "boolean",
        "title": "Blocked"
      },
      "alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Alias"
      },
      "spend": {
        "type": "number",
        "title": "Spend",
        "default": 0.0
      },
      "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"
      },
      "litellm_budget_table": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_BudgetTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "object_permission_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Object Permission Id"
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "required": [
      "user_id",
      "blocked"
    ],
    "title": "LiteLLM_EndUserTable"
  },
  "LiteLLM_MCPServerTable": {
    "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"
      },
      "url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Url"
      },
      "spec_path": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spec Path"
      },
      "transport": {
        "type": "string",
        "enum": [
          "sse",
          "http",
          "stdio"
        ],
        "title": "Transport"
      },
      "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"
          }
        ]
      },
      "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"
      },
      "teams": {
        "items": {
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "object"
        },
        "type": "array",
        "title": "Teams"
      },
      "mcp_access_groups": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Mcp Access Groups"
      },
      "allowed_tools": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "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": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Extra Headers"
      },
      "mcp_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Info"
      },
      "static_headers": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Static Headers"
      },
      "status": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "healthy",
              "unhealthy",
              "unknown"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Status",
        "description": "Health status: 'healthy', 'unhealthy', 'unknown'",
        "default": "unknown"
      },
      "last_health_check": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Last Health Check"
      },
      "health_check_error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Health Check Error"
      },
      "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"
      },
      "has_user_credential": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Has User Credential"
      },
      "source_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Source Url"
      },
      "approval_status": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Approval Status",
        "description": "Approval status: 'pending_review', 'active', 'rejected'",
        "default": "active"
      },
      "submitted_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Submitted By"
      },
      "submitted_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Submitted At"
      },
      "reviewed_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reviewed At"
      },
      "review_notes": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Review Notes"
      }
    },
    "type": "object",
    "required": [
      "server_id",
      "transport"
    ],
    "title": "LiteLLM_MCPServerTable",
    "description": "Represents a LiteLLM_MCPServerTable record"
  },
  "LiteLLM_ManagedVectorStore": {
    "properties": {
      "vector_store_id": {
        "type": "string",
        "title": "Vector Store Id"
      },
      "custom_llm_provider": {
        "type": "string",
        "title": "Custom Llm Provider"
      },
      "vector_store_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Store Name"
      },
      "vector_store_description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Store Description"
      },
      "vector_store_metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Store 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"
      },
      "litellm_credential_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Credential Name"
      },
      "litellm_params": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Params"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      }
    },
    "type": "object",
    "title": "LiteLLM_ManagedVectorStore",
    "description": "LiteLLM managed vector store object - this is is the object stored in the database"
  },
  "LiteLLM_ManagedVectorStoreListResponse": {
    "properties": {
      "object": {
        "type": "string",
        "const": "list",
        "title": "Object"
      },
      "data": {
        "items": {
          "$ref": "#/components/schemas/LiteLLM_ManagedVectorStore"
        },
        "type": "array",
        "title": "Data"
      },
      "total_count": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Total Count"
      },
      "current_page": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Current Page"
      },
      "total_pages": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Total Pages"
      }
    },
    "type": "object",
    "title": "LiteLLM_ManagedVectorStoreListResponse",
    "description": "Response format for listing vector stores"
  },
  "LiteLLM_ManagedVectorStoresTable": {
    "properties": {
      "vector_store_id": {
        "type": "string",
        "title": "Vector Store Id"
      },
      "custom_llm_provider": {
        "type": "string",
        "title": "Custom Llm Provider"
      },
      "vector_store_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Store Name"
      },
      "vector_store_description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Store Description"
      },
      "vector_store_metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Store 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"
      },
      "litellm_credential_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Credential Name"
      },
      "litellm_params": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Params"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      }
    },
    "type": "object",
    "required": [
      "vector_store_id",
      "custom_llm_provider",
      "vector_store_name",
      "vector_store_description",
      "vector_store_metadata",
      "created_at",
      "updated_at",
      "litellm_credential_name",
      "litellm_params",
      "team_id",
      "user_id"
    ],
    "title": "LiteLLM_ManagedVectorStoresTable"
  },
  "LiteLLM_ModelTable": {
    "properties": {
      "id": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Id"
      },
      "model_aliases": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Aliases"
      },
      "created_by": {
        "type": "string",
        "title": "Created By"
      },
      "updated_by": {
        "type": "string",
        "title": "Updated By"
      },
      "team": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_TeamTable"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "required": [
      "created_by",
      "updated_by"
    ],
    "title": "LiteLLM_ModelTable"
  },
  "LiteLLM_ObjectPermissionBase": {
    "properties": {
      "mcp_servers": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Servers"
      },
      "mcp_access_groups": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Access Groups"
      },
      "mcp_tool_permissions": {
        "anyOf": [
          {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Tool Permissions"
      },
      "mcp_toolsets": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Toolsets"
      },
      "blocked_tools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked Tools"
      },
      "vector_stores": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Stores"
      },
      "agents": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agents"
      },
      "agent_access_groups": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agent Access Groups"
      },
      "models": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models"
      }
    },
    "type": "object",
    "title": "LiteLLM_ObjectPermissionBase"
  },
  "LiteLLM_ObjectPermissionTable": {
    "properties": {
      "object_permission_id": {
        "type": "string",
        "title": "Object Permission Id"
      },
      "mcp_servers": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Servers",
        "default": []
      },
      "mcp_access_groups": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Access Groups",
        "default": []
      },
      "mcp_tool_permissions": {
        "anyOf": [
          {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Tool Permissions"
      },
      "vector_stores": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Stores",
        "default": []
      },
      "agents": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agents",
        "default": []
      },
      "agent_access_groups": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agent Access Groups",
        "default": []
      },
      "mcp_toolsets": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Toolsets"
      },
      "blocked_tools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked Tools",
        "default": []
      }
    },
    "type": "object",
    "required": [
      "object_permission_id"
    ],
    "title": "LiteLLM_ObjectPermissionTable",
    "description": "Represents a LiteLLM_ObjectPermissionTable record"
  },
  "LiteLLM_OrganizationMembershipTable": {
    "properties": {
      "user_id": {
        "type": "string",
        "title": "User Id"
      },
      "organization_id": {
        "type": "string",
        "title": "Organization Id"
      },
      "user_role": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Role"
      },
      "spend": {
        "type": "number",
        "title": "Spend",
        "default": 0.0
      },
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "title": "Created At"
      },
      "updated_at": {
        "type": "string",
        "format": "date-time",
        "title": "Updated At"
      },
      "user": {
        "anyOf": [
          {},
          {
            "type": "null"
          }
        ],
        "title": "User"
      },
      "litellm_budget_table": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_BudgetTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "user_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Email"
      }
    },
    "type": "object",
    "required": [
      "user_id",
      "organization_id",
      "created_at",
      "updated_at"
    ],
    "title": "LiteLLM_OrganizationMembershipTable",
    "description": "This is the table that track what organizations a user belongs to and users spend within the organization"
  },
  "LiteLLM_OrganizationTableWithMembers": {
    "properties": {
      "organization_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Id"
      },
      "organization_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Alias"
      },
      "budget_id": {
        "type": "string",
        "title": "Budget Id"
      },
      "spend": {
        "type": "number",
        "title": "Spend",
        "default": 0.0
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      },
      "models": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Models"
      },
      "created_by": {
        "type": "string",
        "title": "Created By"
      },
      "updated_by": {
        "type": "string",
        "title": "Updated By"
      },
      "users": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/LiteLLM_UserTable"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Users"
      },
      "litellm_budget_table": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_BudgetTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "object_permission_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Object Permission Id"
      },
      "members": {
        "items": {
          "$ref": "#/components/schemas/LiteLLM_OrganizationMembershipTable"
        },
        "type": "array",
        "title": "Members",
        "default": []
      },
      "teams": {
        "items": {
          "$ref": "#/components/schemas/LiteLLM_TeamTable"
        },
        "type": "array",
        "title": "Teams",
        "default": []
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "title": "Created At"
      },
      "updated_at": {
        "type": "string",
        "format": "date-time",
        "title": "Updated At"
      }
    },
    "type": "object",
    "required": [
      "budget_id",
      "models",
      "created_by",
      "updated_by",
      "created_at",
      "updated_at"
    ],
    "title": "LiteLLM_OrganizationTableWithMembers",
    "description": "Returned by the /organization/info endpoint and /organization/list endpoint"
  },
  "LiteLLM_Params": {
    "properties": {
      "input_cost_per_token": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Token"
      },
      "output_cost_per_token": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Token"
      },
      "input_cost_per_second": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Second"
      },
      "output_cost_per_second": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Second"
      },
      "input_cost_per_pixel": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Pixel"
      },
      "output_cost_per_pixel": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Pixel"
      },
      "input_cost_per_token_flex": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Token Flex"
      },
      "input_cost_per_token_priority": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Token Priority"
      },
      "cache_creation_input_token_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Creation Input Token Cost"
      },
      "cache_creation_input_token_cost_above_1hr": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Creation Input Token Cost Above 1Hr"
      },
      "cache_creation_input_token_cost_above_200k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Creation Input Token Cost Above 200K Tokens"
      },
      "cache_creation_input_audio_token_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Creation Input Audio Token Cost"
      },
      "cache_read_input_token_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Read Input Token Cost"
      },
      "cache_read_input_token_cost_flex": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Read Input Token Cost Flex"
      },
      "cache_read_input_token_cost_priority": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Read Input Token Cost Priority"
      },
      "cache_read_input_token_cost_above_200k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Read Input Token Cost Above 200K Tokens"
      },
      "cache_read_input_audio_token_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Read Input Audio Token Cost"
      },
      "input_cost_per_character": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Character"
      },
      "input_cost_per_character_above_128k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Character Above 128K Tokens"
      },
      "input_cost_per_audio_token": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Audio Token"
      },
      "input_cost_per_token_cache_hit": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Token Cache Hit"
      },
      "input_cost_per_token_above_128k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Token Above 128K Tokens"
      },
      "input_cost_per_token_above_200k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Token Above 200K Tokens"
      },
      "input_cost_per_query": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Query"
      },
      "input_cost_per_image": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Image"
      },
      "input_cost_per_image_above_128k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Image Above 128K Tokens"
      },
      "input_cost_per_audio_per_second": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Audio Per Second"
      },
      "input_cost_per_audio_per_second_above_128k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Audio Per Second Above 128K Tokens"
      },
      "input_cost_per_video_per_second": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Video Per Second"
      },
      "input_cost_per_video_per_second_above_128k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Video Per Second Above 128K Tokens"
      },
      "input_cost_per_video_per_second_above_15s_interval": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Video Per Second Above 15S Interval"
      },
      "input_cost_per_video_per_second_above_8s_interval": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Video Per Second Above 8S Interval"
      },
      "input_cost_per_token_batches": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Cost Per Token Batches"
      },
      "output_cost_per_token_batches": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Token Batches"
      },
      "output_cost_per_token_flex": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Token Flex"
      },
      "output_cost_per_token_priority": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Token Priority"
      },
      "output_cost_per_character": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Character"
      },
      "output_cost_per_audio_token": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Audio Token"
      },
      "output_cost_per_token_above_128k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Token Above 128K Tokens"
      },
      "output_cost_per_token_above_200k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Token Above 200K Tokens"
      },
      "output_cost_per_character_above_128k_tokens": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Character Above 128K Tokens"
      },
      "output_cost_per_image": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Image"
      },
      "output_cost_per_image_token": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Image Token"
      },
      "output_cost_per_reasoning_token": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Reasoning Token"
      },
      "output_cost_per_video_per_second": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Video Per Second"
      },
      "output_cost_per_audio_per_second": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Cost Per Audio Per Second"
      },
      "search_context_cost_per_query": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Search Context Cost Per Query"
      },
      "citation_cost_per_token": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Citation Cost Per Token"
      },
      "tiered_pricing": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tiered Pricing"
      },
      "api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Key"
      },
      "api_base": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Base"
      },
      "api_version": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Version"
      },
      "vertex_project": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vertex Project"
      },
      "vertex_location": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vertex Location"
      },
      "vertex_credentials": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vertex Credentials"
      },
      "region_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Region Name"
      },
      "aws_access_key_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Access Key Id"
      },
      "aws_secret_access_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Secret Access Key"
      },
      "aws_region_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Region Name"
      },
      "aws_bedrock_runtime_endpoint": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Bedrock Runtime Endpoint"
      },
      "watsonx_region_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Watsonx Region Name"
      },
      "custom_llm_provider": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Custom Llm Provider"
      },
      "tpm": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm"
      },
      "rpm": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm"
      },
      "timeout": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Timeout"
      },
      "stream_timeout": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Stream Timeout"
      },
      "max_retries": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Retries"
      },
      "organization": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization"
      },
      "configurable_clientside_auth_params": {
        "anyOf": [
          {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/ConfigurableClientsideParamsCustomAuth-Input"
                }
              ]
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Configurable Clientside Auth Params"
      },
      "litellm_credential_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Credential Name"
      },
      "litellm_trace_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Trace Id"
      },
      "max_file_size_mb": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max File Size Mb"
      },
      "default_api_key_tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Default Api Key Tpm Limit"
      },
      "default_api_key_rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Default Api Key Rpm Limit"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "use_in_pass_through": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Use In Pass Through",
        "default": false
      },
      "use_litellm_proxy": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Use Litellm Proxy",
        "default": false
      },
      "merge_reasoning_content_in_choices": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Merge Reasoning Content In Choices",
        "default": false
      },
      "model_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Info"
      },
      "mock_response": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/ModelResponse"
          },
          {},
          {
            "type": "null"
          }
        ],
        "title": "Mock Response"
      },
      "tags": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tags"
      },
      "tag_regex": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tag Regex"
      },
      "auto_router_config_path": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auto Router Config Path"
      },
      "auto_router_config": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auto Router Config"
      },
      "auto_router_default_model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auto Router Default Model"
      },
      "auto_router_embedding_model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auto Router Embedding Model"
      },
      "complexity_router_config": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Complexity Router Config"
      },
      "complexity_router_default_model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Complexity Router Default Model"
      },
      "s3_bucket_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "S3 Bucket Name"
      },
      "s3_encryption_key_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "S3 Encryption Key Id"
      },
      "gcs_bucket_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Gcs Bucket Name"
      },
      "vector_store_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vector Store Id"
      },
      "milvus_text_field": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Milvus Text Field"
      },
      "model": {
        "type": "string",
        "title": "Model"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "model"
    ],
    "title": "LiteLLM_Params",
    "description": "LiteLLM Params with 'model' requirement - used for completions"
  },
  "LiteLLM_ProjectTable": {
    "properties": {
      "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"
      },
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      },
      "models": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Models",
        "default": []
      },
      "spend": {
        "type": "number",
        "title": "Spend",
        "default": 0.0
      },
      "model_spend": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Spend"
      },
      "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": {
        "type": "boolean",
        "title": "Blocked",
        "default": false
      },
      "object_permission_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Object Permission Id"
      },
      "created_by": {
        "type": "string",
        "title": "Created By"
      },
      "updated_by": {
        "type": "string",
        "title": "Updated By"
      },
      "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"
      },
      "litellm_budget_table": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_BudgetTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "required": [
      "project_id",
      "created_by",
      "updated_by"
    ],
    "title": "LiteLLM_ProjectTable",
    "description": "Database model representation for project"
  },
  "LiteLLM_SpendLogs": {
    "properties": {
      "request_id": {
        "type": "string",
        "title": "Request Id"
      },
      "api_key": {
        "type": "string",
        "title": "Api Key"
      },
      "model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model",
        "default": ""
      },
      "api_base": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Base",
        "default": ""
      },
      "call_type": {
        "type": "string",
        "title": "Call Type"
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend",
        "default": 0.0
      },
      "total_tokens": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Total Tokens",
        "default": 0
      },
      "prompt_tokens": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Prompt Tokens",
        "default": 0
      },
      "completion_tokens": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Completion Tokens",
        "default": 0
      },
      "startTime": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Starttime"
      },
      "endTime": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Endtime"
      },
      "user": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User",
        "default": ""
      },
      "metadata": {
        "anyOf": [
          {},
          {
            "type": "null"
          }
        ],
        "title": "Metadata",
        "default": {}
      },
      "cache_hit": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Hit",
        "default": "False"
      },
      "cache_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Key"
      },
      "request_tags": {
        "anyOf": [
          {},
          {
            "type": "null"
          }
        ],
        "title": "Request Tags"
      },
      "requester_ip_address": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Requester Ip Address"
      },
      "messages": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {},
            "type": "array"
          },
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Messages"
      },
      "response": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {},
            "type": "array"
          },
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Response"
      }
    },
    "type": "object",
    "required": [
      "request_id",
      "api_key",
      "call_type",
      "startTime",
      "endTime",
      "messages",
      "response"
    ],
    "title": "LiteLLM_SpendLogs"
  },
  "LiteLLM_TeamMembership": {
    "properties": {
      "user_id": {
        "type": "string",
        "title": "User Id"
      },
      "team_id": {
        "type": "string",
        "title": "Team Id"
      },
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend",
        "default": 0.0
      },
      "litellm_budget_table": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_BudgetTable"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "required": [
      "user_id",
      "team_id",
      "litellm_budget_table"
    ],
    "title": "LiteLLM_TeamMembership"
  },
  "LiteLLM_TeamTable": {
    "properties": {
      "team_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Alias"
      },
      "team_id": {
        "type": "string",
        "title": "Team Id"
      },
      "organization_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Id"
      },
      "admins": {
        "items": {},
        "type": "array",
        "title": "Admins",
        "default": []
      },
      "members": {
        "items": {},
        "type": "array",
        "title": "Members",
        "default": []
      },
      "members_with_roles": {
        "items": {
          "$ref": "#/components/schemas/Member"
        },
        "type": "array",
        "title": "Members With Roles",
        "default": []
      },
      "team_member_permissions": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Permissions"
      },
      "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"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "models": {
        "items": {},
        "type": "array",
        "title": "Models",
        "default": []
      },
      "blocked": {
        "type": "boolean",
        "title": "Blocked",
        "default": false
      },
      "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"
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "budget_reset_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Reset At"
      },
      "model_id": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Id"
      },
      "litellm_model_table": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ModelTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "updated_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated At"
      },
      "created_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created At"
      },
      "object_permission_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Object Permission Id"
      }
    },
    "type": "object",
    "required": [
      "team_id"
    ],
    "title": "LiteLLM_TeamTable"
  },
  "LiteLLM_ToolTableRow": {
    "properties": {
      "tool_id": {
        "type": "string",
        "title": "Tool Id"
      },
      "tool_name": {
        "type": "string",
        "title": "Tool Name"
      },
      "origin": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Origin"
      },
      "input_policy": {
        "type": "string",
        "enum": [
          "trusted",
          "untrusted",
          "blocked"
        ],
        "title": "Input Policy",
        "default": "untrusted"
      },
      "output_policy": {
        "type": "string",
        "enum": [
          "trusted",
          "untrusted"
        ],
        "title": "Output Policy",
        "default": "untrusted"
      },
      "call_count": {
        "type": "integer",
        "title": "Call Count",
        "default": 0
      },
      "assignments": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Assignments"
      },
      "key_hash": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Hash"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "user_agent": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Agent"
      },
      "last_used_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Last Used At"
      },
      "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"
      },
      "created_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created By"
      },
      "updated_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated By"
      }
    },
    "type": "object",
    "required": [
      "tool_id",
      "tool_name"
    ],
    "title": "LiteLLM_ToolTableRow"
  },
  "LiteLLM_UserTable": {
    "properties": {
      "user_id": {
        "type": "string",
        "title": "User Id"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "spend": {
        "type": "number",
        "title": "Spend",
        "default": 0.0
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget",
        "default": {}
      },
      "model_spend": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Spend",
        "default": {}
      },
      "user_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Email"
      },
      "user_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Alias"
      },
      "models": {
        "items": {},
        "type": "array",
        "title": "Models",
        "default": []
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      },
      "user_role": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Role"
      },
      "organization_memberships": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/LiteLLM_OrganizationMembershipTable"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Memberships"
      },
      "teams": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Teams",
        "default": []
      },
      "sso_user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Sso User Id"
      },
      "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"
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "required": [
      "user_id"
    ],
    "title": "LiteLLM_UserTable"
  },
  "LiteLLM_UserTableWithKeyCount": {
    "properties": {
      "user_id": {
        "type": "string",
        "title": "User Id"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "spend": {
        "type": "number",
        "title": "Spend",
        "default": 0.0
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget",
        "default": {}
      },
      "model_spend": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Spend",
        "default": {}
      },
      "user_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Email"
      },
      "user_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Alias"
      },
      "models": {
        "items": {},
        "type": "array",
        "title": "Models",
        "default": []
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      },
      "user_role": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Role"
      },
      "organization_memberships": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/LiteLLM_OrganizationMembershipTable"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Memberships"
      },
      "teams": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Teams",
        "default": []
      },
      "sso_user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Sso User Id"
      },
      "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"
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionTable"
          },
          {
            "type": "null"
          }
        ]
      },
      "key_count": {
        "type": "integer",
        "title": "Key Count",
        "default": 0
      }
    },
    "type": "object",
    "required": [
      "user_id"
    ],
    "title": "LiteLLM_UserTableWithKeyCount"
  },
  "LiteLLM_VerificationToken": {
    "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"
      }
    },
    "type": "object",
    "title": "LiteLLM_VerificationToken"
  },
  "LitellmParams": {
    "properties": {
      "optional_params": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/GraySwanGuardrailConfigModelOptionalParams"
          },
          {
            "type": "null"
          }
        ],
        "description": "Optional parameters for the guardrail"
      },
      "blocked_languages": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked Languages",
        "description": "Language tags to block (e.g. python, javascript, bash). Empty or None = block all fenced code blocks.",
        "options": [
          "python",
          "javascript",
          "typescript",
          "bash",
          "ruby",
          "go",
          "java",
          "csharp",
          "php",
          "c",
          "cpp",
          "rust",
          "sql"
        ],
        "ui_type": "multiselect"
      },
      "action": {
        "type": "string",
        "enum": [
          "block",
          "mask"
        ],
        "title": "Action",
        "description": "'block' raises an error; 'mask' replaces the code block with a placeholder.",
        "default": "block"
      },
      "confidence_threshold": {
        "type": "number",
        "maximum": 1.0,
        "minimum": 0.0,
        "title": "Confidence Threshold",
        "description": "Only block or mask when detection confidence >= this value; below threshold, allow or log_only.",
        "default": 0.5,
        "default_value": 0.5,
        "max": 1.0,
        "min": 0.0,
        "step": 0.1,
        "ui_type": "percentage"
      },
      "detect_execution_intent": {
        "type": "boolean",
        "title": "Detect Execution Intent",
        "description": "When True, block only when user intent is to run/execute; allow when intent is explain/refactor/don't run. Also block text-only execution requests (e.g. 'run `ls`', 'read /etc/passwd').",
        "default": true
      },
      "api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Key",
        "description": "API key for the Lakera AI service"
      },
      "api_base": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Base",
        "description": "Base URL for the Lakera AI API"
      },
      "evaluation_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Evaluation Id",
        "description": "Pre-configured evaluation ID from Qualifire dashboard. When provided, uses invoke_evaluation() instead of evaluate()."
      },
      "prompt_injections": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Prompt Injections",
        "description": "Enable prompt injection detection. Default check if no evaluation_id and no other checks are specified."
      },
      "hallucinations_check": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Hallucinations Check",
        "description": "Enable hallucination detection to detect factual inaccuracies."
      },
      "grounding_check": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Grounding Check",
        "description": "Enable grounding verification to ensure output is grounded in provided context."
      },
      "pii_check": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Pii Check",
        "description": "Enable PII (Personally Identifiable Information) detection."
      },
      "content_moderation_check": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Content Moderation Check",
        "description": "Enable content moderation to check for harmful content (harassment, hate speech, etc.)."
      },
      "tool_selection_quality_check": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tool Selection Quality Check",
        "description": "Enable tool selection quality check to evaluate quality of tool/function calls."
      },
      "assertions": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Assertions",
        "description": "Custom assertions to validate against the output. Each assertion is a string describing a condition."
      },
      "on_flagged": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "block",
              "monitor"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "On Flagged",
        "description": "Action to take when content is flagged: 'block' (raise exception) or 'monitor' (log only)",
        "default": "block"
      },
      "auth_token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auth Token",
        "description": "Authorization bearer token for IBM Guardrails API. Reads from IBM_GUARDRAILS_AUTH_TOKEN env var if None."
      },
      "base_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Base Url",
        "description": "Base URL for the IBM Guardrails server"
      },
      "detector_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Detector Id",
        "description": "Name of the detector inside the server (e.g., 'jailbreak-detector')"
      },
      "is_detector_server": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Is Detector Server",
        "description": "Boolean flag to determine if calling a detector server (True) or the FMS Orchestrator (False). Defaults to True.",
        "default": true
      },
      "verify_ssl": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Verify Ssl",
        "description": "Whether to verify SSL certificates. Defaults to True.",
        "default": true
      },
      "policy_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policy Name",
        "description": "The EnkryptAI policy name to use. Sent via x-enkrypt-policy header."
      },
      "deployment_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Deployment Name",
        "description": "The EnkryptAI deployment name to use. Sent via X-Enkrypt-Deployment header."
      },
      "detectors": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Detectors",
        "description": "Dictionary of detector configurations (e.g., {'nsfw': {'enabled': True}, 'toxicity': {'enabled': True}})."
      },
      "block_on_violation": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Block On Violation",
        "description": "Whether to block requests when violations are detected. Defaults to True.",
        "default": true
      },
      "patterns": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ContentFilterPattern"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Patterns",
        "description": "List of patterns (prebuilt or custom regex) to detect"
      },
      "blocked_words": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/BlockedWord"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked Words",
        "description": "List of blocked words with individual actions"
      },
      "blocked_words_file": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked Words File",
        "description": "Path to YAML file containing blocked_words list"
      },
      "categories": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ContentFilterCategoryConfig"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Categories",
        "description": "List of prebuilt categories to enable (harmful_*, bias_*)"
      },
      "severity_threshold": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Severity Threshold",
        "description": "Minimum severity to block (high, medium, low)"
      },
      "pattern_redaction_format": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Pattern Redaction Format",
        "description": "Format string for pattern redaction (use {pattern_name} placeholder)"
      },
      "keyword_redaction_tag": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Keyword Redaction Tag",
        "description": "Tag to use for keyword redaction"
      },
      "experimental_use_latest_role_message_only": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Experimental Use Latest Role Message Only",
        "description": "When True, guardrails only receive the latest message for the relevant role (e.g., newest user input pre-call, newest assistant output post-call)",
        "default": false
      },
      "skip_system_message_in_guardrail": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Skip System Message In Guardrail",
        "description": "When True, unified guardrails skip system-role messages when building evaluation inputs (texts and structured_messages). When False, system messages are included even if litellm_settings sets a global skip. When None, use the global litellm.skip_system_message_in_guardrail setting."
      },
      "category_thresholds": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LakeraCategoryThresholds"
          },
          {
            "type": "null"
          }
        ],
        "description": "Threshold configuration for Lakera guardrail categories"
      },
      "detect_secrets_config": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Detect Secrets Config",
        "description": "Configuration for detect-secrets guardrail"
      },
      "guard_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guard Name",
        "description": "Name of the Javelin guard to use"
      },
      "default_on": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Default On",
        "description": "Whether the guardrail is enabled by default"
      },
      "mask_request_content": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mask Request Content",
        "description": "Will mask request content if guardrail makes any changes"
      },
      "mask_response_content": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mask Response Content",
        "description": "Will mask response content if guardrail makes any changes"
      },
      "pangea_input_recipe": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Pangea Input Recipe",
        "description": "Recipe for input (LLM request)"
      },
      "pangea_output_recipe": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Pangea Output Recipe",
        "description": "Recipe for output (LLM response)"
      },
      "model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model",
        "description": "Optional field if guardrail requires a 'model' parameter"
      },
      "violation_message_template": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Violation Message Template",
        "description": "Custom message when a guardrail blocks an action. Supports placeholders like {tool_name}, {rule_id}, and {default_message}."
      },
      "end_session_after_n_fails": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "End Session After N Fails",
        "description": "For /v1/realtime sessions: automatically close the session after this many guardrail violations."
      },
      "on_violation": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "warn",
              "end_session"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "On Violation",
        "description": "For /v1/realtime sessions: 'warn' speaks the violation message and continues; 'end_session' speaks the message and closes the connection."
      },
      "realtime_violation_message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Realtime Violation Message",
        "description": "The message the bot speaks aloud when a /v1/realtime guardrail fires. Falls back to violation_message_template if not set."
      },
      "template_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Template Id",
        "description": "The ID of your Model Armor template"
      },
      "location": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Location",
        "description": "Google Cloud location/region (e.g., us-central1)"
      },
      "credentials": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Credentials",
        "description": "Path to Google Cloud credentials JSON file or JSON string"
      },
      "api_endpoint": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Endpoint",
        "description": "Optional custom API endpoint for Model Armor"
      },
      "fail_on_error": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Fail On Error",
        "description": "Whether to fail the request if Model Armor encounters an error",
        "default": true
      },
      "additional_provider_specific_params": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Additional Provider Specific Params",
        "description": "Additional provider-specific parameters for generic guardrail APIs"
      },
      "unreachable_fallback": {
        "type": "string",
        "enum": [
          "fail_closed",
          "fail_open"
        ],
        "title": "Unreachable Fallback",
        "description": "What to do when Akto is unreachable. 'fail_open' = allow, 'fail_closed' = block.",
        "default": "fail_closed"
      },
      "extra_headers": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Extra Headers",
        "description": "Header names to forward from the client request to the guardrail (e.g. x-request-id). Only these headers' values are sent; others may be omitted or sent as [present]. Used by generic_guardrail_api (similar to MCP extra_headers)."
      },
      "custom_code": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Custom Code",
        "description": "Python-like code containing the apply_guardrail function for custom guardrail logic"
      },
      "api_version": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Version",
        "description": "API version for Javelin service",
        "default": "v1"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata",
        "description": "Additional metadata to include in the request"
      },
      "application": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Application",
        "description": "Application name for Javelin service"
      },
      "config": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Config",
        "description": "Additional configuration for the guardrail"
      },
      "akto_base_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Akto Base Url",
        "description": "Akto Guardrail API Base URL. Env: AKTO_GUARDRAIL_API_BASE.",
        "examples": [
          "http://localhost:9090",
          "https://akto-ingestion.example.com"
        ]
      },
      "akto_api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Akto Api Key",
        "description": "API key for Akto. Env: AKTO_API_KEY."
      },
      "akto_account_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Akto Account Id",
        "description": "Akto account ID for multi-tenant deployments. Env: AKTO_ACCOUNT_ID. Default: '1000000'."
      },
      "akto_vxlan_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Akto Vxlan Id",
        "description": "Akto VXLAN ID. Env: AKTO_VXLAN_ID. Default: '0'."
      },
      "guardrail_timeout": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrail Timeout",
        "description": "HTTP timeout in seconds. Default: 5."
      },
      "policy_id": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policy Id",
        "description": "Policy ID for Zscaler AI Guard. Can also be set via ZSCALER_AI_GUARD_POLICY_ID environment variable"
      },
      "send_user_api_key_alias": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Send User Api Key Alias",
        "description": "Whether to send user_API_key_alias in headers",
        "default": false
      },
      "send_user_api_key_user_id": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Send User Api Key User Id",
        "description": "Whether to send user_API_key_user_id in headers",
        "default": false
      },
      "send_user_api_key_team_id": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Send User Api Key Team Id",
        "description": "Whether to send user_API_key_team_id in headers",
        "default": false
      },
      "rules": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ToolPermissionRule"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rules",
        "description": "Ordered allow/deny rules. Patterns use regex for tool names/types and optional regex constraints on tool arguments."
      },
      "default_action": {
        "type": "string",
        "enum": [
          "allow",
          "deny"
        ],
        "title": "Default Action",
        "description": "Fallback decision when no rule matches",
        "default": "deny"
      },
      "on_disallowed_action": {
        "type": "string",
        "enum": [
          "block",
          "rewrite"
        ],
        "title": "On Disallowed Action",
        "description": "Choose whether disallowed tools block the request or get rewritten out of the payload",
        "default": "block"
      },
      "use_v2": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Use V2",
        "description": "If True and guardrail='noma', route to the new Noma v2 implementation instead of the legacy implementation.",
        "default": false
      },
      "application_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Application Id",
        "description": "Application ID for Noma Security. Defaults to 'litellm' if not provided"
      },
      "monitor_mode": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Monitor Mode",
        "description": "If True, logs violations without blocking. Defaults to False if not provided"
      },
      "block_failures": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Block Failures",
        "description": "If True, blocks requests on API failures. Defaults to True if not provided"
      },
      "anonymize_input": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Anonymize Input",
        "description": "If True, replaces sensitive content with anonymized version when only PII/PCI/secrets are detected. Only applies in blocking mode. Defaults to False if not provided"
      },
      "on_flagged_action": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "On Flagged Action",
        "description": "Action to take when content is flagged: 'block' (raise exception) or 'monitor' (log only)",
        "default": "monitor"
      },
      "async_mode": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Async Mode",
        "description": "Set to True to request asynchronous analysis (sets `plr_async` header). Defaults to provider behaviour when omitted."
      },
      "persist_session": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Persist Session",
        "description": "Controls Pillar session persistence (sets `plr_persist` header). Set to False to disable persistence."
      },
      "include_scanners": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Include Scanners",
        "description": "Include scanner category summaries in responses (sets `plr_scanners` header).",
        "default": true
      },
      "include_evidence": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Include Evidence",
        "description": "Include detailed evidence payloads in responses (sets `plr_evidence` header).",
        "default": true
      },
      "lasso_user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Lasso User Id",
        "description": "User ID for the Lasso guardrail"
      },
      "lasso_conversation_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Lasso Conversation Id",
        "description": "Conversation ID for the Lasso guardrail"
      },
      "mask": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mask",
        "description": "Enable content masking using Lasso classifix API",
        "default": false
      },
      "project_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Project Id",
        "description": "Project ID for the Lakera AI project"
      },
      "payload": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Payload",
        "description": "Whether to include payload in the response",
        "default": true
      },
      "breakdown": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Breakdown",
        "description": "Whether to include breakdown in the response",
        "default": true
      },
      "dev_info": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Dev Info",
        "description": "Whether to include developer information in the response",
        "default": true
      },
      "guardrailIdentifier": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrailidentifier",
        "description": "The ID of your guardrail on Bedrock"
      },
      "guardrailVersion": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrailversion",
        "description": "The version of your Bedrock guardrail (e.g., DRAFT or version number)"
      },
      "disable_exception_on_block": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Disable Exception On Block",
        "description": "If True, will not raise an exception when the guardrail is blocked. Useful for OpenWebUI where exceptions can end the chat flow.",
        "default": false
      },
      "aws_region_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Region Name",
        "description": "AWS region where your guardrail is deployed"
      },
      "aws_access_key_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Access Key Id",
        "description": "AWS access key ID for authentication"
      },
      "aws_secret_access_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Secret Access Key",
        "description": "AWS secret access key for authentication"
      },
      "aws_session_token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Session Token",
        "description": "AWS session token for temporary credentials"
      },
      "aws_session_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Session Name",
        "description": "Name of the AWS session"
      },
      "aws_profile_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Profile Name",
        "description": "AWS profile name for credential retrieval"
      },
      "aws_role_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Role Name",
        "description": "AWS role name for assuming roles"
      },
      "aws_web_identity_token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Web Identity Token",
        "description": "Web identity token for AWS role assumption"
      },
      "aws_sts_endpoint": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Sts Endpoint",
        "description": "AWS STS endpoint URL"
      },
      "aws_bedrock_runtime_endpoint": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Bedrock Runtime Endpoint",
        "description": "AWS Bedrock runtime endpoint URL"
      },
      "presidio_analyzer_api_base": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Presidio Analyzer Api Base",
        "description": "Base URL for the Presidio analyzer API"
      },
      "presidio_anonymizer_api_base": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Presidio Anonymizer Api Base",
        "description": "Base URL for the Presidio anonymizer API"
      },
      "presidio_filter_scope": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "input",
              "output",
              "both"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Presidio Filter Scope",
        "description": "Where to apply Presidio checks: 'input' (user -> model), 'output' (model -> user), or 'both' (default)."
      },
      "output_parse_pii": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Output Parse Pii",
        "description": "When True, LiteLLM will replace the masked text with the original text in the response",
        "ui_type": "bool"
      },
      "presidio_language": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Presidio Language",
        "description": "Language code for Presidio PII analysis (e.g., 'en', 'de', 'es', 'fr')",
        "default": "en"
      },
      "presidio_run_on": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "input",
              "output",
              "both"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Presidio Run On",
        "description": "Where to apply Presidio checks: input, output, or both (default)."
      },
      "pii_entities_config": {
        "anyOf": [
          {
            "additionalProperties": {
              "$ref": "#/components/schemas/PiiAction"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Pii Entities Config",
        "description": "Configuration for PII entity types and actions"
      },
      "presidio_score_thresholds": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "number"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Presidio Score Thresholds",
        "description": "Optional per-entity minimum confidence scores for Presidio detections. Entities below the threshold are ignored."
      },
      "presidio_entities_deny_list": {
        "anyOf": [
          {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/PiiEntityType"
                },
                {
                  "type": "string"
                }
              ]
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Presidio Entities Deny List",
        "description": "List of entity types to exclude from Presidio detection results. Detections of these types will be silently dropped. Useful for suppressing false positives (e.g., US_DRIVER_LICENSE on coding routes)."
      },
      "presidio_ad_hoc_recognizers": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Presidio Ad Hoc Recognizers",
        "description": "Path to a JSON file containing ad-hoc recognizers for Presidio"
      },
      "mock_redacted_text": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mock Redacted Text",
        "description": "Mock redacted text for testing"
      },
      "guardrail": {
        "type": "string",
        "title": "Guardrail",
        "description": "The type of guardrail integration to use"
      },
      "mode": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Mode"
          }
        ],
        "title": "Mode",
        "description": "When to apply the guardrail (pre_call, post_call, during_call, logging_only)"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "guardrail",
      "mode"
    ],
    "title": "LitellmParams"
  },
  "LitellmUserRoles": {
    "type": "string",
    "enum": [
      "proxy_admin",
      "proxy_admin_viewer",
      "org_admin",
      "internal_user",
      "internal_user_viewer",
      "team",
      "customer"
    ],
    "title": "LitellmUserRoles",
    "description": "Admin Roles:\nPROXY_ADMIN: admin over the platform\nPROXY_ADMIN_VIEW_ONLY: can login, view all own keys, view all spend\nORG_ADMIN: admin over a specific organization, can create teams, users only within their organization\n\nInternal User Roles:\nINTERNAL_USER: can login, view/create/delete their own keys, view their spend\nINTERNAL_USER_VIEW_ONLY: can login, view their own keys, view their own spend\n\n\nTeam Roles:\nTEAM: used for JWT auth\n\n\nCustomer Roles:\nCUSTOMER: External users -> these are customers"
  },
  "LoggingCallbackStatus": {
    "properties": {
      "callbacks": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Callbacks"
      },
      "status": {
        "type": "string",
        "enum": [
          "healthy",
          "unhealthy"
        ],
        "title": "Status"
      },
      "details": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Details"
      }
    },
    "type": "object",
    "title": "LoggingCallbackStatus"
  },
  "MCPCredentials": {
    "properties": {
      "auth_value": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auth Value"
      },
      "client_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Client Id"
      },
      "client_secret": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Client Secret"
      },
      "scopes": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Scopes"
      },
      "aws_access_key_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Access Key Id"
      },
      "aws_secret_access_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Secret Access Key"
      },
      "aws_session_token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Session Token"
      },
      "aws_region_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Region Name"
      },
      "aws_service_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Service Name"
      },
      "aws_role_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Role Name"
      },
      "aws_session_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aws Session Name"
      }
    },
    "type": "object",
    "title": "MCPCredentials"
  },
  "MCPOAuthUserCredentialRequest": {
    "properties": {
      "access_token": {
        "type": "string",
        "title": "Access Token"
      },
      "refresh_token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Refresh Token"
      },
      "expires_in": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Expires In"
      },
      "scopes": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Scopes"
      }
    },
    "type": "object",
    "required": [
      "access_token"
    ],
    "title": "MCPOAuthUserCredentialRequest",
    "description": "Stores a user's OAuth2 token for an OpenAPI MCP server."
  },
  "MCPOAuthUserCredentialStatus": {
    "properties": {
      "server_id": {
        "type": "string",
        "title": "Server Id"
      },
      "has_credential": {
        "type": "boolean",
        "title": "Has Credential"
      },
      "expires_at": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Expires At"
      },
      "is_expired": {
        "type": "boolean",
        "title": "Is Expired",
        "default": false
      },
      "connected_at": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Connected At"
      }
    },
    "type": "object",
    "required": [
      "server_id",
      "has_credential"
    ],
    "title": "MCPOAuthUserCredentialStatus",
    "description": "Describes whether the calling user has a stored OAuth credential."
  },
  "MCPPublicServer": {
    "properties": {
      "server_id": {
        "type": "string",
        "title": "Server Id"
      },
      "name": {
        "type": "string",
        "title": "Name"
      },
      "alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Alias"
      },
      "server_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Server Name"
      },
      "url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Url"
      },
      "transport": {
        "type": "string",
        "enum": [
          "sse",
          "http",
          "stdio"
        ],
        "title": "Transport"
      },
      "spec_path": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spec Path"
      },
      "auth_type": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "none",
              "api_key",
              "bearer_token",
              "basic",
              "authorization",
              "oauth2",
              "aws_sigv4",
              "token"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Auth Type"
      },
      "mcp_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mcp Info"
      }
    },
    "type": "object",
    "required": [
      "server_id",
      "name",
      "transport"
    ],
    "title": "MCPPublicServer",
    "description": "Safe params for public MCP servers"
  },
  "MCPSemanticFilterSettings": {
    "properties": {
      "enabled": {
        "type": "boolean",
        "title": "Enabled",
        "description": "Enable semantic filtering of MCP tools based on query relevance",
        "default": false
      },
      "embedding_model": {
        "type": "string",
        "title": "Embedding Model",
        "description": "Embedding model to use for semantic similarity (e.g., 'text-embedding-3-small', 'text-embedding-ada-002')",
        "default": "text-embedding-3-small"
      },
      "top_k": {
        "type": "integer",
        "maximum": 100.0,
        "minimum": 1.0,
        "title": "Top K",
        "description": "Number of most relevant tools to return",
        "default": 10
      },
      "similarity_threshold": {
        "type": "number",
        "maximum": 1.0,
        "minimum": 0.0,
        "title": "Similarity Threshold",
        "description": "Minimum similarity score for tool inclusion (0.0 to 1.0, where 1.0 = exact match)",
        "default": 0.3
      }
    },
    "type": "object",
    "title": "MCPSemanticFilterSettings",
    "description": "Configuration for MCP Semantic Tool Filter"
  },
  "MCPSemanticFilterSettingsResponse": {
    "properties": {
      "values": {
        "additionalProperties": true,
        "type": "object",
        "title": "Values"
      },
      "field_schema": {
        "additionalProperties": true,
        "type": "object",
        "title": "Field Schema"
      }
    },
    "type": "object",
    "required": [
      "values",
      "field_schema"
    ],
    "title": "MCPSemanticFilterSettingsResponse",
    "description": "Response model for MCP semantic filter settings"
  },
  "MCPSubmissionsSummary": {
    "properties": {
      "total": {
        "type": "integer",
        "title": "Total"
      },
      "pending_review": {
        "type": "integer",
        "title": "Pending Review"
      },
      "active": {
        "type": "integer",
        "title": "Active"
      },
      "rejected": {
        "type": "integer",
        "title": "Rejected"
      },
      "items": {
        "items": {
          "$ref": "#/components/schemas/LiteLLM_MCPServerTable"
        },
        "type": "array",
        "title": "Items"
      }
    },
    "type": "object",
    "required": [
      "total",
      "pending_review",
      "active",
      "rejected",
      "items"
    ],
    "title": "MCPSubmissionsSummary"
  },
  "MCPToolsetTool": {
    "properties": {
      "server_id": {
        "type": "string",
        "title": "Server Id"
      },
      "tool_name": {
        "type": "string",
        "title": "Tool Name"
      }
    },
    "type": "object",
    "required": [
      "server_id",
      "tool_name"
    ],
    "title": "MCPToolsetTool"
  },
  "MCPUserCredentialListItem": {
    "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"
      },
      "credential_type": {
        "type": "string",
        "title": "Credential Type"
      },
      "has_credential": {
        "type": "boolean",
        "title": "Has Credential"
      },
      "expires_at": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Expires At"
      },
      "connected_at": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Connected At"
      }
    },
    "type": "object",
    "required": [
      "server_id",
      "credential_type",
      "has_credential"
    ],
    "title": "MCPUserCredentialListItem",
    "description": "One entry in the /user-credentials list."
  },
  "MCPUserCredentialRequest": {
    "properties": {
      "credential": {
        "type": "string",
        "title": "Credential"
      },
      "save": {
        "type": "boolean",
        "title": "Save",
        "default": true
      }
    },
    "type": "object",
    "required": [
      "credential"
    ],
    "title": "MCPUserCredentialRequest"
  },
  "MCPUserCredentialResponse": {
    "properties": {
      "server_id": {
        "type": "string",
        "title": "Server Id"
      },
      "has_credential": {
        "type": "boolean",
        "title": "Has Credential"
      }
    },
    "type": "object",
    "required": [
      "server_id",
      "has_credential"
    ],
    "title": "MCPUserCredentialResponse"
  },
  "MakeAgentsPublicRequest": {
    "properties": {
      "agent_ids": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Agent Ids"
      }
    },
    "type": "object",
    "required": [
      "agent_ids"
    ],
    "title": "MakeAgentsPublicRequest"
  },
  "MakeMCPServersPublicRequest": {
    "properties": {
      "mcp_server_ids": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Mcp Server Ids"
      }
    },
    "type": "object",
    "required": [
      "mcp_server_ids"
    ],
    "title": "MakeMCPServersPublicRequest"
  },
  "Member": {
    "properties": {
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id",
        "description": "The unique ID of the user to add. Either user_id or user_email must be provided"
      },
      "user_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Email",
        "description": "The email address of the user to add. Either user_id or user_email must be provided"
      },
      "role": {
        "type": "string",
        "enum": [
          "admin",
          "user"
        ],
        "title": "Role",
        "description": "The role of the user within the team. 'admin' users can manage team settings and members, 'user' is a regular team member"
      }
    },
    "type": "object",
    "required": [
      "role"
    ],
    "title": "Member"
  },
  "Message": {
    "properties": {
      "content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Content"
      },
      "role": {
        "type": "string",
        "enum": [
          "assistant",
          "user",
          "system",
          "tool",
          "function"
        ],
        "title": "Role"
      },
      "tool_calls": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionMessageToolCall"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tool Calls"
      },
      "function_call": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/FunctionCall"
          },
          {
            "type": "null"
          }
        ]
      },
      "audio": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/ChatCompletionAudioResponse"
          },
          {
            "type": "null"
          }
        ]
      },
      "images": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ImageURLListItem"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Images"
      },
      "reasoning_content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reasoning Content"
      },
      "thinking_blocks": {
        "anyOf": [
          {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChatCompletionThinkingBlock"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionRedactedThinkingBlock"
                }
              ]
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Thinking Blocks"
      },
      "reasoning_items": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionReasoningItem"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reasoning Items"
      },
      "provider_specific_fields": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Provider Specific Fields"
      },
      "annotations": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionAnnotation"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Annotations"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "content",
      "role",
      "tool_calls",
      "function_call"
    ],
    "title": "Message"
  },
  "MetricWithMetadata": {
    "properties": {
      "metrics": {
        "$ref": "#/components/schemas/SpendMetrics"
      },
      "metadata": {
        "additionalProperties": true,
        "type": "object",
        "title": "Metadata"
      },
      "api_key_breakdown": {
        "additionalProperties": {
          "$ref": "#/components/schemas/KeyMetricWithMetadata"
        },
        "type": "object",
        "title": "Api Key Breakdown"
      }
    },
    "type": "object",
    "required": [
      "metrics"
    ],
    "title": "MetricWithMetadata"
  },
  "Mode": {
    "properties": {
      "tags": {
        "additionalProperties": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "type": "object",
        "title": "Tags",
        "description": "Tags for the guardrail mode"
      },
      "default": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Default",
        "description": "Default mode when no tags match"
      }
    },
    "type": "object",
    "required": [
      "tags"
    ],
    "title": "Mode"
  }
}