# SignalDesk AI – JSON Key Rename

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

Renames a specified key in a JSON object from one name to another, returning the modified object.

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/json/rename-key?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-key-rename-a3bd622d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NozmZwzFumO32w4bqG4gc

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-key-rename-a3bd622d -d '<json body>'
```

Example prompt: In my JSON object {"old_name": 1, "b": 2}, rename the key 'old_name' to 'new_name' and give me the updated object.

## When to prefer this

Choose this endpoint when you need a lightweight, single-operation JSON key rename without setting up a full transformation pipeline or writing custom code. Ideal for agent workflows that receive JSON from one service and must reformat it for another, especially when the only structural change needed is a key rename. At $0.001 USDC per call, it is cost-effective for moderate-volume reshaping tasks.

## Known failure modes

- Source key ('from') not found in the provided JSON object — returns an unchanged or error response
- Input 'data' is not a valid JSON object (e.g. array or primitive) — likely returns an error
- Missing required fields ('from', 'to', or 'data') — request validation error
- Key name exceeds 128-character limit — rejected by schema validation
- Payment not fulfilled (x402 payment required) — 402 response before processing

## 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 identical to the input except the specified source key has been renamed to the destination key. For example, input {"old": 1} with from='old' and to='new' yields {"new": 1}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "maxLength": 128,
   "description": "Destination key."
  },
  "data": {
   "description": "JSON object."
  },
  "from": {
   "type": "string",
   "maxLength": 128,
   "description": "Source key."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "new": 1
  }
 }
}
```

## More

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