The three actions
| Action | processed_content | Meaning |
|---|---|---|
PASS | Original text | All policies passed. |
MASK | Masked text | One or more MASKING rules matched; detected spans replaced with mask_word. |
BLOCK | null | One or more BLOCKING rules matched; content cannot be returned. |
MASK example
BLOCK example
TODO — show a BLOCK response whereprocessed_content is null and detected_items explains why.
How the final action is chosen
TODO — describe theBLOCK > MASK > PASS priority across all policy types for a single request.
Related
Response format
The full shape of a Guard API response, including
action, results, and input_results.