# Verity Suite – Redact (PII & Secret Scanner)

> Verity Suite – Redact (PII & Secret Scanner) is a paid API for AI agents from suite.veritylayer.dev, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-14).

Scans outbound text payloads for PII, secrets, and credentials before they are sent or stored, returning a verdict, severity, findings, and an optional signed receipt.

## Facts

- Endpoint: POST https://suite.veritylayer.dev/redact
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/verity-suite-redact-pii-secret-scanner-e48fa810
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TC-ffR8Drel2FixATwxMy

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 verity-suite-redact-pii-secret-scanner-e48fa810 -d '<json body>'
```

Example prompt: Before you send that API call, scan the request body for any PII, secrets, or credentials — the payload is going to a public-facing log, so flag anything sensitive and tell me the verdict and severity.

## When to prefer this

Choose this endpoint when an AI agent needs a fail-closed, per-call PII and secret scan with a cryptographically signed receipt for auditability, especially before sending data to external APIs, public logs, or third-party storage. Prefer it over regex-based or client-side filters when compliance, destination-aware calibration, or tamper-evident receipts are required.

## Known failure modes

- Payload exceeds 2000 character limit — returns validation error
- Required fields (type, method, bodyType, body, payload) missing — returns 422 unprocessable entity
- Ambiguous or encoded content routed to 'review' verdict rather than a definitive classification
- Payment not included or insufficient — returns 402 Payment Required
- Signing not configured — receipt field returns null

## How this service works

The trust fabric for AI agents — calibrated, fail-closed services agents pay per call.

## Output

Returns a verdict (clean, contains_pii, contains_secret, or review), a severity level, an array of specific findings with categories, an array of human-readable reasons explaining the classification, and optionally an Ed25519-signed VerityLayer receipt that can be independently verified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "context": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 2000
    },
    {
     "type": "null"
    }
   ],
   "title": "Context",
   "default": null,
   "description": "where this payload is headed (e.g. public log, internal db, third-party API) so sensitivity and severity can be calibrated to the destination"
  },
  "payload": {
   "type": "string",
   "title": "Payload",
   "maxLength": 2000,
   "minLength": 1,
   "description": "the text the agent is about to send or store; scan it for PII, secrets, and credentials"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/verity-suite-redact-pii-secret-scanner-e48fa810/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from suite.veritylayer.dev](https://www.zero.xyz/host/suite.veritylayer.dev/llms.txt)
