# agentshelf.syntexa.ch PEM Redaction

> agentshelf.syntexa.ch PEM Redaction is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-29).

Finds and redacts PEM-encoded certificate/key blocks from text, returning the sanitized output without storing any data

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/redact-pem?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-syntexa-ch-pem-redaction-8e736f6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z5ATxzm7vgnzZjgHb7vfY

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 agentshelf-syntexa-ch-pem-redaction-8e736f6f -d '<json body>'
```

Example prompt: Can you scrub any PEM certificate or private key blocks out of this text before I log it? Here's the content: '-----BEGIN CERTIFICATE----- MIIBIjANBgkq... -----END CERTIFICATE----- some other config data here'

## When to prefer this

Use this endpoint when you need a lightweight, stateless, per-call PEM block scrubber and do not want to implement regex-based PEM detection yourself. Prefer the free sandbox endpoint POST /v1/sandbox/redact-pem for testing. Choose this paid endpoint when operating in production with real sensitive data. It is ideal for pipelines that process config files, log output, or API responses that may inadvertently contain certificate or key material.

## Known failure modes

- Text exceeds 100,000 character limit — returns a validation error
- Empty or missing text field — returns a 400 error
- No PEM blocks found — returns text unchanged (not an error)
- Payment not included or insufficient — returns 402 Payment Required

## How this service works

Call when an agent needs pem matches redacted in text. Nothing is stored. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/redact-pem first.

## Output

Returns the input text with all PEM-encoded blocks (e.g. -----BEGIN CERTIFICATE-----, -----BEGIN RSA PRIVATE KEY-----, -----BEGIN PRIVATE KEY-----, etc.) redacted or removed. No data is stored server-side. The response is the cleaned text string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-syntexa-ch-pem-redaction-8e736f6f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
