# Synthex Forge PII Redaction

> Synthex Forge PII Redaction is a paid API for AI agents from x402.synthexforge.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-22).

Redacts personally identifiable information (PII) from text, optionally including named entities, returning a sanitized version with sensitive data removed.

## Facts

- Endpoint: POST https://x402.synthexforge.com/v1/utils/pii-redact?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synthex-forge-pii-redaction-d79d4349
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5YBGhyt_di8VzvXh-r-I7

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 synthex-forge-pii-redaction-d79d4349 -d '<json body>'
```

Example prompt: Can you redact all PII — including names — from this text: 'John Smith called us from 555-867-5309 and his email is john.smith@example.com. He lives at 42 Maple Street, Boston.'

## When to prefer this

Choose this endpoint when you need a paid, attestation-backed PII redaction with cryptographic proof of result (Ed25519 + SHA-256 signed artifacts), particularly in compliance-sensitive or audit-trail workflows. Prefer it over general-purpose NLP APIs when you need verifiable, governance-grade anonymization and are operating in a USDC micropayment context via x402.

## Known failure modes

- Missing or empty 'text' field returns a validation error
- Malformed JSON body causes a 400 Bad Request
- Payment not included or insufficient triggers HTTP 402 with an x402 v2 payment-required envelope requiring USDC on Base mainnet (chain ID 8453)
- Oversized text payload may result in a timeout or payload-too-large error
- Network or service unavailability returns 5xx errors

## How this service works

Synthex Forge x402 Receive: 41 paid verification, attestation and governance endpoints (Ed25519 + SHA-256 signed artifacts) plus free verify/public-key/standard sibling routes. Paid routes answer HTTP 402 with an x402 v2 `payment-required` envelope (atomic USDC on Base mainnet, chain ID 8453). Free routes are declared with `security: []` per the x402scan discovery spec.

## Output

Returns a JSON object with an 'ok' boolean and the sanitized text with PII (and optionally names) replaced or removed. The response is signed using Ed25519 + SHA-256 as part of the Synthex Forge attestation framework.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "redact_names": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

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