{
  "format": "delx/intent-card/v1",
  "id": "json-object-rename-keys-api",
  "intent": "JSON Object Rename Keys for an agent workflow",
  "title": "JSON Object Rename Keys API for agents",
  "description": "JSON Object Rename Keys: JSON Object Rename Keys renames top-level keys using a caller mapping and reports collisions from bounded caller-supplied values without an external provider. Call JSON Object Rename Keys 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 Object Rename Keys as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Processes bounded caller-supplied data in memory only; it performs no file fetch, database write, code execution, or retention. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "JSON Object Rename Keys API",
    "JSON Object Rename Keys for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/json-object-rename-keys-api",
  "machine_url": "https://commerce.delx.ai/intents/json-object-rename-keys-api.json",
  "recommendation": {
    "tool_name": "util_json_object_rename_keys",
    "service_name": "JSON Object Rename Keys",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/json-object-rename-keys",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "object": {
          "type": "object",
          "maxProperties": 128,
          "additionalProperties": true,
          "description": "Object supplied to JSON Object Rename Keys; used only for this bounded calculation and processed in memory without retention."
        },
        "mapping": {
          "type": "object",
          "maxProperties": 128,
          "additionalProperties": true,
          "description": "Mapping supplied to JSON Object Rename Keys; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "object",
        "mapping"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "object": {
        "first_name": "Ada",
        "id": 1
      },
      "mapping": {
        "first_name": "firstName"
      }
    },
    "example_output": {
      "schema": "delx/util-json-object-rename-keys/v1",
      "operation": "data_batch:json_object_rename_keys",
      "status": "pass",
      "result": {
        "object": {
          "firstName": "Ada",
          "id": 1
        },
        "collisions": []
      },
      "evidence": {
        "input_sha256": "17b6ed7c6acbd73e4c278919af805585c725f614019bd98fd34297fddb0367ca",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/json-object-rename-keys -m POST -H 'x-delx-source: intent-card-json-object-rename-keys-api' --max-amount 0.001 -b '{\"object\":{\"first_name\":\"Ada\",\"id\":1},\"mapping\":{\"first_name\":\"firstName\"}}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-json-object-rename-keys-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/json-object-rename-keys"
  }
}
