Detect and transform structured PII in a text blob
payai.agentstools.dev/pii/redact
Detect and transform structured PII in a text blob. Returns the sanitized text plus a findings report. Modes: redact, mask, hash, or reversible tokenize (the token map is returned in the response — nothing is stored). Optional per-type mode overrides and an allow-list. Structured PII indicators, not legal advice.
POST
https://payai.agentstools.dev/pii/redactUptime100% of 3 checks in 30 days
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://payai.agentstools.dev/pii/redact" \
-d '{"mode":"redact","text":"Email jane.doe@example.com, card 4111 1111 1111 1111."}'
# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.Example input
{
"mode": "redact",
"text": "Email jane.doe@example.com, card 4111 1111 1111 1111."
}