Interface: AnonymizeResponse
@kortexya/reasoninglayer / AnonymizeResponse
Interface: AnonymizeResponse
Section titled “Interface: AnonymizeResponse”Defined in: src/types/anonymization.ts:154
Response of POST /api/v1/anonymize.
Properties
Section titled “Properties”kAnonymityResult?
Section titled “kAnonymityResult?”
optionalkAnonymityResult?:KAnonymityResult|null
Defined in: src/types/anonymization.ts:167
K-anonymity analysis; present for k_anonymity mode, null otherwise.
outputRecords
Section titled “outputRecords”outputRecords:
Record<string,string>[]
Defined in: src/types/anonymization.ts:161
Anonymised output records in input order. Under suppress for
k-anonymity, records in violating equivalence classes are omitted (see
suppressedIndices); under Safe Harbor, PHI fields are replaced with
"[SUPPRESSED]" (no records removed).
safeHarborSummary?
Section titled “safeHarborSummary?”
optionalsafeHarborSummary?:SafeHarborSummary|null
Defined in: src/types/anonymization.ts:169
Safe Harbor summary; present for safe_harbor mode, null otherwise.
suppressedCount
Section titled “suppressedCount”suppressedCount:
number
Defined in: src/types/anonymization.ts:165
Number of suppressed records (= suppressedIndices.length).
suppressedIndices
Section titled “suppressedIndices”suppressedIndices:
number[]
Defined in: src/types/anonymization.ts:163
Zero-based indices (into the input batch) of wholly-removed records. Empty for Safe Harbor.