# AIReviewRootsOption

typedef

Roots filter shared by both `AIReviewRunOptions` and `AIReviewCustomRunOptions`.

<a id="properties">

## Properties

<a id="member-roots">

### `roots?: Array<AIEditorRoot>`

The roots to run the review against. When omitted, every visible root across every editor in the current [`Context`](module_core_context-Context.md) is reviewed. When provided, only the listed roots are reviewed; the order of entries in `roots` is treated as a set-membership filter and does not affect the payload order.

Each entry's `channelId` must match an editor's `collaboration.channelId`; `rootName` must match a live, visible (non-`$graveyard`) root within that editor.

#### Value

`object`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
