# agentshelf.syntexa.ch JWT Redaction

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

Redacts JWT tokens found within a text string, returning the text with JWTs replaced or masked, without storing any data.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/redact-jwt?utm_source=zero.xyz
- Price: $0.001/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-jwt-redaction-6f17a41a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PW77tzPoUgo8jTiFPDBXr

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-jwt-redaction-6f17a41a -d '<json body>'
```

Example prompt: Can you redact any JWT tokens from this text before I log it: 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c'?

## When to prefer this

Choose this endpoint when you need a simple, stateless, per-call JWT redaction from arbitrary text without building your own regex or parser. It is ideal for agents sanitizing logs, error messages, or API responses before displaying or storing them. Use the free sandbox endpoint POST /v1/sandbox/redact-jwt first for testing; fall back to this paid endpoint for production use where reliability matters.

## Known failure modes

- Text exceeds 100,000 character limit — returns validation error
- Empty or missing text field — returns validation error
- No JWTs present in text — returns text unchanged (not an error)
- Malformed request body — returns 400-level error
- Payment failure or insufficient USDC balance — returns 402 Payment Required

## How this service works

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

## Output

Returns the input text with any detected JWT tokens replaced or masked, preserving all other content. No data is retained server-side after the response.

## 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-jwt-redaction-6f17a41a/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)
