Skip to content

Interface: ActionReviewResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ActionReviewResponse

Defined in: src/types/action-reviews.ts:152

Response from approving, rejecting, or modifying an action.

actionTermId: string

Defined in: src/types/action-reviews.ts:154

Action term ID (for tracking execution).


optional chain?: ApprovalChain | null

Defined in: src/types/action-reviews.ts:170

The chain after this decision, when the review carries one. An approval that advances the chain without completing it leaves the review pending and names the next role here.


optional error?: string | null

Defined in: src/types/action-reviews.ts:172

Error message when a UI-action-origin execution (or its re-screen) failed.


executed: boolean

Defined in: src/types/action-reviews.ts:156

Whether execution was triggered.


message: string

Defined in: src/types/action-reviews.ts:158

Message describing what happened.


producedTermIds: string[]

Defined in: src/types/action-reviews.ts:174

Term IDs a UI-action-origin execution produced. Empty for an agent-origin approval.


status: ActionReviewStatusDto

Defined in: src/types/action-reviews.ts:160

The final status of the review.


success: boolean

Defined in: src/types/action-reviews.ts:162

Whether the decision was applied successfully.


willExecute: boolean

Defined in: src/types/action-reviews.ts:164

Whether the action will be executed.