{
  "format": "delx/intent-card/v1",
  "id": "sum-n-api",
  "intent": "Sum N for an agent workflow",
  "title": "Sum N API for agents",
  "description": "Sum of a numeric list. Call when you aggregate agent-held amounts without a spreadsheet. Returns sum and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.",
  "keywords": [
    "Sum N API",
    "Sum N for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/sum-n-api",
  "machine_url": "https://commerce.delx.ai/intents/sum-n-api.json",
  "recommendation": {
    "tool_name": "util_sum_n",
    "service_name": "Delx Sum N",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/sum-n",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "values": {
          "description": "Input field: values.",
          "type": "array"
        }
      },
      "required": [
        "values"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "values": [
        1.5,
        2,
        3.5
      ]
    },
    "example_output": {
      "schema": "delx/util-sum-n/v1",
      "value": 7,
      "count": 3
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/sum-n -m POST -H 'x-delx-source: intent-card-sum-n-api' --max-amount 0.001 -b '{\"values\":[1.5,2,3.5]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-sum-n-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/sum-n"
  }
}
