{"uid":"cap_hHx8Cos-Z1WEs8Jji8G6T","slug":"savings-ledger-exact-row-deduplication-secondary-measure-weighted-mean-ded7c82f","name":"Savings Ledger — Exact Row Deduplication + Secondary-Measure Weighted Mean","description":"Savings ledger — Exact row deduplication + Secondary-measure weighted mean: Exact row deduplication + Secondary-measure weighted mean for supplied savings ledger records (deposit_amount, withdrawal_amount). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-finance-23-051?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","deposit_amount","withdrawal_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"deposit_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80},"withdrawal_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","deposit_amount":10,"instrument_group":"group-a","withdrawal_amount":1},{"date":"2026-10-02","row_id":"row-2","deposit_amount":20,"instrument_group":"group-b","withdrawal_amount":2},{"date":"2026-10-03","row_id":"row-3","deposit_amount":15,"instrument_group":"group-a","withdrawal_amount":3},{"date":"2026-10-04","row_id":"row-4","deposit_amount":30,"instrument_group":"group-b","withdrawal_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["deposit_amount","withdrawal_amount"],"type":"string","default":"deposit_amount"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wHzKQhd3A-pvXSn3zoN7t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deduplicates savings ledger rows and computes a secondary-measure weighted mean over deposit_amount or withdrawal_amount fields for up to 200 rows, returning two analytical reports per call.","exampleAgentPrompt":"I have a batch of savings ledger records with deposits and withdrawals — can you deduplicate the exact duplicate rows and compute a weighted mean on the deposit_amount field? Here are my rows: row-1 2026-10-01 group-a deposit 10 withdrawal 1, row-2 2026-10-02 group-b deposit 20 withdrawal 2, row-3 2026-10-03 group-a deposit 15 withdrawal 3.","exampleUseCases":[{"title":"Deduplicating bank deposit records","prompt":"I've exported 150 rows of savings ledger data with some exact duplicates — can you clean out the duplicate rows and give me a weighted mean on the deposit_amount? Here's the full list with row IDs, dates, instrument groups, and both deposit and withdrawal amounts."},{"title":"Weighted withdrawal analysis by group","prompt":"I need two reports on my savings ledger: first deduplicate any exact duplicate rows, then calculate a secondary-measure weighted mean on the withdrawal_amount. I have about 80 records spread across group-a and group-b with dates and amounts."},{"title":"Pre-reconciliation ledger cleanup","prompt":"Before I reconcile our accounts, can you run deduplication and a weighted mean on these 200 savings ledger rows? Use the deposit_amount as the field for the weighted mean. I'll pass you all the row IDs, dates, instrument groups, and figures."}],"resultDescription":"Returns two analytical reports per call: (1) an exact row deduplication report identifying and removing duplicate savings ledger records, and (2) a secondary-measure weighted mean computed over the selected field (deposit_amount or withdrawal_amount). All processing is performed locally on the supplied data with no external lookups or predictions.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, instrument_group, date, deposit_amount, withdrawal_amount) causes rejection","Invalid date format (not YYYY-MM-DD) triggers a schema validation error","Providing an invalid field enum value (not deposit_amount or withdrawal_amount) returns an error","Empty rows array (minItems:1 not met) causes a 400-level error","Extreme numeric values outside ±1,000,000,000,000 are rejected"],"whenToPreferThis":"Choose this endpoint when you need both exact row deduplication and a secondary-measure weighted mean on savings ledger data (deposits and withdrawals) in a single low-cost call. It is ideal for small-to-medium datasets (up to 200 rows) where all data is supplied directly and no live data fetching, prediction, or external validation is required. At $0.01 USDC for two reports, it is cost-efficient for routine ledger cleanup and statistical summarization tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:36:46.566Z","isFirstParty":false,"canonicalSlug":"savings-ledger-exact-row-deduplication-secondary-measure-weighted-mean-ded7c82f"}