{"uid":"cap_9okqHnXwhBuPO7efjbBVB","slug":"savings-ledger-record-quality-audit-secondary-measure-weighted-mean-3445b927","name":"Savings Ledger — Record Quality Audit + Secondary-Measure Weighted Mean","description":"Savings ledger — Record quality audit + Secondary-measure weighted mean: Record quality audit + 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-016?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_uPOuRQRO2vVUeZ8mgDzrk","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":"Audits data quality of savings ledger records and computes a weighted mean on a chosen numeric field (deposit_amount or withdrawal_amount) across up to 200 rows.","exampleAgentPrompt":"Can you run a record quality audit and compute a weighted mean on the deposit_amount field for these savings ledger rows? I have about 50 rows with row_id, instrument_group, date, deposit_amount, and withdrawal_amount — I need both reports in one call.","exampleUseCases":[{"title":"Monthly savings data quality check","prompt":"I have 120 rows of savings ledger data with deposits and withdrawals for October 2026 — can you audit them for data quality issues and also give me the weighted mean of deposit_amount across all the rows?"},{"title":"Grouped instrument savings analysis","prompt":"Run a record quality audit and weighted mean on withdrawal_amount for my savings ledger — I've got about 80 rows split across instrument groups A and B, and I want both reports together."},{"title":"Pre-reporting ledger validation","prompt":"Before I finalize our savings report, can you check these 200 ledger rows for data quality problems and compute the weighted mean of deposit_amount so I know the data is clean and I have the right summary stat?"}],"resultDescription":"Returns two analytical reports: (1) a record quality audit identifying issues such as missing values, out-of-range amounts, or malformed dates across the supplied rows; and (2) a weighted mean calculation for the selected numeric field (deposit_amount or withdrawal_amount). All computation is performed locally with no external lookups or live data.","failureModes":["More than 200 rows submitted — request rejected due to maxItems constraint","Missing required fields (row_id, instrument_group, date, deposit_amount, or withdrawal_amount) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Invalid field selector (not 'deposit_amount' or 'withdrawal_amount') — enum rejection","All values null for the selected field — weighted mean cannot be computed","Payment not included or insufficient USDC — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need both a data quality audit and a weighted mean statistic on savings ledger data in a single low-cost call. It is ideal for batch validation of up to 200 deposit/withdrawal records where no external data enrichment, live lookup, or prediction is needed — purely local analytical computation on supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:45:34.087Z","isFirstParty":false,"canonicalSlug":"savings-ledger-record-quality-audit-secondary-measure-weighted-mean-3445b927"}