Top-Level 필드
| Field | Type | 설명 |
|---|---|---|
guardian | string | 판정을 수행한 Guardian 이름. |
action | string | 최종 Action: PASS, MASK, BLOCK. |
processed_content | string | null | MASK 시 마스킹 텍스트, PASS 시 원본, BLOCK 시 null. |
results | object | Policy type별 요약. key가 policy type (PII, TOPIC, …). |
processing_time_ms | integer | 전체 처리 지연 시간. |
results.{type}
| Field | Type | 설명 |
|---|---|---|
action | string | 해당 Policy type의 판정: PASS, MASK, BLOCK. |
detected_count | integer | 규칙 매칭 수. |
detected_items | array | 매칭 상세 (아래 참고). |
results.PII.detected_items
| Field | 설명 |
|---|---|
rule_name | 매칭된 규칙 이름. |
action | 규칙의 Action (PASS / MASK / BLOCK). |
alert_message | 규칙의 알림 메시지. |
results.TOPIC.detected_items
| Field | 설명 |
|---|---|
rule_name | 매칭된 토픽 카테고리 제목. |
action | PASS 또는 BLOCK. |
classification | safe, unsafe, controversial. |
응답 예시
- PASS
- MASK
- BLOCK
관련 문서
PASS / MASK / BLOCK
여러 Policy 유형이 섞인 요청에서 최종 Action이 결정되는 방식.