{"uid":"cap_ZMLkNqiiExHuRY4xiP7s_","slug":"anicca-prompt-sanitizer-pii-masking-for-ai-agents-8e65e09c","name":"Anicca Prompt Sanitizer — PII Masking for AI Agents","description":"Deterministic PII sanitizer for AI agents — masks emails, phones, SSNs, cards, IPs.","url":"https://anicca-x402-discovery-production.up.railway.app/prompt-sanitizer","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tAjvzfmybFfXEa5n8sa6u","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deterministically detects and masks PII (emails, phone numbers, SSNs, credit card numbers, IP addresses) in text prompts before they are sent to AI models.","exampleAgentPrompt":"Before sending this user message to the AI, sanitize it to mask any PII — redact emails, phone numbers, SSNs, credit card numbers, and IP addresses so nothing sensitive leaks into the model call.","exampleUseCases":[{"title":"HIPAA-safe patient intake processing","prompt":"I have a patient intake form response that contains names, SSNs, and phone numbers — please sanitize it to mask all PII before I pass it to my AI summarizer."},{"title":"Customer support log anonymization","prompt":"This customer support ticket has email addresses and credit card numbers in it. Strip out all the sensitive info before we run it through our AI triage system."},{"title":"Compliance screening for LLM pipelines","prompt":"We're building an agent that processes user messages, and we need to make sure no emails, IPs, or SSNs ever reach the language model. Can you run this text through the PII sanitizer first?"}],"resultDescription":"A sanitized version of the input text where PII tokens (emails, phone numbers, SSNs, credit card numbers, IP addresses) have been replaced with masked placeholders, ensuring no sensitive data passes through to downstream AI model calls.","failureModes":["Missing or malformed input text returns a 400 validation error","Payment not included or insufficient USDC results in a 402 Payment Required response","Ambiguous or novel PII formats may not be detected by the deterministic rules","Non-English PII patterns (e.g. international phone formats) may be missed","Service unavailability on Railway hosting returns 503"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, rule-based PII masking step — not an LLM-based approach — before routing text to an AI model. Ideal for compliance pipelines (GDPR, HIPAA, PCI-DSS), agent workflows that handle user-submitted content, or any situation where you need consistent, auditable redaction of emails, phones, SSNs, card numbers, and IPs without model hallucination risk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:39.226Z","isFirstParty":false}