{"uid":"cap_Nn1Qmmd4T1dn411ulRaIt","slug":"agent-guard-pii-redactor-a4dbdafb","name":"Agent Guard PII Redactor","description":"Safety and trust layer for AI agents: PII redaction, scam/phishing text scan, EVM/Solana address validation, IBAN checks, JSON repair, deep on-chain wallet risk scoring, x402 counterparty endpoint reputation checks. Free discovery: /openapi.json, /.well-known/x402, /v1/capabilities, /mcp (tools/list). REST + MCP. Pay with USDC via x402 — no API keys.","url":"https://agent-guard.annushka1190.workers.dev/v1/pii/redact","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":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Free text to redact (JSON body)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_uzpnUPQDB0VTb_lwQqXWn","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":"Detects and redacts personally identifiable information (PII) from text, replacing sensitive items like emails and phone numbers with labeled placeholders.","exampleAgentPrompt":"Can you redact any personal information from this text before I store it: 'Please contact John at john.doe@gmail.com or call him at 555-867-5309'?","exampleUseCases":[{"title":"Sanitize support tickets before logging","prompt":"Before we save this customer support message to our database, strip out any emails or phone numbers — here's the text: 'Hi, my name is Sarah, reach me at sarah@example.com or 212-555-0199 for follow-up.'"},{"title":"Anonymize LLM input for compliance","prompt":"I need to send this user message to an external AI model but I can't include any PII — please redact all personal identifiers from: 'My billing address is 42 Oak Street and you can email me at mike.jones@hotmail.com.'"},{"title":"Privacy-safe agent conversation logging","prompt":"We're logging agent conversations for quality review but need them GDPR-compliant — can you remove all personal information from this transcript: 'The user said call me at 07700 900123 or email alice@corp.io anytime.'"}],"resultDescription":"Returns a JSON object with a 'redacted' string where PII has been replaced by labeled placeholders (e.g. [EMAIL], [PHONE]), and a 'counts' object showing how many instances of each PII type were found and replaced.","failureModes":["Missing or empty 'input' body results in a 400 validation error","Non-JSON body type causes a parse failure","Payment not included or insufficient USDC results in a 402 Payment Required response","Text with highly unusual formatting may result in missed PII detections","Very long input strings may time out or be truncated"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call PII redaction without managing API keys or subscriptions. It is ideal for AI agents that handle user-submitted text and must comply with privacy regulations before storing or forwarding data. Prefer it over heavyweight NLP pipelines when you only need common PII types like emails and phone numbers removed quickly and cheaply.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:35:34.502Z","isFirstParty":false}