# JSON Pointer Unescape

> JSON Pointer Unescape is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-16).

Unescapes a single JSON Pointer reference token by reversing RFC 6901 escape sequences (~1 → / and ~0 → ~)

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-pointer-unescape?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-pointer-unescape-c65c2157
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xn7Lm66PtkT4RoMqx3WB8

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 json-pointer-unescape-c65c2157 -d '<json body>'
```

Example prompt: Unescape this JSON Pointer reference token for me: 'foo~1bar~0baz' — I need the plain decoded string before passing it to a downstream tool.

## When to prefer this

Choose this endpoint when an agent needs to decode a single RFC 6901 JSON Pointer reference token (reversing ~0 and ~1 escape sequences) in a deterministic, stateless, in-memory operation with no external dependencies. Prefer it over general-purpose string replacement when a versioned, auditable result contract is needed to satisfy downstream tool contracts.

## Known failure modes

- Token exceeds 8192 character limit — request rejected with validation error
- Malformed or incomplete escape sequence (e.g. lone ~) — may return validation finding or error
- Empty token input — may return empty result or validation error
- Non-string token type — schema validation failure

## How this service works

JSON Pointer Unescape: JSON Pointer Unescape unescapes one JSON Pointer reference token from bounded caller-supplied values without an external provider. Call JSON Pointer Unescape before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Pointer Unescape as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base.…

## Output

Returns a versioned deterministic JSON object containing the unescaped (decoded) token string, normalized values, transformation counts, and a versioned result contract confirming the bounded in-memory operation completed successfully.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "maxLength": 8192,
   "description": "Token supplied to JSON Pointer Unescape; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "token": "a/b~c"
  },
  "schema": "delx/util-json-pointer-unescape/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "46c43579205c2a5549ac91d6bc422ec23b4a6af47662491508682b3d6c0ea9a8",
   "external_calls": 0
  },
  "operation": "data_batch:json_pointer_unescape"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-pointer-unescape-c65c2157/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
