Interface: SetActionReviewConfigRequest
@kortexya/reasoninglayer / Cognitive / SetActionReviewConfigRequest
Interface: SetActionReviewConfigRequest
Defined in: src/types/cognitive.ts:1239
Request to set the human-in-the-loop (HITL) action-review configuration for the authenticated tenant’s cognitive agents.
Remarks
The tenant is taken from the authenticated principal, never from the body —
this request carries no tenantId.
Omitted optional fields fall back to the backend defaults: timeout 3600s,
always-approve ["file_write", "file_delete", "web_post"], low-confidence
threshold 0.3, and a maximum of 100 pending reviews.
Example
await client.cognitive.setActionReviewConfig({ enabled: true, alwaysRequireApproval: ['file_delete'], lowConfidenceThreshold: 0.4,});Properties
alwaysRequireApproval?
optionalalwaysRequireApproval:string[] |null
Defined in: src/types/cognitive.ts:1243
Action sorts that always require approval.
defaultTimeoutSecs?
optionaldefaultTimeoutSecs:number|null
Defined in: src/types/cognitive.ts:1247
Default timeout for reviews, in seconds.
enabled
enabled:
boolean
Defined in: src/types/cognitive.ts:1241
Enable HITL review for agent actions.
lowConfidenceThreshold?
optionallowConfidenceThreshold:number|null
Defined in: src/types/cognitive.ts:1249
Confidence threshold below which actions require approval (0.0 to 1.0).
maxPendingReviews?
optionalmaxPendingReviews:number|null
Defined in: src/types/cognitive.ts:1251
Maximum pending reviews before blocking new actions.
neverRequireApproval?
optionalneverRequireApproval:string[] |null
Defined in: src/types/cognitive.ts:1245
Action sorts that never require approval (override).