SearchLive

Text Redact

Redact secrets from arbitrary text.

$0.00115USDC per call · settled on Base · no subscription, no API key

Overview

Redact secrets from arbitrary text. Deterministic, keyless, pure compute — no data is stored. Pass `text` (up to 256 KB); each detected credential is replaced in-place with a `[redacted:<kind>]` marker (surrounding text is preserved so the result stays greppable), and you get per-kind hit counts. Detects: PEM private-key blocks, JWTs, AWS access-key ids (AKIA/ASIA), GitHub tokens (ghp_/gho_/ghu_/ghs_/ghr_), Stripe keys (sk_/pk_/rk_ live|test), OpenAI keys (sk-…), npm tokens (npm_…), Slack tokens (xox[baprs]-…), Google API keys (AIza…), HTTP Bearer tokens, scheme://user:password@host URL credentials, and generic api_key/secret/token/password assignments. Idempotent. Useful before logging, storing (see store.doc-put redact=true), or sharing agent/tool output.

Endpoint

MethodEndpointPriceDescription
POST/v1/marketplace/api/text-redact$0.00115Invoke Text Redact (Search) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i -X POST https://api.jarvisclaw.ai/v1/marketplace/api/text-redact \
  -H 'Content-Type: application/json' \
  -d '{}'

# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://api.jarvisclaw.ai/v1/marketplace/api/text-redact \
  -H 'Content-Type: application/json' \
  -H 'X-PAYMENT: <signed-payload>' \
  -d '{}'
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs