{"uid":"cap_2wfb1Du9DYy1TpL_Rbc39","slug":"delx-sum-n-19e43aee","name":"Delx Sum N","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.","url":"https://api.delx.ai/api/v1/x402/sum-n","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","description":"Input field: values."}}},"responseSchema":{"type":"json","example":{"count":3,"value":7,"schema":"delx/util-sum-n/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0DN1zzyrUQYHqN8iOmH8t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the sum and count of a numeric list provided as JSON input","exampleAgentPrompt":"Add up these numbers for me: [12.50, 7.00, 34.99, 5.25] and tell me the total and how many there are.","exampleUseCases":[{"title":"Totaling agent expense amounts","prompt":"I have a list of expenses my agent logged this week — [42.10, 18.75, 9.99, 130.00, 55.50] — can you sum them up and tell me the total and count?"},{"title":"Aggregating inventory quantities","prompt":"Here are the stock counts across our warehouses: [200, 150, 320, 75, 410]. What's the total inventory and how many warehouse entries are there?"},{"title":"Summing collected scores","prompt":"I've got a batch of scores from our user survey: [8, 7, 9, 6, 10, 7, 8]. Add them all up and tell me the total and count so I can calculate the average myself."}],"resultDescription":"Returns the arithmetic sum of all numeric values in the input array along with the count of elements processed. No data is retained after the call.","failureModes":["Empty array input may return zero for sum and zero for count","Non-numeric values in the array may cause a validation error or be skipped","Malformed JSON body returns an error response","Payment failure via x402 prevents the call from being processed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to aggregate a list of numbers at runtime without access to a spreadsheet, database, or local computation environment. It is ideal for lightweight, stateless arithmetic over agent-held data where a full data pipeline is overkill and privacy matters since no data is retained.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:46.805Z","isFirstParty":false}