# `Codex.Items.ContextCompaction`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/items.ex#L432)

Marker item emitted when context compaction occurred.

# `t`

```elixir
@type t() :: %Codex.Items.ContextCompaction{
  id: String.t() | nil,
  type: :context_compaction
}
```

---

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