Starfort

Download 0
Last updated Nov 15, 2026

starfort-guard-batch

Inspects the text field of each input record for personal data with the Starfort Guard API and adds the verdict, masked text and detections.

starfort-guard-batch [profile=VALUE] [role=VALUE]
profile=VALUE
Optional. Starfort connect profile identifier. Required when more than one profile is available
role=VALUE
Optional. Message role: system, user or assistant. user by default

Output Fields

FieldTypeNameDescription
actionStringVerdictPASS, MASK or BLOCK. Null when no verdict was received. e.g. MASK
processed_contentStringMasked textprocessed_content on MASK. e.g. 제 휴대폰 번호는 010-****-5678 입니다.
detected_itemsListDetected itemsdetected_items as maps of policy_name, rule_name, mask_word, matched_text, alert_message, action
mask_mappingsListMask mappingsmask_mappings as maps of seq, original_text, masked_text, mask_word, mode
request_idStringRequest IDX-Request-ID response header. e.g. 7eced4e9-3bc4-44ea-965b-5a5ab5155850
http_statusIntegerHTTP statusHTTP status of the guard call. e.g. 200
latency_msLongLatencyGuard call latency in milliseconds. e.g. 120
errorStringErrorError code and message when no verdict was received; action is then null. e.g. 217411: Starfort rejected the API key (HTTP 401). [API_KEY_INVALID]