# Boundary Guard PII Redaction

> Boundary Guard PII Redaction is a paid API for AI agents from boundary-guard-x402.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Scans text for personally identifiable information (emails, phone numbers, secrets) and returns redacted text with placeholder tokens and detailed match metadata

## Facts

- Endpoint: POST https://boundary-guard-x402.onrender.com/pii-redact
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/boundary-guard-pii-redaction-c74954f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BoDrJ4Rc7iECHpwkBrVFZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability boundary-guard-pii-redaction-c74954f4 -d '<json body>'
```

Example prompt: Can you scan this support ticket and redact any PII — emails, phone numbers, or secrets — before I store it? Here's the text: 'Contact jane@example.com or call 555-867-5309. API key is sk-abc123xyz.'

## When to prefer this

Use this endpoint when you need to sanitize free-form text of PII (emails, phones, secrets) with precise character-position metadata for audit trails, not just a plain scrub. Prefer it over regex-only solutions when you need labeled placeholders and per-kind counts for compliance logging, or when building agent pipelines that require structured redaction receipts before data storage or downstream LLM calls.

## Known failure modes

- Missing or empty text body returns 400 validation error
- Malformed JSON request body returns 422 unprocessable entity
- Payment not provided or insufficient USDC triggers x402 payment required response
- Service unavailable on Render cold start may cause timeout
- Unsupported PII types silently pass through without redaction

## Output

Returns a sanitized version of the input text with PII replaced by labeled placeholders (e.g. [REDACTED_EMAIL_1]), plus a list of redaction objects each containing the matched value, its kind (email/phone/secret), character start/end positions, and the placeholder used, along with per-kind counts.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/boundary-guard-pii-redaction-c74954f4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from boundary-guard-x402.onrender.com](https://www.zero.xyz/host/boundary-guard-x402.onrender.com/llms.txt)
