# AgentShelf URL Redaction

> AgentShelf URL Redaction is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Redacts (removes or masks) all URL matches found in a given text string, returning the sanitized text without storing any data.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/redact-url?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-url-redaction-e9795fac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lIjIWa74bRYGDHvF2FotZ

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-url-redaction-e9795fac -d '<json body>'
```

Example prompt: Redact all URLs from this text before I store it: 'Check out our new site at https://example.com and also visit http://promo.example.org/sale for deals!'

## When to prefer this

Choose this endpoint when you need a lightweight, stateless, privacy-respecting service to strip URLs from arbitrary text without storing any data. Prefer the free sandbox endpoint POST /v1/sandbox/redact-url first for testing; use this paid endpoint ($0.01 USDC) for production workloads or when the sandbox is unavailable.

## Known failure modes

- Empty or missing 'text' field returns a 400 validation error
- Text exceeding 100,000 characters is rejected
- Payment failure (x402) if USDC payment is not properly attached
- Network timeout if the request takes too long

## How this service works

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

## Output

Returns the input text with all URL occurrences replaced or removed (redacted), leaving the surrounding 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/agentshelf-url-redaction-e9795fac/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)
