# SignalDesk AI JSON Pretty-Printer

> SignalDesk AI JSON Pretty-Printer is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Accepts a JSON value and returns a pretty-printed, key-sorted JSON string via a paid x402 API endpoint

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/json/pretty?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-json-pretty-printer-422a4bec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vGx8HQ7BoIsY1C06MyxVE

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 signaldesk-ai-json-pretty-printer-422a4bec -d '<json body>'
```

Example prompt: Can you pretty-print and sort this JSON for me: {"b":2,"a":1,"c":{"z":9,"m":3}}?

## When to prefer this

Choose this endpoint when you need a simple, deterministic, paid JSON formatting operation — particularly when you want keys sorted alphabetically and consistent indentation. Suitable for quick developer tooling tasks, log normalization, or documentation prep. Prefer this over free local formatters when operating within an x402 micropayment workflow or when you need a remote, stateless transformation step in an agent pipeline.

## Known failure modes

- Malformed or non-JSON input in the data field may return an error or unexpected output
- Deeply nested or very large JSON objects may be truncated due to bounded execution limits
- Rate limits or free quota exhaustion may result in payment rejection or 402 errors
- Non-object JSON values (arrays, primitives) may produce unexpected formatting behavior

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object containing a 'text' field with the input JSON reformatted as a pretty-printed, indented, and alphabetically key-sorted string (e.g. {"text":"{\n  \"a\": 1,\n  \"b\": 2\n}"})

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value; bounded structure."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "{\n  \"b\": 2,\n  \"a\": 1\n}"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-json-pretty-printer-422a4bec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
