# `Gemini.Types.Enums.HarmBlockThreshold`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.15.0/lib/gemini/types/enums.ex#L97)

Threshold levels for blocking harmful content.

## Values

- `:unspecified` - Default/unknown threshold
- `:block_low_and_above` - Block content with low+ probability of harm
- `:block_medium_and_above` - Block content with medium+ probability
- `:block_only_high` - Only block high probability harmful content
- `:block_none` - Don't block any content (for research/testing)
- `:off` - Safety filter is completely off

# `t`

```elixir
@type t() ::
  :unspecified
  | :block_low_and_above
  | :block_medium_and_above
  | :block_only_high
  | :block_none
  | :off
```

# `from_api`

```elixir
@spec from_api(String.t() | nil) :: t() | nil
```

# `to_api`

```elixir
@spec to_api(t()) :: String.t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
