{"uid":"cap_DgcEhDqr1B0x7wxkkto2S","slug":"netzhandwerker-pii-redaction-9c73abde","name":"Netzhandwerker PII Redaction","description":"x402-Werkzeuge für autonome Agenten.","url":"https://tools.netzhandwerker.de/v1/pii/redact","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["mask","label","hash"],"type":"string","default":"mask","description":"mask ersetzt teilweise, label setzt Platzhalter, hash setzt eine stabile Kennung"},"text":{"type":"string","description":"Zu pruefender Text"},"reveal":{"type":"boolean","default":false,"description":"Fundwerte im Klartext zurueckgeben"},"categories":{"type":"array","items":{"type":"string"},"description":"Nur diese Kategorien pruefen"}}},"responseSchema":{"type":"json","example":{"mode":"mask","note":"Mustererkennung, kein Namensverzeichnis.","findings":[{"end":37,"line":1,"start":13,"column":14,"preview":"a**********@example.com","category":"email"},{"end":73,"line":1,"start":51,"column":52,"preview":"******************3000","category":"iban"}],"by_category":{"iban":1,"email":1,"phone":1},"redacted_text":"Bitte an a**********@example.com senden, IBAN ******************3000, Tel ********567.","findings_count":3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QlR_XlKCyilx3tyhVdDUU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects and redacts personally identifiable information (PII) such as emails, IBANs, and phone numbers from text using masking, labeling, or hashing modes.","exampleAgentPrompt":"Scan this text and mask any PII you find — emails, IBANs, and phone numbers — using partial masking mode: 'Please send to anna.mueller@example.com, IBAN DE89 3704 0044 0532 0130 00, Tel +49 30 1234567.'","exampleUseCases":[{"title":"GDPR-safe customer message logging","prompt":"Before we store this support ticket in our database, redact all PII from it using label mode so we replace each item with a category placeholder like [EMAIL] or [PHONE]: 'Contact John at john.doe@company.com or call +1-800-555-0199.'"},{"title":"Financial document pseudonymization","prompt":"I need to hash all IBANs in this payment instruction text so they're replaced with stable identifiers but not visible in plaintext — only check the 'iban' category: 'Transfer to DE89 3704 0044 0532 0130 00 and CC DE75 5121 0800 1245 1261 99.'"},{"title":"AI training data anonymization","prompt":"Strip personal info from this user-generated text before we use it for model training — use mask mode and also return the raw found values so I can audit what was detected: 'My name is Maria Schmidt, reach me at maria@schmidt.de or IBAN AT61 1904 3002 3457 3201.'"}],"resultDescription":"Returns a JSON object containing the redacted version of the input text, a list of findings with character positions, line/column numbers, preview snippets, and category labels, plus a by_category count summary and the redaction mode used. Optionally includes the original found values if reveal=true.","failureModes":["Empty or missing text field returns an error or empty findings","Unknown category strings in the categories array may be silently ignored or cause a 400 error","Very long texts may time out or hit payload limits","Pattern-based detection may produce false positives for email-like or IBAN-like strings","False negatives are possible since detection is regex/pattern-based, not NLP name recognition","Invalid mode enum value returns a 400 validation error"],"whenToPreferThis":"Choose this endpoint when you need fast, per-call PII redaction on arbitrary text strings with flexible output modes (mask, label, hash) and category filtering. It is well-suited for preprocessing user input, sanitizing logs, or anonymizing text before storage or AI processing. Prefer it over full NLP-based PII pipelines when deterministic pattern matching for structured PII types (emails, IBANs, phone numbers) is sufficient and low latency matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:35:19.470Z","isFirstParty":false}