Interface: AnonymizeResponse
@kortexya/reasoninglayer / Anonymization / AnonymizeResponse
Interface: AnonymizeResponse
Defined in: src/types/anonymization.ts:154
Response of POST /api/v1/anonymize.
Properties
kAnonymityResult?
optionalkAnonymityResult:KAnonymityResult|null
Defined in: src/types/anonymization.ts:167
K-anonymity analysis; present for k_anonymity mode, null otherwise.
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?
optionalsafeHarborSummary:SafeHarborSummary|null
Defined in: src/types/anonymization.ts:169
Safe Harbor summary; present for safe_harbor mode, null otherwise.
suppressedCount
suppressedCount:
number
Defined in: src/types/anonymization.ts:165
Number of suppressed records (= suppressedIndices.length).
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.