{
  "ChatCompletionToolCallFunctionChunk": {
    "properties": {
      "name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Name"
      },
      "arguments": {
        "title": "Arguments",
        "type": "string"
      },
      "provider_specific_fields": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Provider Specific Fields"
      }
    },
    "title": "ChatCompletionToolCallFunctionChunk",
    "type": "object"
  },
  "ChatCompletionToolMessage": {
    "properties": {
      "role": {
        "const": "tool",
        "title": "Role",
        "type": "string"
      },
      "content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionTextObject"
            },
            "type": "array"
          }
        ],
        "title": "Content"
      },
      "tool_call_id": {
        "title": "Tool Call Id",
        "type": "string"
      }
    },
    "required": [
      "role",
      "content",
      "tool_call_id"
    ],
    "title": "ChatCompletionToolMessage",
    "type": "object"
  },
  "ChatCompletionToolParam": {
    "properties": {
      "type": {
        "anyOf": [
          {
            "type": "string",
            "const": "function"
          },
          {
            "type": "string"
          }
        ],
        "title": "Type"
      },
      "function": {
        "$ref": "#/components/schemas/ChatCompletionToolParamFunctionChunk"
      },
      "cache_control": {
        "$ref": "#/components/schemas/ChatCompletionCachedContent"
      }
    },
    "type": "object",
    "required": [
      "type",
      "function"
    ],
    "title": "ChatCompletionToolParam"
  },
  "ChatCompletionToolParamFunctionChunk": {
    "properties": {
      "name": {
        "type": "string",
        "title": "Name"
      },
      "description": {
        "type": "string",
        "title": "Description"
      },
      "parameters": {
        "additionalProperties": true,
        "type": "object",
        "title": "Parameters"
      },
      "strict": {
        "type": "boolean",
        "title": "Strict"
      }
    },
    "type": "object",
    "required": [
      "name"
    ],
    "title": "ChatCompletionToolParamFunctionChunk"
  },
  "ChatCompletionUserMessage": {
    "properties": {
      "role": {
        "const": "user",
        "title": "Role",
        "type": "string"
      },
      "content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChatCompletionTextObject"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionImageObject"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionAudioObject"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionDocumentObject"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionVideoObject"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionFileObject"
                }
              ]
            },
            "type": "array"
          }
        ],
        "title": "Content"
      },
      "cache_control": {
        "$ref": "#/components/schemas/ChatCompletionCachedContent"
      }
    },
    "required": [
      "role",
      "content"
    ],
    "title": "ChatCompletionUserMessage",
    "type": "object"
  },
  "ChatCompletionVideoObject": {
    "properties": {
      "type": {
        "const": "video_url",
        "title": "Type",
        "type": "string"
      },
      "video_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/ChatCompletionVideoUrlObject"
          }
        ],
        "title": "Video Url"
      }
    },
    "required": [
      "type",
      "video_url"
    ],
    "title": "ChatCompletionVideoObject",
    "type": "object"
  },
  "ChatCompletionVideoUrlObject": {
    "properties": {
      "url": {
        "title": "Url",
        "type": "string"
      },
      "detail": {
        "title": "Detail",
        "type": "string"
      }
    },
    "required": [
      "url"
    ],
    "title": "ChatCompletionVideoUrlObject",
    "type": "object"
  },
  "ChatMessage": {
    "properties": {
      "role": {
        "type": "string",
        "enum": [
          "user",
          "assistant"
        ],
        "title": "Role"
      },
      "content": {
        "type": "string",
        "title": "Content"
      }
    },
    "type": "object",
    "required": [
      "role",
      "content"
    ],
    "title": "ChatMessage"
  },
  "ChoiceLogprobs": {
    "properties": {
      "content": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionTokenLogprob"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Content"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "title": "ChoiceLogprobs"
  },
  "Choices": {
    "properties": {
      "finish_reason": {
        "type": "string",
        "enum": [
          "stop",
          "content_filter",
          "function_call",
          "tool_calls",
          "length",
          "guardrail_intervened",
          "eos",
          "finish_reason_unspecified",
          "malformed_function_call"
        ],
        "title": "Finish Reason"
      },
      "index": {
        "type": "integer",
        "title": "Index"
      },
      "message": {
        "$ref": "#/components/schemas/Message"
      },
      "logprobs": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/ChoiceLogprobs"
          },
          {},
          {
            "type": "null"
          }
        ],
        "title": "Logprobs"
      },
      "provider_specific_fields": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Provider Specific Fields"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "finish_reason",
      "index",
      "message"
    ],
    "title": "Choices"
  },
  "CitationsObject": {
    "properties": {
      "enabled": {
        "title": "Enabled",
        "type": "boolean"
      }
    },
    "required": [
      "enabled"
    ],
    "title": "CitationsObject",
    "type": "object"
  },
  "CloudZeroExportRequest": {
    "properties": {
      "limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Limit",
        "description": "Optional limit on number of records to export"
      },
      "operation": {
        "type": "string",
        "title": "Operation",
        "description": "CloudZero operation type (replace_hourly or sum)",
        "default": "replace_hourly"
      },
      "start_time_utc": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Start Time Utc",
        "description": "Start time for data export in UTC"
      },
      "end_time_utc": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "End Time Utc",
        "description": "End time for data export in UTC"
      }
    },
    "type": "object",
    "title": "CloudZeroExportRequest",
    "description": "Request model for CloudZero export operations"
  },
  "CloudZeroExportResponse": {
    "properties": {
      "message": {
        "type": "string",
        "title": "Message"
      },
      "status": {
        "type": "string",
        "title": "Status"
      },
      "records_exported": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Records Exported"
      },
      "dry_run_data": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Dry Run Data",
        "description": "Dry run data including usage data and CBF transformed data"
      },
      "summary": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Summary",
        "description": "Summary statistics for dry run"
      }
    },
    "type": "object",
    "required": [
      "message",
      "status"
    ],
    "title": "CloudZeroExportResponse",
    "description": "Response model for CloudZero export operations"
  },
  "CloudZeroInitRequest": {
    "properties": {
      "api_key": {
        "type": "string",
        "title": "Api Key",
        "description": "CloudZero API key for authentication"
      },
      "connection_id": {
        "type": "string",
        "title": "Connection Id",
        "description": "CloudZero connection ID for data submission"
      },
      "timezone": {
        "type": "string",
        "title": "Timezone",
        "description": "Timezone for date handling (default: UTC)",
        "default": "UTC"
      }
    },
    "type": "object",
    "required": [
      "api_key",
      "connection_id"
    ],
    "title": "CloudZeroInitRequest",
    "description": "Request model for initializing CloudZero settings"
  },
  "CloudZeroInitResponse": {
    "properties": {
      "message": {
        "type": "string",
        "title": "Message"
      },
      "status": {
        "type": "string",
        "title": "Status"
      }
    },
    "type": "object",
    "required": [
      "message",
      "status"
    ],
    "title": "CloudZeroInitResponse",
    "description": "Response model for CloudZero initialization"
  },
  "CloudZeroSettingsUpdate": {
    "properties": {
      "api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Key",
        "description": "New CloudZero API key for authentication"
      },
      "connection_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Connection Id",
        "description": "New CloudZero connection ID for data submission"
      },
      "timezone": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Timezone",
        "description": "New timezone for date handling"
      }
    },
    "type": "object",
    "title": "CloudZeroSettingsUpdate",
    "description": "Request model for updating CloudZero settings"
  },
  "CloudZeroSettingsView": {
    "properties": {
      "api_key_masked": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Api Key Masked",
        "description": "Masked API key showing only first 4 and last 4 characters"
      },
      "connection_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Connection Id",
        "description": "CloudZero connection ID for data submission"
      },
      "timezone": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Timezone",
        "description": "Timezone for date handling"
      },
      "status": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Status",
        "description": "Configuration status"
      }
    },
    "type": "object",
    "title": "CloudZeroSettingsView",
    "description": "Response model for viewing CloudZero settings with masked API key"
  },
  "ComplianceCheckRequest": {
    "properties": {
      "request_id": {
        "type": "string",
        "title": "Request Id"
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model"
      },
      "timestamp": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Timestamp"
      },
      "guardrail_information": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrail Information"
      }
    },
    "type": "object",
    "required": [
      "request_id"
    ],
    "title": "ComplianceCheckRequest",
    "description": "Request payload for compliance check endpoints.\n\nMirrors the spend log fields needed for compliance evaluation."
  },
  "ComplianceCheckResult": {
    "properties": {
      "check_name": {
        "type": "string",
        "title": "Check Name"
      },
      "article": {
        "type": "string",
        "title": "Article"
      },
      "passed": {
        "type": "boolean",
        "title": "Passed"
      },
      "detail": {
        "type": "string",
        "title": "Detail"
      }
    },
    "type": "object",
    "required": [
      "check_name",
      "article",
      "passed",
      "detail"
    ],
    "title": "ComplianceCheckResult",
    "description": "Result of a single compliance check."
  },
  "ComplianceResponse": {
    "properties": {
      "compliant": {
        "type": "boolean",
        "title": "Compliant"
      },
      "regulation": {
        "type": "string",
        "title": "Regulation"
      },
      "checks": {
        "items": {
          "$ref": "#/components/schemas/ComplianceCheckResult"
        },
        "type": "array",
        "title": "Checks"
      }
    },
    "type": "object",
    "required": [
      "compliant",
      "regulation",
      "checks"
    ],
    "title": "ComplianceResponse",
    "description": "Response from a compliance check endpoint."
  },
  "ConfigOverrideSettingsResponse": {
    "properties": {
      "config_type": {
        "type": "string",
        "title": "Config Type",
        "description": "The type of config override"
      },
      "values": {
        "additionalProperties": true,
        "type": "object",
        "title": "Values",
        "description": "Current configuration values (sensitive fields decrypted)"
      },
      "field_schema": {
        "additionalProperties": true,
        "type": "object",
        "title": "Field Schema",
        "description": "Schema information for UI rendering"
      }
    },
    "type": "object",
    "required": [
      "config_type",
      "values",
      "field_schema"
    ],
    "title": "ConfigOverrideSettingsResponse",
    "description": "Response model for config override settings GET endpoints."
  },
  "ConfigurableClientsideParamsCustomAuth-Input": {
    "properties": {
      "api_base": {
        "type": "string",
        "title": "Api Base"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "api_base"
    ],
    "title": "ConfigurableClientsideParamsCustomAuth"
  },
  "ConfigurableClientsideParamsCustomAuth-Output": {
    "properties": {
      "api_base": {
        "type": "string",
        "title": "Api Base"
      }
    },
    "type": "object",
    "required": [
      "api_base"
    ],
    "title": "ConfigurableClientsideParamsCustomAuth"
  },
  "ContentFilterAction": {
    "type": "string",
    "enum": [
      "BLOCK",
      "MASK"
    ],
    "title": "ContentFilterAction",
    "description": "Action to take when content filter detects a match"
  },
  "ContentFilterCategoryConfig": {
    "properties": {
      "category": {
        "type": "string",
        "title": "Category",
        "description": "The category to detect"
      },
      "enabled": {
        "type": "boolean",
        "title": "Enabled",
        "description": "Whether the category is enabled",
        "default": true
      },
      "action": {
        "type": "string",
        "enum": [
          "BLOCK",
          "MASK"
        ],
        "title": "Action",
        "description": "The action to take when the category is detected"
      },
      "severity_threshold": {
        "type": "string",
        "enum": [
          "high",
          "medium",
          "low"
        ],
        "title": "Severity Threshold",
        "description": "The severity threshold to detect the category",
        "default": "medium"
      },
      "category_file": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Category File",
        "description": "Optional override. Use your own category file instead of the default one."
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "category",
      "action"
    ],
    "title": "ContentFilterCategoryConfig",
    "description": "category: \"harmful_self_harm\"\n              enabled: true\n              action: \"BLOCK\"\n              severity_threshold: \"medium\"\n              category_file: \"/path/to/custom_file.yaml\"  # optional override"
  },
  "ContentFilterPattern": {
    "properties": {
      "pattern_type": {
        "type": "string",
        "enum": [
          "prebuilt",
          "regex"
        ],
        "title": "Pattern Type",
        "description": "Type of pattern: 'prebuilt' for predefined patterns or 'regex' for custom"
      },
      "pattern_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Pattern Name",
        "description": "Name of prebuilt pattern (e.g., 'us_ssn', 'credit_card'). Required if pattern_type is 'prebuilt'"
      },
      "pattern": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Pattern",
        "description": "Custom regex pattern. Required if pattern_type is 'regex'"
      },
      "name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Name",
        "description": "Name for this pattern (used in logging and error messages)"
      },
      "action": {
        "$ref": "#/components/schemas/ContentFilterAction",
        "description": "Action to take when pattern matches (BLOCK or MASK)"
      }
    },
    "type": "object",
    "required": [
      "pattern_type",
      "action"
    ],
    "title": "ContentFilterPattern",
    "description": "Represents a content filter pattern (prebuilt or custom regex)"
  },
  "CostEstimateRequest": {
    "properties": {
      "model": {
        "type": "string",
        "title": "Model",
        "description": "Model name (from /model_group/info)"
      },
      "input_tokens": {
        "type": "integer",
        "minimum": 0.0,
        "title": "Input Tokens",
        "description": "Expected input tokens per request"
      },
      "output_tokens": {
        "type": "integer",
        "minimum": 0.0,
        "title": "Output Tokens",
        "description": "Expected output tokens per request"
      },
      "num_requests_per_day": {
        "anyOf": [
          {
            "type": "integer",
            "minimum": 0.0
          },
          {
            "type": "null"
          }
        ],
        "title": "Num Requests Per Day",
        "description": "Number of requests per day"
      },
      "num_requests_per_month": {
        "anyOf": [
          {
            "type": "integer",
            "minimum": 0.0
          },
          {
            "type": "null"
          }
        ],
        "title": "Num Requests Per Month",
        "description": "Number of requests per month"
      }
    },
    "type": "object",
    "required": [
      "model",
      "input_tokens",
      "output_tokens"
    ],
    "title": "CostEstimateRequest",
    "description": "Request body for /cost/estimate endpoint."
  },
  "CostEstimateResponse": {
    "properties": {
      "model": {
        "type": "string",
        "title": "Model"
      },
      "input_tokens": {
        "type": "integer",
        "title": "Input Tokens"
      },
      "output_tokens": {
        "type": "integer",
        "title": "Output Tokens"
      },
      "num_requests_per_day": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Num Requests Per Day"
      },
      "num_requests_per_month": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Num Requests Per Month"
      },
      "cost_per_request": {
        "type": "number",
        "title": "Cost Per Request",
        "description": "Total cost per request (includes margin)"
      },
      "input_cost_per_request": {
        "type": "number",
        "title": "Input Cost Per Request",
        "description": "Input token cost per request (before margin)"
      },
      "output_cost_per_request": {
        "type": "number",
        "title": "Output Cost Per Request",
        "description": "Output token cost per request (before margin)"
      },
      "margin_cost_per_request": {
        "type": "number",
        "title": "Margin Cost Per Request",
        "description": "Margin/fee added per request",
        "default": 0.0
      },
      "daily_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Daily Cost",
        "description": "Total daily cost (includes margin)"
      },
      "daily_input_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Daily Input Cost",
        "description": "Daily input token cost"
      },
      "daily_output_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Daily Output Cost",
        "description": "Daily output token cost"
      },
      "daily_margin_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Daily Margin Cost",
        "description": "Daily margin/fee"
      },
      "monthly_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Monthly Cost",
        "description": "Total monthly cost (includes margin)"
      },
      "monthly_input_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Monthly Input Cost",
        "description": "Monthly input token cost"
      },
      "monthly_output_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Monthly Output Cost",
        "description": "Monthly output token cost"
      },
      "monthly_margin_cost": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Monthly Margin Cost",
        "description": "Monthly margin/fee"
      },
      "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"
      },
      "provider": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Provider"
      }
    },
    "type": "object",
    "required": [
      "model",
      "input_tokens",
      "output_tokens",
      "cost_per_request",
      "input_cost_per_request",
      "output_cost_per_request"
    ],
    "title": "CostEstimateResponse",
    "description": "Response body for /cost/estimate endpoint."
  },
  "CreateCredentialItem": {
    "properties": {
      "credential_name": {
        "type": "string",
        "title": "Credential Name"
      },
      "credential_info": {
        "additionalProperties": true,
        "type": "object",
        "title": "Credential Info"
      },
      "credential_values": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Credential Values"
      },
      "model_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Id"
      }
    },
    "type": "object",
    "required": [
      "credential_name",
      "credential_info"
    ],
    "title": "CreateCredentialItem"
  },
  "CreateGuardrailRequest": {
    "properties": {
      "guardrail": {
        "$ref": "#/components/schemas/Guardrail"
      }
    },
    "type": "object",
    "required": [
      "guardrail"
    ],
    "title": "CreateGuardrailRequest"
  },
  "CreateJWTKeyMappingRequest": {
    "properties": {
      "jwt_claim_name": {
        "type": "string",
        "title": "Jwt Claim Name"
      },
      "jwt_claim_value": {
        "type": "string",
        "title": "Jwt Claim Value"
      },
      "key": {
        "type": "string",
        "title": "Key"
      },
      "description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Description"
      }
    },
    "type": "object",
    "required": [
      "jwt_claim_name",
      "jwt_claim_value",
      "key"
    ],
    "title": "CreateJWTKeyMappingRequest"
  },
  "CreateSearchToolRequest": {
    "properties": {
      "search_tool": {
        "$ref": "#/components/schemas/SearchTool"
      }
    },
    "type": "object",
    "required": [
      "search_tool"
    ],
    "title": "CreateSearchToolRequest"
  },
  "CredentialItem": {
    "properties": {
      "credential_name": {
        "type": "string",
        "title": "Credential Name"
      },
      "credential_info": {
        "additionalProperties": true,
        "type": "object",
        "title": "Credential Info"
      },
      "credential_values": {
        "additionalProperties": true,
        "type": "object",
        "title": "Credential Values"
      }
    },
    "type": "object",
    "required": [
      "credential_name",
      "credential_info",
      "credential_values"
    ],
    "title": "CredentialItem"
  },
  "DailySpendData": {
    "properties": {
      "date": {
        "type": "string",
        "format": "date",
        "title": "Date"
      },
      "metrics": {
        "$ref": "#/components/schemas/SpendMetrics"
      },
      "breakdown": {
        "$ref": "#/components/schemas/BreakdownMetrics"
      }
    },
    "type": "object",
    "required": [
      "date",
      "metrics"
    ],
    "title": "DailySpendData"
  },
  "DailySpendMetadata": {
    "properties": {
      "total_spend": {
        "type": "number",
        "title": "Total Spend",
        "default": 0.0
      },
      "total_prompt_tokens": {
        "type": "integer",
        "title": "Total Prompt Tokens",
        "default": 0
      },
      "total_completion_tokens": {
        "type": "integer",
        "title": "Total Completion Tokens",
        "default": 0
      },
      "total_tokens": {
        "type": "integer",
        "title": "Total Tokens",
        "default": 0
      },
      "total_api_requests": {
        "type": "integer",
        "title": "Total Api Requests",
        "default": 0
      },
      "total_successful_requests": {
        "type": "integer",
        "title": "Total Successful Requests",
        "default": 0
      },
      "total_failed_requests": {
        "type": "integer",
        "title": "Total Failed Requests",
        "default": 0
      },
      "total_cache_read_input_tokens": {
        "type": "integer",
        "title": "Total Cache Read Input Tokens",
        "default": 0
      },
      "total_cache_creation_input_tokens": {
        "type": "integer",
        "title": "Total Cache Creation Input Tokens",
        "default": 0
      },
      "page": {
        "type": "integer",
        "title": "Page",
        "default": 1
      },
      "total_pages": {
        "type": "integer",
        "title": "Total Pages",
        "default": 1
      },
      "has_more": {
        "type": "boolean",
        "title": "Has More",
        "default": false
      }
    },
    "type": "object",
    "title": "DailySpendMetadata"
  },
  "DefaultInternalUserParams": {
    "properties": {
      "user_role": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "internal_user",
              "internal_user_viewer",
              "proxy_admin",
              "proxy_admin_viewer"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "User Role",
        "description": "Default role assigned to new users created",
        "default": "internal_user_viewer"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget",
        "description": "Default maximum budget (in USD) for new users created"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration",
        "description": "Default budget duration for new users (e.g. 'daily', 'weekly', 'monthly')"
      },
      "models": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models",
        "description": "Default list of models that new users can access"
      },
      "teams": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "items": {
              "$ref": "#/components/schemas/NewUserRequestTeam"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Teams",
        "description": "Default teams for new users created"
      }
    },
    "type": "object",
    "title": "DefaultInternalUserParams",
    "description": "Default parameters to apply when a new user signs in via SSO or is created on the /user/new API endpoint"
  },
  "DefaultTeamSSOParams": {
    "properties": {
      "models": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Models",
        "description": "Default list of models that new automatically created teams can access",
        "default": []
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget",
        "description": "Default maximum budget (in USD) for new automatically created teams"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration",
        "description": "Default budget duration for new automatically created teams (e.g. 'daily', 'weekly', 'monthly')"
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit",
        "description": "Default tpm limit for new automatically created teams"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit",
        "description": "Default rpm limit for new automatically created teams"
      },
      "team_member_permissions": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/KeyManagementRoutes"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Permissions",
        "description": "Default permissions granted to members of newly created teams (e.g. /key/generate, /key/update, /key/delete). /key/info and /key/health are always included."
      }
    },
    "type": "object",
    "title": "DefaultTeamSSOParams",
    "description": "Default parameters to apply when a new team is automatically created by LiteLLM via SSO Groups"
  },
  "DefaultTeamSettingsResponse": {
    "properties": {
      "values": {
        "additionalProperties": true,
        "type": "object",
        "title": "Values"
      },
      "field_schema": {
        "additionalProperties": true,
        "type": "object",
        "title": "Field Schema"
      }
    },
    "type": "object",
    "required": [
      "values",
      "field_schema"
    ],
    "title": "DefaultTeamSettingsResponse",
    "description": "Response model for default team settings"
  },
  "DeleteCustomerRequest": {
    "properties": {
      "user_ids": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "User Ids"
      }
    },
    "type": "object",
    "required": [
      "user_ids"
    ],
    "title": "DeleteCustomerRequest",
    "description": "Delete multiple Customers"
  },
  "DeleteEvalResponse": {
    "properties": {
      "eval_id": {
        "type": "string",
        "title": "Eval Id"
      },
      "object": {
        "type": "string",
        "title": "Object",
        "default": "eval.deleted"
      },
      "deleted": {
        "type": "boolean",
        "title": "Deleted"
      }
    },
    "type": "object",
    "required": [
      "eval_id",
      "deleted"
    ],
    "title": "DeleteEvalResponse",
    "description": "Response from deleting an evaluation"
  },
  "DeleteJWTKeyMappingRequest": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      }
    },
    "type": "object",
    "required": [
      "id"
    ],
    "title": "DeleteJWTKeyMappingRequest"
  },
  "DeleteModelGroupResponse": {
    "properties": {
      "access_group": {
        "type": "string",
        "title": "Access Group"
      },
      "models_updated": {
        "type": "integer",
        "title": "Models Updated"
      },
      "message": {
        "type": "string",
        "title": "Message"
      }
    },
    "type": "object",
    "required": [
      "access_group",
      "models_updated",
      "message"
    ],
    "title": "DeleteModelGroupResponse"
  },
  "DeleteOrganizationRequest": {
    "properties": {
      "organization_ids": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Organization Ids"
      }
    },
    "type": "object",
    "required": [
      "organization_ids"
    ],
    "title": "DeleteOrganizationRequest"
  },
  "DeleteProjectRequest": {
    "properties": {
      "project_ids": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Project Ids"
      }
    },
    "type": "object",
    "required": [
      "project_ids"
    ],
    "title": "DeleteProjectRequest",
    "description": "Request model for DELETE /project/delete"
  },
  "DeleteSkillResponse": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "type": {
        "type": "string",
        "title": "Type",
        "default": "skill_deleted"
      }
    },
    "type": "object",
    "required": [
      "id"
    ],
    "title": "DeleteSkillResponse",
    "description": "Response from deleting a skill"
  },
  "DeleteTeamRequest": {
    "properties": {
      "team_ids": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Team Ids"
      }
    },
    "type": "object",
    "required": [
      "team_ids"
    ],
    "title": "DeleteTeamRequest"
  },
  "DeleteUserRequest": {
    "properties": {
      "user_ids": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "User Ids"
      }
    },
    "type": "object",
    "required": [
      "user_ids"
    ],
    "title": "DeleteUserRequest"
  },
  "Deployment": {
    "properties": {
      "model_name": {
        "type": "string",
        "title": "Model Name"
      },
      "litellm_params": {
        "$ref": "#/components/schemas/LiteLLM_Params"
      },
      "model_info": {
        "$ref": "#/components/schemas/ModelInfo"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "model_name",
      "litellm_params",
      "model_info"
    ],
    "title": "Deployment"
  },
  "DistinctTagResponse": {
    "properties": {
      "tag": {
        "type": "string",
        "title": "Tag"
      }
    },
    "type": "object",
    "required": [
      "tag"
    ],
    "title": "DistinctTagResponse",
    "description": "Response for distinct user agent tags"
  },
  "DistinctTagsResponse": {
    "properties": {
      "results": {
        "items": {
          "$ref": "#/components/schemas/DistinctTagResponse"
        },
        "type": "array",
        "title": "Results"
      }
    },
    "type": "object",
    "required": [
      "results"
    ],
    "title": "DistinctTagsResponse",
    "description": "Response for all distinct user agent tags"
  }
}