# Creator Desk JSON Pretty-Print Utility

> Creator Desk JSON Pretty-Print Utility is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Formats and pretty-prints a JSON value with configurable options, returning a human-readable indented representation.

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/json-pretty?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/creator-desk-json-pretty-print-utility-6837c631
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hc8HxjdurKGnUwhdvsx_f

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 creator-desk-json-pretty-print-utility-6837c631 -d '<json body>'
```

Example prompt: Can you pretty-print this JSON for me so it's easier to read? Here's the raw value: {"name":"Alice","age":30,"active":true}

## When to prefer this

Choose this endpoint when an AI agent needs to transform a compact or minified JSON value into a human-readable, indented format on demand, especially in x402-enabled autonomous agent pipelines where micropayment-per-call billing is acceptable. Prefer this over doing local formatting when the agent environment lacks JSON serialization utilities or when consistent formatting output is needed as a paid utility step.

## Known failure modes

- Invalid or malformed JSON input may return an error or unexpected output
- Missing 'value' field may cause a 400-level error
- Options object with unsupported keys may be silently ignored or cause validation failure
- Payment failure via x402 protocol will block the request before processing
- Service downtime on Render free-tier host may cause timeouts or 503 errors

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object containing a 'result' field with the pretty-printed, human-readable version of the input JSON value, and an 'operation' field confirming 'json_pretty'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {},
  "options": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "json_pretty"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/creator-desk-json-pretty-print-utility-6837c631/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
