{"uid":"cap_ylt0PQb1PGrEmL3_4Q9i1","slug":"aialign-memory-sanitizer-6315c9a6","name":"AIAlign Memory Sanitizer","description":"Replaces private-key blocks, credential assignments, email addresses, Luhn-valid payment-card candidates, IPv4 addresses and phone-like digit strings, returning only sanitized text and per-category counts. The request archive stores only input field names and the result archive stores only this method via the endpoint factory. Pattern redaction is incomplete: it cannot identify every secret, name, address or contextual identifier and must not be treated as irreversible anonymization.","url":"https://aialign.halowerk.com/v1/memory-sanitize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":200000,"minLength":1},"replacement_style":{"enum":["typed","generic"],"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q0G0spNI_X3hTQnLjIny2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Redacts private keys, credentials, emails, payment card numbers, IPv4 addresses, and phone-like digit strings from text, returning sanitized content with per-category match counts.","exampleAgentPrompt":"Scrub this text of any private keys, email addresses, credit card numbers, IP addresses, and phone numbers before I store it — use typed replacements so I can see what category each redaction was: 'Contact john@example.com or call 415-555-0198, card ending 4111111111111111, key BEGIN RSA PRIVATE KEY...'","exampleUseCases":[{"title":"Sanitize agent logs before archiving","prompt":"Before saving this agent session log, scrub out any private keys, credentials, emails, and IP addresses using typed replacements — here's the raw text: 'Connecting to 192.168.1.5 as admin@corp.com with token sk-abc123XYZ...'"},{"title":"Redact PII from user-submitted form","prompt":"A user just submitted a support ticket that might contain sensitive info. Can you sanitize this text and tell me how many emails, phone numbers, and card numbers were found? Use generic replacements. Text: 'My number is 800-555-1234 and my card is 4111111111111111, please call me.'"},{"title":"Strip secrets from copied config before sharing","prompt":"I want to share this config snippet with my team but it has credentials in it — please redact any private keys, passwords, and IPs using typed replacements: 'DB_PASS=s3cr3tP@ss host=10.0.0.1 api_key=sk-live-abc456...'"}],"resultDescription":"Returns the sanitized version of the input text with identified sensitive patterns replaced (either with typed labels like [EMAIL] or a generic placeholder, depending on replacement_style), plus a count of matches found per redaction category (e.g. emails: 2, ipv4: 1, payment_cards: 1).","failureModes":["Text exceeds 200,000 character limit — request rejected","Invalid replacement_style value — validation error returned","Incomplete redaction: novel or contextual secrets not matching known patterns may pass through unreacted","False positives: digit strings that look like phone numbers or Luhn-valid but non-card numbers may be incorrectly redacted","Empty text input — minLength:1 constraint triggers error"],"whenToPreferThis":"Use this endpoint when you need fast, pattern-based redaction of well-known secret categories (private keys, credentials, emails, payment cards, IPs, phone-like strings) from text before storage, logging, or sharing. It is not a full anonymization solution and should not be used as the sole PII guardrail for compliance-sensitive data. Prefer it over general-purpose LLM-based redaction when you need deterministic, auditable, low-latency scrubbing with per-category counts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:41:39.317Z","isFirstParty":false}