Sign up (with export icon)

AIReviewRunResult

Api-class iconclass

The result of an AI review run.

Properties

  • Chevron-right icon

    The list of top-level blocks that were affected by the run.

    Parameters

    value : Array<AIRunChangeData>
  • Chevron-right icon

    channelId : string | undefined
    readonlyinherited

    Collaboration channel id captured at the start of the run.

  • Chevron-right icon

    contentNew : string
    readonlyinherited

    The contentRawNew with data-id attributes stripped. Suitable for surfacing to end-users.

  • Chevron-right icon

    contentOld : string
    readonlyinherited

    The contentRawOld with data-id attributes stripped. Suitable for surfacing to end-users.

  • Chevron-right icon

    contentRawNew : string | undefined
    inherited

    The post-run document snapshot with all returned suggestions merged in, with data-id attributes preserved. Equals contentRawOld when the run produced no suggestions. undefined until the run completes.

    Parameters

    value : string
  • Chevron-right icon

    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
  • Chevron-right icon

    documentVersion : number | undefined
    inherited

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

    Parameters

    value : number
  • Chevron-right icon

    editor : Editor
    readonlyinherited

    The editor the AI run was performed against.

  • Chevron-right icon

    error : Error | undefined
    inherited

    The error that caused the run to fail.

    Parameters

    value : CKEditorError | undefined
  • Chevron-right icon

    rootName : string
    readonlyinherited

    Name of the editor root the AI run targeted.

  • Chevron-right icon

    sessionId : string
    readonlyinherited

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

  • Chevron-right icon

    status : AIRunStatus
    readonlyinherited

    Outcome of the run. Anything other than 'completed' means the run did not finish successfully — see error for details.

Methods

  • Chevron-right icon

    constructor( data )
    inherited

    Parameters

    data : AIRunResultInput
  • Chevron-right icon

    abort() → void
    inherited

    Marks the run as aborted. Reflected via status.

    Returns

    void