{"uid":"cap_IkTkvzy1fhklWdVabAxrw","slug":"savings-ledger-numeric-interval-filter-trailing-mean-series-0e533fa0","name":"Savings Ledger — Numeric Interval Filter + Trailing Mean Series","description":"Savings ledger — Numeric interval filter + Trailing mean series: Numeric interval filter + Trailing mean series 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-126?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_-mNKYcd5-3aEQQpes9ntN","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":"Filters savings ledger rows by a numeric interval on deposit or withdrawal amounts, and computes a trailing moving-average series over the same field, returning both reports in one call.","exampleAgentPrompt":"I have 50 rows of savings ledger data with deposit_amount and withdrawal_amount columns — can you filter to only rows where deposit_amount is between 100 and 5000, and also compute a trailing mean of deposit_amount with a window of 3 rows?","exampleUseCases":[{"title":"Monthly savings deposit range audit","prompt":"Here are 120 rows of my savings ledger for this year. Filter them to only show records where deposit_amount is between 500 and 10000, and give me a trailing mean of deposit_amount with a window of 5 so I can see the smoothed trend."},{"title":"Withdrawal spike smoothing for budget review","prompt":"I've got my quarterly savings ledger data — 80 rows total. Can you apply a trailing mean with window 4 on withdrawal_amount and also filter to rows where withdrawal_amount falls between 200 and 3000?"},{"title":"Instrument group savings analysis","prompt":"Run both reports on my savings ledger — filter deposit_amount between 0 and 2500 and compute a 2-row trailing mean on deposit_amount. I have 40 rows across two instrument groups: group-a and group-b."}],"resultDescription":"Returns two independent analytical reports based on the supplied savings ledger rows: (1) a numeric interval-filtered record set showing only rows where the chosen field (deposit_amount or withdrawal_amount) falls within the specified minimum–maximum range, and (2) a trailing moving-average series computed over the same field using the specified window size. Both reports are based solely on the user-supplied data with no external lookups.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — exceeds maximum limit","Invalid date format (not YYYY-MM-DD) — validation error","Window size outside 2–200 range — parameter error","Field value not in allowed enum (deposit_amount, withdrawal_amount) — validation error","Missing required fields (row_id, instrument_group, date) on any row — schema error","Minimum greater than maximum — logically invalid interval, may return empty filter results"],"whenToPreferThis":"Choose this endpoint when you have up to 200 savings ledger rows and need both a numeric range filter and a trailing moving average computed together in a single call for $0.01 USDC. It is purpose-built for savings ledger records with deposit_amount and withdrawal_amount fields. Prefer it over general analytics platforms when you want a lightweight, cost-effective, offline computation on pre-supplied data without any external data fetching, live market lookup, or professional financial assessment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T12:41:38.633Z","isFirstParty":false,"canonicalSlug":"savings-ledger-numeric-interval-filter-trailing-mean-series-0e533fa0"}