Before AI: replace personal data, redact it or block it?
Compare RN personal data policies and choose the right treatment for your workflow. Learn why monitoring is not anonymization.
Rota Nacional · Published · Reviewed
Reduce the data sent to a model
A summary or classification request does not always need a person's name, phone number or identity document. On protected RN routes, the barrier examines content before the model call. It combines person-name detection with rules for personal data categories.
The purpose is to reduce exposure in the inference workflow. Detection has limits and is not a guarantee of irreversible anonymization. Validate results with representative fictional examples and retain your application's access controls.
Choose the organization behavior
- placeholder replaces detected data with a marker, such as [PESSOA_1] or [CPF_1], to preserve some context.
- redact removes the detected value. Use it when identification does not help the task.
- block refuses the request with 422 when the barrier detects personal data.
- monitor records detection but preserves content. It does not clean a request before transmission.
Choose a path that supports the content
Protected chat uses the rota/* catalog. The /v1/privacy/clean endpoint processes text without calling a response model. For documents or images, check /v1/privacy/extract and capacity availability before sending content. A text barrier cannot directly inspect image pixels or audio.
The /v1/providers/* gateway preserves the original format and does not apply this processing. An organization can require the barrier and refuse that path. A request policy can only strengthen the organization's policy. Conversation storage, external transmission and personal data processing remain separate decisions.
Frequently asked questions
Does monitor protect text sent to the provider?
No. Monitor preserves content. An organization that requires the barrier must use placeholder, redact or block on protected chat.
Can I use the barrier without generating an AI answer?
Yes. /v1/privacy/clean processes text without calling a response model. Check the API for access and payment conditions.
Keep reading
Require privacy across your organization's API keys
An organization can require the RN privacy barrier. Understand native API blocking, the 403 error and the protected chat path.
Connect OpenAI and Anthropic clients to RN
Choose protected catalog or native gateway before configuring an AI client or coding agent. Model, endpoint and key must match.
Native OCR or privacy extraction: which path fits?
Compare native Mistral OCR with RN text extraction and personal data processing. Input type and policy change the integration.