# `HfHub.Spaces.SpaceRuntime`
[🔗](https://github.com/North-Shore-AI/hf_hub_ex/blob/v0.3.1/lib/hf_hub/spaces/space_runtime.ex#L1)

Runtime information for a HuggingFace Space.

# `stage`

```elixir
@type stage() ::
  :building
  | :running
  | :paused
  | :sleeping
  | :stopped
  | :runtime_error
  | :no_app_file
```

# `t`

```elixir
@type t() :: %HfHub.Spaces.SpaceRuntime{
  hardware: String.t() | nil,
  raw_logs: boolean() | nil,
  requested_hardware: String.t() | nil,
  sdk: String.t() | nil,
  sdk_version: String.t() | nil,
  sleep_time: integer() | nil,
  stage: stage() | nil,
  storage: String.t() | nil
}
```

# `from_response`

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

Create a SpaceRuntime struct from an API response.

---

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