{"uid":"cap_-F-jDKvUSJ4iMbQZfaEZW","slug":"penny-army-research-redact-fields-1904702b","name":"Penny Army Research – Redact Fields","description":"Replace values at exactly named object keys recursively; no secret detection and no guarantee that unlisted fields are safe to share.","url":"https://penny-army-reference-mainnet.spruceboundgranitestudio.workers.dev/v1/probes/redact-fields?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string","maxLength":128,"minLength":1},"maxItems":64},"payload":{"$ref":"#/properties/input/properties/body/$defs/__schema0"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9lcfSrGFXoGPJb1EZGkL6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Recursively replaces values at exactly named object keys throughout a JSON payload, enabling field-level redaction by key name.","exampleAgentPrompt":"Take this JSON payload and redact the values for the fields 'email', 'ssn', and 'phone' everywhere they appear, no matter how deeply nested — replace those fields' values recursively throughout the object.","exampleUseCases":[{"title":"Scrub PII before logging","prompt":"Before we write this API response to our logs, redact the 'email', 'ip_address', and 'user_token' fields everywhere they appear in the JSON — I don't want raw PII showing up in log storage."},{"title":"Sanitize payload before sharing externally","prompt":"I need to share this JSON object with a third-party vendor, but first redact the values for 'api_key', 'secret', and 'password' at every level of nesting so nothing sensitive leaks out."},{"title":"Mask user data for QA environment","prompt":"Can you take this production response object and redact all 'dob', 'ssn', and 'account_number' fields recursively so we can safely use it in our QA test suite?"}],"resultDescription":"A transformed JSON object identical in structure to the input payload, but with the values at every occurrence of the specified field names replaced (redacted). The replacement is applied recursively through all nested objects. Note: no secret detection is performed and fields not listed are not guaranteed safe.","failureModes":["Payload or fields array missing — 400 validation error","Field name exceeds 128 characters — rejected by schema","More than 64 field names supplied — exceeds maxItems limit","Malformed JSON payload — parse error returned","Fields that don't exist in the payload are silently ignored — no error raised","Non-object/non-array payload types may not be recursively processed"],"whenToPreferThis":"Choose this endpoint when you need to programmatically redact or replace values at specifically named keys throughout an arbitrarily nested JSON structure without writing custom recursive traversal logic. It is best suited for pipeline steps that must strip sensitive fields before logging, sharing, or storing JSON data. Unlike secret-detection services, this endpoint requires you to explicitly name the fields to redact rather than auto-detecting secrets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:35:23.751Z","isFirstParty":false,"canonicalSlug":"penny-army-research-redact-fields-1904702b"}