Skip to content

Interface: RetractRuleRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RetractRuleRequest

Defined in: src/types/proof-engine.ts:107

Request to retract rules from the rule store.

Either rule_id or pattern should be provided. If retract_all is true, all matching rules are retracted; otherwise only the first match.

optional pattern?: RuleClauseDto | null

Defined in: src/types/proof-engine.ts:109

If provided, retract rules matching this pattern.


optional retractAll?: boolean

Defined in: src/types/proof-engine.ts:111

If true, retract all matching; if false, retract first match only.


optional ruleId?: string | null

Defined in: src/types/proof-engine.ts:113

If provided, retract by ID.