# `HfHub.InferenceEndpoints.Endpoint`
[🔗](https://github.com/North-Shore-AI/hf_hub_ex/blob/v0.3.1/lib/hf_hub/inference_endpoints/endpoint.ex#L1)

Inference Endpoint information.

Represents a deployed inference endpoint with its configuration and status.

# `endpoint_type`

```elixir
@type endpoint_type() :: :public | :protected | :private
```

# `status`

```elixir
@type status() ::
  :pending
  | :initializing
  | :updating
  | :running
  | :paused
  | :failed
  | :scaled_to_zero
```

# `t`

```elixir
@type t() :: %HfHub.InferenceEndpoints.Endpoint{
  compute: HfHub.InferenceEndpoints.ComputeConfig.t() | nil,
  created_at: DateTime.t() | nil,
  model: HfHub.InferenceEndpoints.ModelConfig.t() | nil,
  name: String.t(),
  namespace: String.t() | nil,
  provider: HfHub.InferenceEndpoints.ProviderConfig.t() | nil,
  status: status() | nil,
  type: endpoint_type() | nil,
  updated_at: DateTime.t() | nil,
  url: String.t() | nil
}
```

# `from_response`

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

Creates an Endpoint struct from an API response.

---

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