# `HfHub.Webhooks.WatchedItem`
[🔗](https://github.com/North-Shore-AI/hf_hub_ex/blob/v0.3.1/lib/hf_hub/webhooks/watched_item.ex#L1)

Represents a watched item in a webhook configuration.

A watched item specifies a repository or entity to monitor for events.

# `item_type`

```elixir
@type item_type() :: :model | :dataset | :space | :user | :org
```

# `t`

```elixir
@type t() :: %HfHub.Webhooks.WatchedItem{name: String.t(), type: item_type()}
```

# `from_response`

```elixir
@spec from_response(map()) :: t()
```

Creates a WatchedItem from API response.

---

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