# AICheckRunSingleRootResult

class

The result of a single AI check run, scoped to a single root. Adds `affectedBlocks` on top of [`AIRunSingleRootResult`](module_ai_aicore_model_airunsinglerootresult-AIRunSingleRootResult.md).

<a id="properties">

## Properties

<a id="member-affectedBlocks">

### `affectedBlocks: readonly Array<AIRunChangeData>`

The list of top-level blocks that were affected by the run. Returns a fresh copy on every call — mutating the returned array does not affect the result's internal state.

#### Parameters

* `value: Array<AIRunChangeData>`

<a id="member-channelId">

### `channelId: string | undefined` _(readonly)_

Collaboration channel id captured at the start of the run.

<a id="member-contentNew">

### `contentNew: string` _(readonly)_

The [`contentRawNew`](#member-contentRawNew) with `data-id` attributes stripped. Suitable for surfacing to end-users.

<a id="member-contentOld">

### `contentOld: string` _(readonly)_

The [`contentRawOld`](#member-contentRawOld) with `data-id` attributes stripped. Suitable for surfacing to end-users.

<a id="member-contentRawNew">

### `contentRawNew: string | undefined` _(inherited)_

The post-run document snapshot with all returned suggestions merged in, with `data-id` attributes preserved. Equals [`contentRawOld`](#member-contentRawOld) when the run produced no suggestions. `undefined` until the run completes.

#### Parameters

* `value: string`

<a id="member-contentRawOld">

### `contentRawOld: string | undefined` _(inherited)_

The pre-run document snapshot as captured at the time the run started, with `data-id` attributes preserved. `undefined` until the run starts.

#### Parameters

* `value: string`

<a id="member-documentVersion">

### `documentVersion: number | undefined` _(inherited)_

Document version captured when the run started. `undefined` until the run starts.

#### Parameters

* `value: number`

<a id="member-droppedUnsupportedInlineChange">

### `droppedUnsupportedInlineChange: boolean` _(inherited)_

Whether applying the result dropped the change because it would introduce block structure an inline root cannot accept. When `true`, the run completed but [`apply`](module_ai_aicore_aigateway-AIGateway.md#function-apply) applied nothing.

#### Parameters

* `value: boolean`

<a id="member-editor">

### `editor: Editor` _(readonly)_

The editor the AI run was performed against.

<a id="member-error">

### `error: Error | undefined` _(inherited)_

The error that caused the run to fail.

When the failure originated in the AI service backend, its structured response (for example, an `issues` list describing which fields failed validation) is available under `error.data.backendData`.

#### Parameters

* `value: CKEditorError | undefined`

<a id="member-rootName">

### `rootName: string` _(readonly)_

Name of the editor root the AI run targeted.

<a id="member-sessionId">

### `sessionId: string` _(readonly)_

AI editing session id captured at the start of the run.

<a id="member-status">

### `status: AIRunStatus` _(readonly)_

Outcome of the run. Anything other than `'completed'` means the run did not finish successfully — see [`error`](#member-error) for details.

<a id="methods">

## Methods

<a id="function-constructor">

### `constructor( data )` _(inherited)_

#### Parameters

* `data: AIRunSingleRootResultInput`

<a id="function-abort">

### `abort() → void` _(inherited)_

Marks the run as aborted. Reflected via [`status`](#member-status).

#### Returns

* `void`

---

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