Skip to content

Interface: AnonymizeRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Anonymization / AnonymizeRequest

Interface: AnonymizeRequest

Defined in: src/types/anonymization.ts:72

Body of POST /api/v1/anonymize — batch-anonymize records.

Properties

enforcement?

optional enforcement: EnforcementStrategy

Defined in: src/types/anonymization.ts:82

Enforcement strategy; defaults to suppress on the backend.


mode

mode: AnonymizationMode

Defined in: src/types/anonymization.ts:80

Anonymization mode with its parameters.


records

records: Record<string, string>[]

Defined in: src/types/anonymization.ts:78

The batch of records to anonymize, each a map of field name to string value. Numeric values must be serialised as strings by the caller (e.g. "42"). Maximum 10 000 records per request.