Explorer
Syncing—

PII RedactionService

pii-redaction

Pattern-based PII redaction. POST JSON {"text": "..."} to /v1/pii, optionally {"actions": ["EMAIL", "PHONE"]} to limit types. Detects and replaces EMAIL, SSN (valid ranges), CREDIT_CARD (Luhn-checked, known card prefixes), IBAN (mod-97 checked), PHONE (US and +international), IP (valid IPv4) and ZIP (only after a US state code or the word zip). The response is a JSON object with redacted text, findings (count per type), total and items (type, start, end; the values themselves are not echoed). Names, street addresses, dates of birth and free-text identifiers are NOT detected. Deterministic; max 200,000 characters.

Active Suppliers
2
of 2 ever configured
Service Info
Service ID
pii-redaction
Compute Units / Relay
100,000
Active Applications
2
Relay Mining EMA
1 relays
Service Metadata Cardsource: on-chain metadata (LCD)
{10 items
"schema":"pocket-service-card/v1"
"description":"Pattern-based PII redaction. POST JSON {"text": "..."} to /v1/pii, optionally {"actions": ["EMAIL", "PHONE"]} to limit types. Detects and replaces EMAIL, SSN (v..."
"rpc_types":[1 item
0:{4 items
"type":"REST"
"intent":"expected"
"backend_hint":"pii-redaction HTTP server on :8080; POST /v1/pii (POST / also reaches it through the relay), GET /v1/health + /v1/version."
"notes":"Every response is a JSON object; errors are JSON 4xx with an error field."
}
]
"apis":[1 item
0:"pii-api"
]
"specs":[1 item
0:{4 items
"kind":"openapi"
"api":"pii-api"
"url":"https://services.supnodes.com/specs/pii-redaction/openapi.json"
"notes":"Machine-readable OpenAPI 3.0.3 contract for this service, with example requests."
}
]
"access":"public"
"results":"deterministic"
"serving":{7 items
"backend":"Single-process Python 3 HTTP server, standard library only, behind a RelayMiner (rest backend). No auth toward the backend; callers cannot send headers. Runs lo..."
"implementations":[1 item
0:"pii-redaction >= 1.0"
]
"docs":"https://services.supnodes.com/specs/pii-redaction/README.md"
"min_disk_gb":1
"min_ram_gb":1
"healthcheck":[3 items
0:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/version"
"method":"GET"
}
"expect":{2 items
"json_path":"$.service"
"matches":"^pii-redaction$"
}
"notes":"Identity probe: pins the backend to this service so a wrong backend cannot be staked under this id."
}
1:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/health"
"method":"GET"
}
"expect":{2 items
"json_path":"$.status"
"matches":"^ok$"
}
"notes":"Readiness probe."
}
2:{4 items
"rpc_type":"REST"
"request":{3 items
"path":"/v1/pii"
"method":"POST"
"body":{1 item
"text":"Email bob@example.com or call 415-555-0132."
}
}
"expect":{2 items
"json_path":"$.redacted"
"matches":"\[EMAIL\].*\[PHONE\]"
}
"notes":"Functional probe: an email and a phone number are redacted; local only."
}
]
"notes":"No upstream: rules run on the server. Gateway operators: configure as type passthrough with rpc_types ["rest"]."
}
"docs":"https://services.supnodes.com/specs/pii-redaction/README.md"
"updated":"2026-09-27"
}