{"uid":"cap_FYx-fHt_zP3G4EOXNOeUc","slug":"agent-secret-redactor-05633d57","name":"Agent Secret Redactor","description":"Redact common API keys, tokens and private-key patterns before logging or handoff","url":"https://agent-product-normalizer.vercel.app/api/v1/redact-secrets","method":"GET","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"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":20000,"description":"Text to redact common credentials and secret-token patterns from"}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_CshLZ9sH3EuWJxGTtlx3Z","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":"Redacts common API keys, tokens, and private-key patterns from text before logging or agent handoff","exampleAgentPrompt":"Before you hand off this context to the next agent, scrub it for any API keys, auth tokens, or private keys — here's the text: 'Authorization: Bearer sk-abc123xyz, AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY'","exampleUseCases":[{"title":"Sanitize logs before storage","prompt":"Before saving this agent execution log, strip out any API keys or tokens that may have leaked into it — here's the full log text to clean up."},{"title":"Safe handoff between agents","prompt":"I'm about to hand this conversation context off to a subagent, but I want to make sure no credentials or secret tokens are exposed — can you redact any secrets from this text first?"},{"title":"Clean LLM prompt before sending","prompt":"Before you send this user-submitted text to the language model, scrub it for any embedded API keys, bearer tokens, or private keys that shouldn't be passed through."}],"resultDescription":"Returns the input text with all detected API keys, bearer tokens, private keys, and other secret patterns replaced with redacted placeholders, preserving the surrounding text structure.","failureModes":["Text exceeds 20,000 character limit — request will be rejected","Novel or proprietary secret formats not covered by regex patterns may not be detected","False positives may redact legitimate non-secret strings that match credential patterns","GET method with long text may hit URL length limits — very long payloads should be chunked"],"whenToPreferThis":"Use this endpoint when an agent needs to sanitize text of credentials before logging, storing, or passing to another agent or LLM. Prefer this over manual regex when you need a fast, pre-built pattern library covering common formats like AWS keys, GitHub tokens, OpenAI keys, JWTs, and private keys without maintaining your own detection logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:30:04.310Z","isFirstParty":false}