# Bearer Token Redaction API

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

Redacts bearer tokens from text, replacing them with masked placeholders, without storing any data.

## Facts

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

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 bearer-token-redaction-api-ddbab006 -d '<json body>'
```

Example prompt: Can you redact any bearer tokens from this text before I send it to the logging system: 'Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ1c2VyMTIzIn0.abc123xyz'?

## When to prefer this

Choose this endpoint when you need to sanitize text containing bearer tokens before logging, storage, or sharing, and require a stateless service that retains no data. Prefer the unpaid sandbox POST /v1/sandbox/redact-bearer for testing or non-production use. Use this paid endpoint when you need guaranteed processing in a production context.

## Known failure modes

- Text exceeds 100,000 character limit — request rejected with validation error
- Empty or missing text field — request fails with input validation error
- Malformed JSON body — returns parse error
- Network timeout if payload is very large

## How this service works

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

## Output

Returns the input text with all bearer tokens replaced by redacted placeholders (e.g. [REDACTED] or similar masked representations), leaving the rest of the text intact. No data is stored server-side.

## 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/bearer-token-redaction-api-ddbab006/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)
