# SignalDesk AI – JSON Flatten

> SignalDesk AI – JSON Flatten 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).

Flattens a nested JSON value into a flat map of JSON Pointer paths to scalar values

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/json/flatten?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-flatten-4f6eb3a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xC1BmVygeGw21LajDoSUd

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-flatten-4f6eb3a3 -d '<json body>'
```

Example prompt: Can you flatten this nested JSON for me so I get a flat map of JSON Pointer paths to values? Here's the data: {"user":{"name":"Ana","scores":[1,2]}}

## When to prefer this

Choose this endpoint when you need to decompose a nested JSON value into a flat, path-addressable representation using standard JSON Pointer notation. Prefer it over manual traversal code when running in an agent context where you need a one-call solution for normalizing arbitrary JSON depth into scalar key-value pairs.

## Known failure modes

- Overly large or deeply recursive JSON may exceed bounded execution limits and return an error
- Malformed or non-JSON input returns a parsing error
- Circular references in input JSON may cause processing failures
- Input exceeding size quota returns a quota-exceeded error

## 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 with a 'pointers' field mapping each JSON Pointer path (e.g. '/items/0', '/user/name') to its corresponding scalar leaf value from the input structure

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pointers": {
   "/items/0": 1,
   "/items/1": 2,
   "/user/name": "Ana"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-json-flatten-4f6eb3a3/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)
