Interface: BulkAddFactsResponse
@kortexya/reasoninglayer / BulkAddFactsResponse
Interface: BulkAddFactsResponse
Section titled “Interface: BulkAddFactsResponse”Defined in: src/types/inference.ts:1256
Response from bulk-adding facts.
Remarks
Section titled “Remarks”The engine answers 201 even when it wrote NOTHING. A non-empty
rejected means the write was PARTIAL: factsAdded plus
rejected.length equals the number of facts submitted.
Properties
Section titled “Properties”factsAdded
Section titled “factsAdded”factsAdded:
number
Defined in: src/types/inference.ts:1258
Number of facts added.
rejected?
Section titled “rejected?”
optionalrejected?:RejectedBulkItem[]
Defined in: src/types/inference.ts:1265
The facts the engine refused and did NOT write, each with its index in the request and the reason. Absent when every fact was accepted.
termIds
Section titled “termIds”termIds:
string[]
Defined in: src/types/inference.ts:1260
Created term IDs, one per ACCEPTED fact.