Skip to main content
Privacy policies catch sensitive user information before it reaches your database, public feed, or other users. They cover detection (does this content contain PII?) as well as masking (redact it from the stored content).

Policies

Face detection

Face detection flags images with a single rule you write as a sentence:
Flag images that contain at least / fewer than N faces.
Both directions are useful, which is why the rule reads this way rather than as a simple on/off:
  • At least 1 — flag any image showing a person. Use it where faces shouldn’t appear at all, like product photos or document uploads.
  • Fewer than 1 — flag images with no face. Use it where a face is required, like verifying that a profile picture is actually of someone.
  • At least 3 — flag group photos while letting individual portraits through.
Configure it on a channel’s Policies → Privacy page. Two settings: probability reports confidence that the rule is satisfied, so an absence match (“fewer than 1 face, and there are none”) reports high confidence rather than zero. Detected faces are returned on the policy’s data field.
Face detection runs on images only. It doesn’t identify anyone — it counts faces and returns no identity information.

Reading the result

See Understanding API responses for the full response shape and masking behavior.