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

Raw response item emitted when compaction summaries are generated.

# `t`

```elixir
@type t() :: %Codex.Items.Compaction{
  encrypted_content: String.t(),
  id: String.t() | nil,
  type: :compaction
}
```

---

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