Redact religious beliefs from text, JSON, and CSV
Religious belief is a protected characteristic. In hiring and HR data it is also an easy route to discrimination claims if it leaks alongside an application.
How Redactly detects religious beliefs
- Detected by the model from free text; there is no reliable pattern.
- Covers affiliation, practice, and belief statements rather than only explicit labels.
- Reported as its own entity type so you can apply a handling policy separately from other categories.
Why redact religious beliefs?
Protected-characteristic data in an HR export is a discrimination risk as well as a privacy breach.
Example request
curl -X POST https://api.bitbanger.in/v1/redact \
-H "X-API-Key: rdct_your_key_here" \
-H "Content-Type: application/json" \
-d '{"text": "Candidate requests Friday prayer accommodation.", "style": "replace"}'
Every hit in the response carries entity, text, start, and end. The offsets index into the text you sent, so you can apply the redactions to your own copy of the document. The full response schema is in the API reference.
Questions
Does Redactly redact religious beliefs automatically?
Yes. Send text to the API and every detected type is redacted, including religious beliefs. To redact only this type, pass the value special.religion in the entities filter. No training or configuration is required.
What happens to religious beliefs after redaction?
With style set to replace, each match becomes [special.religion] — the entity type in square brackets. Setting style to mask replaces every character with a block character, and remove deletes the span entirely.
Related entity types
- Political opinionsRedact political opinions and affiliations from free text, surveys, and HR records.
- Sexual orientationRedact references to sexual orientation from free text and HR records.
- Health statusRedact statements about a person's health, disability, or medical status from free text.
Redact religious beliefs in production
Get an API key and send your first request in a minute. Plans start at $24/month.
See pricing