{
  "DocumentObject": {
    "properties": {
      "type": {
        "const": "text",
        "title": "Type",
        "type": "string"
      },
      "media_type": {
        "title": "Media Type",
        "type": "string"
      },
      "data": {
        "title": "Data",
        "type": "string"
      }
    },
    "required": [
      "type",
      "media_type",
      "data"
    ],
    "title": "DocumentObject",
    "type": "object"
  },
  "EmailEvent": {
    "type": "string",
    "enum": [
      "Virtual Key Created",
      "New User Invitation",
      "Virtual Key Rotated",
      "Soft Budget Crossed",
      "Max Budget Alert"
    ],
    "title": "EmailEvent"
  },
  "EmailEventSettings": {
    "properties": {
      "event": {
        "$ref": "#/components/schemas/EmailEvent"
      },
      "enabled": {
        "type": "boolean",
        "title": "Enabled"
      }
    },
    "type": "object",
    "required": [
      "event",
      "enabled"
    ],
    "title": "EmailEventSettings"
  },
  "EmailEventSettingsResponse": {
    "properties": {
      "settings": {
        "items": {
          "$ref": "#/components/schemas/EmailEventSettings"
        },
        "type": "array",
        "title": "Settings"
      }
    },
    "type": "object",
    "required": [
      "settings"
    ],
    "title": "EmailEventSettingsResponse"
  },
  "EmailEventSettingsUpdateRequest": {
    "properties": {
      "settings": {
        "items": {
          "$ref": "#/components/schemas/EmailEventSettings"
        },
        "type": "array",
        "title": "Settings"
      }
    },
    "type": "object",
    "required": [
      "settings"
    ],
    "title": "EmailEventSettingsUpdateRequest"
  },
  "EmbeddingRequest": {
    "additionalProperties": true,
    "properties": {
      "model": {
        "title": "Model",
        "type": "string"
      },
      "input": {
        "default": [],
        "items": {
          "type": "string"
        },
        "title": "Input",
        "type": "array"
      },
      "timeout": {
        "default": 600,
        "title": "Timeout",
        "type": "integer"
      },
      "api_base": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Api Base"
      },
      "api_version": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Api Version"
      },
      "api_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Api Key"
      },
      "api_type": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Api Type"
      },
      "caching": {
        "default": false,
        "title": "Caching",
        "type": "boolean"
      },
      "user": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "User"
      },
      "custom_llm_provider": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Custom Llm Provider"
      },
      "litellm_call_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Litellm Call Id"
      },
      "litellm_logging_obj": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Litellm Logging Obj"
      },
      "logger_fn": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Logger Fn"
      }
    },
    "required": [
      "model"
    ],
    "title": "EmbeddingRequest",
    "type": "object"
  },
  "EndpointProvider": {
    "properties": {
      "slug": {
        "type": "string",
        "title": "Slug"
      },
      "display_name": {
        "type": "string",
        "title": "Display Name"
      }
    },
    "type": "object",
    "required": [
      "slug",
      "display_name"
    ],
    "title": "EndpointProvider"
  },
  "EnrichTemplateRequest": {
    "properties": {
      "template_id": {
        "type": "string",
        "title": "Template Id"
      },
      "parameters": {
        "additionalProperties": true,
        "type": "object",
        "title": "Parameters"
      },
      "model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model"
      },
      "competitors": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 100
          },
          {
            "type": "null"
          }
        ],
        "title": "Competitors",
        "description": "Optional list of competitor names"
      },
      "instruction": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Instruction",
        "description": "Refinement instruction for modifying the competitor list (e.g. 'add 10 more from Asia')"
      }
    },
    "type": "object",
    "required": [
      "template_id",
      "parameters"
    ],
    "title": "EnrichTemplateRequest"
  },
  "ErrorResponse": {
    "properties": {
      "detail": {
        "additionalProperties": true,
        "type": "object",
        "title": "Detail",
        "example": {
          "error": {
            "code": "error_code",
            "message": "Error message",
            "param": "error_param",
            "type": "error_type"
          }
        }
      }
    },
    "type": "object",
    "required": [
      "detail"
    ],
    "title": "ErrorResponse"
  },
  "Eval": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "object": {
        "type": "string",
        "title": "Object",
        "default": "eval"
      },
      "created_at": {
        "type": "integer",
        "title": "Created At"
      },
      "updated_at": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated At"
      },
      "name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Name"
      },
      "data_source_config": {
        "additionalProperties": true,
        "type": "object",
        "title": "Data Source Config"
      },
      "testing_criteria": {
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "type": "array",
        "title": "Testing Criteria"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata"
      }
    },
    "type": "object",
    "required": [
      "id",
      "created_at",
      "data_source_config",
      "testing_criteria"
    ],
    "title": "Eval",
    "description": "Represents an evaluation from the OpenAI Evals API"
  },
  "FailedKeyUpdate": {
    "properties": {
      "key": {
        "type": "string",
        "title": "Key"
      },
      "key_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Info"
      },
      "failed_reason": {
        "type": "string",
        "title": "Failed Reason"
      }
    },
    "type": "object",
    "required": [
      "key",
      "failed_reason"
    ],
    "title": "FailedKeyUpdate",
    "description": "Failed key update with reason"
  },
  "FallbackCreateRequest": {
    "properties": {
      "model": {
        "type": "string",
        "title": "Model",
        "description": "The model name to configure fallbacks for (e.g., 'gpt-3.5-turbo')"
      },
      "fallback_models": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "minItems": 1,
        "title": "Fallback Models",
        "description": "List of fallback model names in order of priority"
      },
      "fallback_type": {
        "type": "string",
        "enum": [
          "general",
          "context_window",
          "content_policy"
        ],
        "title": "Fallback Type",
        "description": "Type of fallback: 'general' (default), 'context_window', or 'content_policy'",
        "default": "general"
      }
    },
    "type": "object",
    "required": [
      "model",
      "fallback_models"
    ],
    "title": "FallbackCreateRequest",
    "description": "Request model for creating/updating fallbacks"
  },
  "FallbackDeleteResponse": {
    "properties": {
      "model": {
        "type": "string",
        "title": "Model",
        "description": "The model name"
      },
      "fallback_type": {
        "type": "string",
        "title": "Fallback Type",
        "description": "Type of fallback"
      },
      "message": {
        "type": "string",
        "title": "Message",
        "description": "Success message"
      }
    },
    "type": "object",
    "required": [
      "model",
      "fallback_type",
      "message"
    ],
    "title": "FallbackDeleteResponse",
    "description": "Response model for deleting fallbacks"
  },
  "FallbackGetResponse": {
    "properties": {
      "model": {
        "type": "string",
        "title": "Model",
        "description": "The model name"
      },
      "fallback_models": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Fallback Models",
        "description": "List of fallback model names"
      },
      "fallback_type": {
        "type": "string",
        "title": "Fallback Type",
        "description": "Type of fallback"
      }
    },
    "type": "object",
    "required": [
      "model",
      "fallback_models",
      "fallback_type"
    ],
    "title": "FallbackGetResponse",
    "description": "Response model for getting fallbacks"
  },
  "FallbackResponse": {
    "properties": {
      "model": {
        "type": "string",
        "title": "Model",
        "description": "The model name"
      },
      "fallback_models": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Fallback Models",
        "description": "List of fallback model names"
      },
      "fallback_type": {
        "type": "string",
        "title": "Fallback Type",
        "description": "Type of fallback"
      },
      "message": {
        "type": "string",
        "title": "Message",
        "description": "Success message"
      }
    },
    "type": "object",
    "required": [
      "model",
      "fallback_models",
      "fallback_type",
      "message"
    ],
    "title": "FallbackResponse",
    "description": "Response model for fallback operations"
  },
  "FunctionCall": {
    "properties": {
      "arguments": {
        "type": "string",
        "title": "Arguments"
      },
      "name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Name"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "arguments"
    ],
    "title": "FunctionCall"
  },
  "GUARDRAIL_DEFINITION_LOCATION": {
    "type": "string",
    "enum": [
      "db",
      "config"
    ],
    "title": "GUARDRAIL_DEFINITION_LOCATION"
  },
  "GenerateKeyRequest": {
    "properties": {
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Duration"
      },
      "models": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models",
        "default": []
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend",
        "default": 0
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "agent_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agent Id"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata",
        "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"
      },
      "allowed_cache_controls": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Cache Controls",
        "default": []
      },
      "config": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Config",
        "default": {}
      },
      "permissions": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Permissions",
        "default": {}
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget",
        "default": {}
      },
      "model_rpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Rpm Limit"
      },
      "model_tpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Tpm Limit"
      },
      "guardrails": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrails"
      },
      "policies": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policies"
      },
      "prompts": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Prompts"
      },
      "blocked": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked"
      },
      "aliases": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aliases",
        "default": {}
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionBase"
          },
          {
            "type": "null"
          }
        ]
      },
      "key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key"
      },
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "tags": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tags"
      },
      "enforced_params": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Enforced Params"
      },
      "allowed_routes": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Routes",
        "default": []
      },
      "allowed_passthrough_routes": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Passthrough Routes"
      },
      "allowed_vector_store_indexes": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/AllowedVectorStoreIndexItem"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Vector Store Indexes"
      },
      "rpm_limit_type": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "guaranteed_throughput",
              "best_effort_throughput",
              "dynamic"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit Type"
      },
      "tpm_limit_type": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "guaranteed_throughput",
              "best_effort_throughput",
              "dynamic"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit Type"
      },
      "router_settings": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateRouterConfig"
          },
          {
            "type": "null"
          }
        ]
      },
      "access_group_ids": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Access Group Ids"
      },
      "soft_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Soft Budget"
      },
      "send_invite_email": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Send Invite Email"
      },
      "key_type": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLMKeyType"
          },
          {
            "type": "null"
          }
        ],
        "description": "Type of key that determines default allowed routes.",
        "default": "default"
      },
      "auto_rotate": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Auto Rotate",
        "description": "Whether this key should be automatically rotated",
        "default": false
      },
      "rotation_interval": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rotation Interval",
        "description": "How often to rotate this key (e.g., '30d', '90d'). Required if auto_rotate=True"
      },
      "organization_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Id"
      },
      "project_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Project Id"
      }
    },
    "type": "object",
    "title": "GenerateKeyRequest"
  },
  "GenerateKeyResponse": {
    "properties": {
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Duration"
      },
      "models": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Models",
        "default": []
      },
      "spend": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Spend",
        "default": 0
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "User Id"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "agent_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Agent Id"
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests"
      },
      "metadata": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Metadata",
        "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"
      },
      "allowed_cache_controls": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Cache Controls",
        "default": []
      },
      "config": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Config",
        "default": {}
      },
      "permissions": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Permissions",
        "default": {}
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget",
        "default": {}
      },
      "model_rpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Rpm Limit"
      },
      "model_tpm_limit": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Tpm Limit"
      },
      "guardrails": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrails"
      },
      "policies": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policies"
      },
      "prompts": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Prompts"
      },
      "blocked": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Blocked"
      },
      "aliases": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Aliases",
        "default": {}
      },
      "object_permission": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LiteLLM_ObjectPermissionBase"
          },
          {
            "type": "null"
          }
        ]
      },
      "key": {
        "type": "string",
        "title": "Key"
      },
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "tags": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tags"
      },
      "enforced_params": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Enforced Params"
      },
      "allowed_routes": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Routes",
        "default": []
      },
      "allowed_passthrough_routes": {
        "anyOf": [
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Passthrough Routes"
      },
      "allowed_vector_store_indexes": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/AllowedVectorStoreIndexItem"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Allowed Vector Store Indexes"
      },
      "rpm_limit_type": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "guaranteed_throughput",
              "best_effort_throughput",
              "dynamic"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit Type"
      },
      "tpm_limit_type": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "guaranteed_throughput",
              "best_effort_throughput",
              "dynamic"
            ]
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit Type"
      },
      "router_settings": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateRouterConfig"
          },
          {
            "type": "null"
          }
        ]
      },
      "access_group_ids": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Access Group Ids"
      },
      "key_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Name"
      },
      "expires": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Expires"
      },
      "token_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Token Id"
      },
      "organization_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Organization Id"
      },
      "project_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Project Id"
      },
      "litellm_budget_table": {
        "anyOf": [
          {},
          {
            "type": "null"
          }
        ],
        "title": "Litellm Budget Table"
      },
      "token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Token"
      },
      "created_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created By"
      },
      "updated_by": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "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"
      }
    },
    "type": "object",
    "required": [
      "key"
    ],
    "title": "GenerateKeyResponse"
  },
  "GenericGuardrailAPIInputs": {
    "properties": {
      "texts": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Texts"
      },
      "images": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Images"
      },
      "tools": {
        "items": {
          "$ref": "#/components/schemas/ChatCompletionToolParam"
        },
        "type": "array",
        "title": "Tools"
      },
      "tool_calls": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionToolCallChunk"
            },
            "type": "array"
          },
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionMessageToolCall"
            },
            "type": "array"
          }
        ],
        "title": "Tool Calls"
      },
      "structured_messages": {
        "items": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/ChatCompletionUserMessage"
            },
            {
              "$ref": "#/components/schemas/ChatCompletionAssistantMessage"
            },
            {
              "$ref": "#/components/schemas/ChatCompletionToolMessage"
            },
            {
              "$ref": "#/components/schemas/ChatCompletionSystemMessage"
            },
            {
              "$ref": "#/components/schemas/ChatCompletionFunctionMessage"
            },
            {
              "$ref": "#/components/schemas/ChatCompletionDeveloperMessage"
            }
          ]
        },
        "type": "array",
        "title": "Structured Messages"
      },
      "model": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model"
      }
    },
    "type": "object",
    "title": "GenericGuardrailAPIInputs"
  },
  "GetTeamMemberPermissionsResponse": {
    "properties": {
      "team_id": {
        "type": "string",
        "title": "Team Id"
      },
      "team_member_permissions": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Member Permissions",
        "default": []
      },
      "all_available_permissions": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "All Available Permissions"
      }
    },
    "type": "object",
    "required": [
      "team_id",
      "all_available_permissions"
    ],
    "title": "GetTeamMemberPermissionsResponse",
    "description": "Response to get the team member permissions for a team"
  },
  "GraySwanGuardrailConfigModelOptionalParams": {
    "properties": {
      "on_flagged_action": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "On Flagged Action",
        "description": "Action when a violation is detected: 'block' rejects the call (400 error), 'monitor' logs only, 'passthrough' replaces response content with violation message (200 status).",
        "default": "passthrough"
      },
      "violation_threshold": {
        "anyOf": [
          {
            "type": "number",
            "maximum": 1.0,
            "minimum": 0.0
          },
          {
            "type": "null"
          }
        ],
        "title": "Violation Threshold",
        "description": "Threshold between 0 and 1 at which Gray Swan violations trigger the configured action.",
        "default": 0.5
      },
      "reasoning_mode": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reasoning Mode",
        "description": "Gray Swan reasoning mode override. Accepted values: 'off', 'hybrid', 'thinking'."
      },
      "policy_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policy Id",
        "description": "Gray Swan policy identifier to apply during monitoring."
      },
      "categories": {
        "anyOf": [
          {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Categories",
        "description": "Default Gray Swan category definitions to send with each request."
      },
      "fail_open": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Fail Open",
        "description": "If true (default), errors contacting Gray Swan are logged and the request proceeds. If false, errors propagate and block the request.",
        "default": true
      },
      "guardrail_timeout": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrail Timeout",
        "description": "Timeout in seconds for calling the Gray Swan guardrail service.",
        "default": 30.0
      }
    },
    "type": "object",
    "title": "GraySwanGuardrailConfigModelOptionalParams",
    "description": "Optional parameters for the Gray Swan guardrail."
  },
  "Guardrail": {
    "properties": {
      "guardrail_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrail Id"
      },
      "guardrail_name": {
        "type": "string",
        "title": "Guardrail Name"
      },
      "litellm_params": {
        "$ref": "#/components/schemas/LitellmParams"
      },
      "guardrail_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrail Info"
      },
      "policy_template": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Policy Template"
      },
      "created_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created At"
      },
      "updated_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated At"
      }
    },
    "type": "object",
    "required": [
      "guardrail_name",
      "litellm_params"
    ],
    "title": "Guardrail"
  },
  "GuardrailInfoResponse": {
    "properties": {
      "guardrail_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrail Id"
      },
      "guardrail_name": {
        "type": "string",
        "title": "Guardrail Name"
      },
      "litellm_params": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BaseLitellmParams-Output"
          },
          {
            "type": "null"
          }
        ]
      },
      "guardrail_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrail Info"
      },
      "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"
      },
      "guardrail_definition_location": {
        "$ref": "#/components/schemas/GUARDRAIL_DEFINITION_LOCATION",
        "default": "config"
      }
    },
    "type": "object",
    "required": [
      "guardrail_name"
    ],
    "title": "GuardrailInfoResponse"
  },
  "GuardrailSubmissionItem": {
    "properties": {
      "guardrail_id": {
        "type": "string",
        "title": "Guardrail Id"
      },
      "guardrail_name": {
        "type": "string",
        "title": "Guardrail Name"
      },
      "status": {
        "type": "string",
        "title": "Status"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "team_guardrail": {
        "type": "boolean",
        "title": "Team Guardrail",
        "default": false
      },
      "litellm_params": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Params"
      },
      "guardrail_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Guardrail Info"
      },
      "submitted_by_user_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Submitted By User Id"
      },
      "submitted_by_email": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Submitted By Email"
      },
      "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"
      },
      "created_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Created At"
      },
      "updated_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated At"
      }
    },
    "type": "object",
    "required": [
      "guardrail_id",
      "guardrail_name",
      "status"
    ],
    "title": "GuardrailSubmissionItem"
  },
  "GuardrailSubmissionSummary": {
    "properties": {
      "total": {
        "type": "integer",
        "title": "Total"
      },
      "pending_review": {
        "type": "integer",
        "title": "Pending Review"
      },
      "active": {
        "type": "integer",
        "title": "Active"
      },
      "rejected": {
        "type": "integer",
        "title": "Rejected"
      }
    },
    "type": "object",
    "required": [
      "total",
      "pending_review",
      "active",
      "rejected"
    ],
    "title": "GuardrailSubmissionSummary"
  },
  "GuardrailTestResultEntry": {
    "properties": {
      "guardrail_name": {
        "type": "string",
        "title": "Guardrail Name"
      },
      "action": {
        "type": "string",
        "title": "Action"
      },
      "output_text": {
        "type": "string",
        "title": "Output Text"
      },
      "details": {
        "type": "string",
        "title": "Details"
      }
    },
    "type": "object",
    "required": [
      "guardrail_name",
      "action",
      "output_text",
      "details"
    ],
    "title": "GuardrailTestResultEntry"
  },
  "HTTPAuthSecurityScheme": {
    "properties": {
      "description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Description"
      },
      "type": {
        "type": "string",
        "const": "http",
        "title": "Type"
      },
      "scheme": {
        "type": "string",
        "title": "Scheme"
      },
      "bearerFormat": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Bearerformat"
      }
    },
    "type": "object",
    "required": [
      "type",
      "scheme",
      "bearerFormat"
    ],
    "title": "HTTPAuthSecurityScheme",
    "description": "Defines a security scheme using HTTP authentication."
  },
  "HTTPValidationError": {
    "properties": {
      "detail": {
        "items": {
          "$ref": "#/components/schemas/ValidationError"
        },
        "type": "array",
        "title": "Detail"
      }
    },
    "type": "object",
    "title": "HTTPValidationError"
  },
  "HashicorpVaultConfig": {
    "properties": {
      "vault_addr": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vault Addr",
        "description": "The address of the Vault server (e.g., https://vault.example.com:8200)"
      },
      "vault_token": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vault Token",
        "description": "Token for Vault token-based authentication"
      },
      "approle_role_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Approle Role Id",
        "description": "Role ID for Vault AppRole authentication"
      },
      "approle_secret_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Approle Secret Id",
        "description": "Secret ID for Vault AppRole authentication"
      },
      "approle_mount_path": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Approle Mount Path",
        "description": "Mount path for the AppRole auth method (default: approle)"
      },
      "client_cert": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Client Cert",
        "description": "Path to the client TLS certificate for Vault"
      },
      "client_key": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Client Key",
        "description": "Path to the client TLS private key for Vault"
      },
      "vault_cert_role": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vault Cert Role",
        "description": "Certificate role name for TLS cert authentication"
      },
      "vault_namespace": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vault Namespace",
        "description": "Vault namespace (for multi-tenant Vault, sent as X-Vault-Namespace header)"
      },
      "vault_mount_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vault Mount Name",
        "description": "KV engine mount name (default: secret)"
      },
      "vault_path_prefix": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Vault Path Prefix",
        "description": "Optional path prefix for secrets (e.g., myapp -> secret/data/myapp/{secret_name})"
      }
    },
    "type": "object",
    "title": "HashicorpVaultConfig",
    "description": "Configuration for Hashicorp Vault secret manager integration."
  },
  "Hyperparameters": {
    "properties": {
      "batch_size": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Batch Size"
      },
      "learning_rate_multiplier": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Learning Rate Multiplier"
      },
      "n_epochs": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "N Epochs"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "title": "Hyperparameters"
  },
  "IPAddress": {
    "properties": {
      "ip": {
        "type": "string",
        "title": "Ip"
      }
    },
    "type": "object",
    "required": [
      "ip"
    ],
    "title": "IPAddress"
  },
  "ImageURLListItem": {
    "properties": {
      "image_url": {
        "$ref": "#/components/schemas/ImageURLObject"
      },
      "index": {
        "type": "integer",
        "title": "Index"
      },
      "type": {
        "type": "string",
        "const": "image_url",
        "title": "Type"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "image_url",
      "index",
      "type"
    ],
    "title": "ImageURLListItem"
  },
  "ImageURLObject": {
    "properties": {
      "url": {
        "type": "string",
        "title": "Url"
      },
      "detail": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Detail"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "url"
    ],
    "title": "ImageURLObject"
  },
  "InProductNudgeResponse": {
    "properties": {
      "is_claude_code_enabled": {
        "type": "boolean",
        "title": "Is Claude Code Enabled",
        "description": "Whether the Claude Code nudge should be shown.",
        "default": false
      }
    },
    "type": "object",
    "title": "InProductNudgeResponse"
  },
  "IndexCreateLiteLLMParams": {
    "properties": {
      "vector_store_index": {
        "type": "string",
        "title": "Vector Store Index"
      },
      "vector_store_name": {
        "type": "string",
        "title": "Vector Store Name"
      }
    },
    "type": "object",
    "required": [
      "vector_store_index",
      "vector_store_name"
    ],
    "title": "IndexCreateLiteLLMParams"
  },
  "IndexCreateRequest": {
    "properties": {
      "index_name": {
        "type": "string",
        "title": "Index Name"
      },
      "litellm_params": {
        "$ref": "#/components/schemas/IndexCreateLiteLLMParams"
      },
      "index_info": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Index Info"
      }
    },
    "type": "object",
    "required": [
      "index_name",
      "litellm_params"
    ],
    "title": "IndexCreateRequest"
  },
  "InputAudio": {
    "properties": {
      "data": {
        "title": "Data",
        "type": "string"
      },
      "format": {
        "enum": [
          "wav",
          "mp3"
        ],
        "title": "Format",
        "type": "string"
      }
    },
    "required": [
      "data",
      "format"
    ],
    "title": "InputAudio",
    "type": "object"
  },
  "InternalUserSettingsResponse": {
    "properties": {
      "values": {
        "additionalProperties": true,
        "type": "object",
        "title": "Values"
      },
      "field_schema": {
        "additionalProperties": true,
        "type": "object",
        "title": "Field Schema"
      }
    },
    "type": "object",
    "required": [
      "values",
      "field_schema"
    ],
    "title": "InternalUserSettingsResponse",
    "description": "Response model for internal user settings"
  },
  "JWTKeyMappingResponse": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "jwt_claim_name": {
        "type": "string",
        "title": "Jwt Claim Name"
      },
      "jwt_claim_value": {
        "type": "string",
        "title": "Jwt Claim Value"
      },
      "description": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Description"
      },
      "is_active": {
        "type": "boolean",
        "title": "Is Active"
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "title": "Created At"
      },
      "updated_at": {
        "type": "string",
        "format": "date-time",
        "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": [
      "id",
      "jwt_claim_name",
      "jwt_claim_value",
      "is_active",
      "created_at",
      "updated_at"
    ],
    "title": "JWTKeyMappingResponse"
  },
  "KeyHealthResponse": {
    "properties": {
      "key": {
        "type": "string",
        "enum": [
          "healthy",
          "unhealthy"
        ],
        "title": "Key"
      },
      "logging_callbacks": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/LoggingCallbackStatus"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "title": "KeyHealthResponse"
  },
  "KeyListResponseObject": {
    "properties": {
      "keys": {
        "items": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/components/schemas/UserAPIKeyAuth"
            },
            {
              "$ref": "#/components/schemas/LiteLLM_DeletedVerificationToken"
            }
          ]
        },
        "type": "array",
        "title": "Keys"
      },
      "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": "KeyListResponseObject"
  },
  "KeyManagementRoutes": {
    "type": "string",
    "enum": [
      "/key/generate",
      "/key/update",
      "/key/delete",
      "/key/regenerate",
      "/key/service-account/generate",
      "/key/{key_id}/regenerate",
      "/key/block",
      "/key/unblock",
      "/key/bulk_update",
      "/key/{key_id}/reset_spend",
      "/key/info",
      "/key/health",
      "/key/list",
      "/key/aliases",
      "/team/daily/activity",
      "/spend/logs"
    ],
    "title": "KeyManagementRoutes",
    "description": "Enum for key management routes"
  },
  "KeyMetadata": {
    "properties": {
      "key_alias": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Alias"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      }
    },
    "type": "object",
    "title": "KeyMetadata",
    "description": "Metadata for a key"
  },
  "KeyMetricWithMetadata": {
    "properties": {
      "metrics": {
        "$ref": "#/components/schemas/SpendMetrics"
      },
      "metadata": {
        "$ref": "#/components/schemas/KeyMetadata"
      }
    },
    "type": "object",
    "required": [
      "metrics"
    ],
    "title": "KeyMetricWithMetadata",
    "description": "Base class for metrics with additional metadata"
  },
  "KeyRequest": {
    "properties": {
      "keys": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Keys"
      },
      "key_aliases": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Key Aliases"
      }
    },
    "type": "object",
    "title": "KeyRequest"
  },
  "LakeraCategoryThresholds": {
    "properties": {
      "prompt_injection": {
        "type": "number",
        "title": "Prompt Injection"
      },
      "jailbreak": {
        "type": "number",
        "title": "Jailbreak"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "title": "LakeraCategoryThresholds"
  },
  "ListAccessGroupsResponse": {
    "properties": {
      "access_groups": {
        "items": {
          "$ref": "#/components/schemas/AccessGroupInfo"
        },
        "type": "array",
        "title": "Access Groups"
      }
    },
    "type": "object",
    "required": [
      "access_groups"
    ],
    "title": "ListAccessGroupsResponse"
  },
  "ListEvalsResponse": {
    "properties": {
      "object": {
        "type": "string",
        "title": "Object",
        "default": "list"
      },
      "data": {
        "items": {
          "$ref": "#/components/schemas/Eval"
        },
        "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": "ListEvalsResponse",
    "description": "Response from listing evaluations"
  },
  "ListGuardrailSubmissionsResponse": {
    "properties": {
      "submissions": {
        "items": {
          "$ref": "#/components/schemas/GuardrailSubmissionItem"
        },
        "type": "array",
        "title": "Submissions"
      },
      "summary": {
        "$ref": "#/components/schemas/GuardrailSubmissionSummary"
      }
    },
    "type": "object",
    "required": [
      "submissions",
      "summary"
    ],
    "title": "ListGuardrailSubmissionsResponse"
  }
}