security

PII Redaction

Detect and redact PII in text: find and mask names, addresses, SSNs, emails, and phone numbers. POST /v1/pii with {text} and get findings and masked output as one JSON object. Deterministic per ruleset version. Pay per request in USDC; no account, no API key.

post/v1/pii-redaction

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/pii-redaction
  • Auth: none required

Request body

textstring required

The text to inspect for PII.

Response

The upstream response, served after payment settles.

object required

For POST /v1/pii, a JSON object with a findings array and the masked text. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field, and the GET routes return their own small JSON documents.

Changes

No recorded changes to this operation across all 1 revision of this API.