# `SmolBox.Health`
[🔗](https://github.com/hfiguera/smolbox/blob/v0.1.3/lib/smolbox/health.ex#L1)

Bounded worker health observation from SmolVM's `/health` endpoint.

The version is reported by the server, not cryptographically attested. Missing
machine counts indicate unavailable inventory; a successful HTTP status alone
is insufficient for managed admission. Readiness is a separate blocking-pool
probe. Neither endpoint certifies host quotas, artifact identity, or isolation.

# `t`

```elixir
@type t() :: %SmolBox.Health{
  running: non_neg_integer() | nil,
  total: non_neg_integer() | nil,
  uptime_seconds: non_neg_integer() | nil,
  version: String.t()
}
```

# `from_wire`

```elixir
@spec from_wire(term()) :: {:ok, t()} | {:error, SmolBox.Error.t()}
```

---

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