Skip to content

Interface: RejectedBulkItem

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RejectedBulkItem

Defined in: src/types/inference.ts:1213

One item a bulk rule or fact write refused, named by its position in the request.

index: number

Defined in: src/types/inference.ts:1215

Zero-based index of the refused item in the submitted array.


reason: string

Defined in: src/types/inference.ts:1223

Why the engine refused it, in words. For a rule it is the exact text the single-rule route answers with 422, prefixed rule rejected: — e.g. rule rejected: a rule needs at least one antecedent; a term with no antecedents is a fact — write it through POST /api/v1/terms. Prose, not a code: do not match on it.