Interface: ActionReviewConfig
@kortexya/reasoninglayer / ActionReviewConfig
Interface: ActionReviewConfig
Section titled “Interface: ActionReviewConfig”Defined in: src/types/cognitive.ts:1406
The tenant’s stored human-in-the-loop (HITL) action-review configuration.
Remarks
Section titled “Remarks”Returned by getActionReviewConfig(). Every field is present. A tenant that
has never been configured reads as disabled, with empty approval lists, a
low-confidence threshold of 0.5, a 3600s timeout and a cap of 100 pending
reviews. These values differ from the defaults a PUT applies to omitted
fields (see SetActionReviewConfigRequest).
The type is assignable to SetActionReviewConfigRequest, so a read value can be edited and written back whole.
Example
Section titled “Example”const config = await client.cognitive.getActionReviewConfig();await client.cognitive.setActionReviewConfig({ ...config, lowConfidenceThreshold: 0.4 });Properties
Section titled “Properties”alwaysRequireApproval
Section titled “alwaysRequireApproval”alwaysRequireApproval:
string[]
Defined in: src/types/cognitive.ts:1410
Action sorts that always require approval.
defaultTimeoutSecs
Section titled “defaultTimeoutSecs”defaultTimeoutSecs:
number
Defined in: src/types/cognitive.ts:1414
Seconds a new review waits for a decision before it times out.
enabled
Section titled “enabled”enabled:
boolean
Defined in: src/types/cognitive.ts:1408
Whether HITL review is enabled for agent actions.
lowConfidenceThreshold
Section titled “lowConfidenceThreshold”lowConfidenceThreshold:
number
Defined in: src/types/cognitive.ts:1416
Confidence threshold below which actions require approval (0.0 to 1.0).
maxPendingReviews
Section titled “maxPendingReviews”maxPendingReviews:
number
Defined in: src/types/cognitive.ts:1418
Maximum pending reviews in the tenant’s queue before agent actions are refused.
neverRequireApproval
Section titled “neverRequireApproval”neverRequireApproval:
string[]
Defined in: src/types/cognitive.ts:1412
Action sorts that never require approval (override).