# `Codex.Events.FileApprovalRequested`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/events.ex#L1028)

Event emitted when the app-server requests approval for a file change.

# `t`

```elixir
@type t() :: %Codex.Events.FileApprovalRequested{
  grant_root: String.t() | nil,
  id: String.t() | integer(),
  item_id: String.t(),
  reason: String.t() | nil,
  thread_id: String.t(),
  turn_id: String.t()
}
```

---

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