# AISkills402 Redact Sensitive — SKILL.md File Purchase

> AISkills402 Redact Sensitive — SKILL.md File Purchase is a paid API for AI agents from api.aiskills402.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-27).

Purchases and downloads the 'Redact PII and Secrets From Logs and Tickets' SKILL.md file for AI agents via a one-time $0.03 USDC x402 micropayment on Base.

## Facts

- Endpoint: GET https://api.aiskills402.com/v1/skills/redact-sensitive/file?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aiskills402-redact-sensitive-skill-md-file-purchase-b799fbe4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2iWtp_B6h-gVvHJ8DcaIB

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 aiskills402-redact-sensitive-skill-md-file-purchase-b799fbe4
```

Example prompt: Buy me the redact-sensitive skill from AISkills402 so I can teach you how to strip PII and secrets from logs and support tickets — pay the $0.03 in USDC and bring back the SKILL.md file.

## When to prefer this

Choose this endpoint when your AI agent needs a tested, immediately usable SKILL.md instruction file for redacting PII and secrets from logs or support tickets, and you want a one-time $0.03 purchase with permanent ownership and free re-downloads rather than a subscription or recurring API fee. Prefer this over building custom redaction logic when you need a battle-tested skill file your agent can internalize directly.

## Known failure modes

- Payment not included or insufficient — x402 payment challenge returned, agent must attach valid USDC payment on Base
- Network or blockchain settlement failure — receipt shows settled: false, retry required
- Invalid HTTP method — only GET and HEAD are accepted
- Skill not found or endpoint path incorrect — 404 response
- Re-download token expired or invalid — 401/403 on subsequent re-download attempts

## How this service works

Redact PII and Secrets From Logs and Tickets — Replaces personal data and secrets in a text with typed placeholders and leaves every other character exactly as it was, so the text can go into a log, a ticket, a prompt or a shared document. Covers email addresses (also written out as "at" and "dot"), phone numbers in any format, IBANs, payment card numbers, national ID numbers such as the Bulgarian EGN, IP addresses, and secrets - passwords, API keys, tokens, the password inside a connection str…

## Output

Returns a JSON object containing the full SKILL.md file content (UTF-8 encoded), the skill's canonical name ('Redact PII and Secrets From Logs and Tickets'), version (e.g. 1.0.0), a SHA256 hash for integrity verification, a blockchain settlement receipt with transaction hash and settled status, and a re-download token and URL for future free retrieval of the same purchase.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "file": {
   "name": "SKILL.md",
   "content": "<the SKILL.md file>",
   "encoding": "utf-8"
  },
  "name": "Redact PII and Secrets From Logs and Tickets",
  "skill": "redact-sensitive",
  "sha256": "<sha256 of SKILL.md>",
  "receipt": {
   "tx": "0x<settlement transaction>",
   "settled": true
  },
  "version": "1.0.0",
  "redownload": {
   "url": "<api>/v1/purchases/<token>",
   "token": "<64 hex chars>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aiskills402-redact-sensitive-skill-md-file-purchase-b799fbe4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aiskills402.com](https://www.zero.xyz/host/api.aiskills402.com/llms.txt)
