Skip to main content
Neosantara includes built-in automated data privacy guardrails designed for Indonesian regulatory compliance (UU PDP No. 27/2022). The gateway scans and redacts sensitive Personally Identifiable Information (PII) before forwarding prompts to upstream model providers.

Per-Request Header Activation

Data guardrails are available exclusively to paid users (paid subscription tier or accounts with an active PAYG balance). The feature operates as an opt-in control per request using the X-Guard header:

Supported Header Values

The X-Guard header accepts the following values:
Security & Activation Policies:
  1. Paid Users Only: Requests on the Free tier do not activate payload redaction even if the X-Guard header is passed.
  2. Explicit Header Required: Account database preferences do not auto-enable provider payload redaction. Every request requiring inspection must explicitly pass X-Guard: on or X-Guard: enabled.

Redacted Data Categories

Inspection uses contextual patterns tuned to Indonesian legal documents and data formats:

Next Steps