# `ReqLLM.OpenAI.Realtime.Event`
[🔗](https://github.com/agentjido/req_llm/blob/main/lib/req_llm/openai/realtime/event.ex#L1)

An experimental view of one OpenAI Realtime server event.

`native` preserves the provider event shape with sensitive payloads redacted
by default. `stream_events` contains only the exact overlap with
`ReqLLM.StreamEvent`; provider-specific session and transport events remain
native instead of being mislabeled as portable.

# `t`

```elixir
@type t() :: %ReqLLM.OpenAI.Realtime.Event{
  native: map(),
  stream_events: [ReqLLM.StreamEvent.t()],
  type: String.t() | nil
}
```

# `portable?`

```elixir
@spec portable?(t()) :: boolean()
```

Returns whether the provider event has exact canonical overlap.

# `terminal?`

```elixir
@spec terminal?(t()) :: boolean()
```

Returns whether the projection contains a canonical terminal event.

---

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