{"uid":"cap_nDkIpshPgJ0yE6Vvn22FM","slug":"treasury-supplied-balances-numeric-distribution-adjacent-row-changes-811b9e20","name":"Treasury Supplied Balances — Numeric Distribution & Adjacent Row Changes","description":"Treasury supplied balances — Numeric distribution + Adjacent row changes: Numeric distribution + Adjacent row changes for supplied treasury supplied balances records (opening_balance, closing_balance). 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-16-077?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","opening_balance","closing_balance"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"closing_balance":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"opening_balance":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","closing_balance":1,"opening_balance":10,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","closing_balance":2,"opening_balance":20,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","closing_balance":3,"opening_balance":15,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","closing_balance":4,"opening_balance":30,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["opening_balance","closing_balance"],"type":"string","default":"opening_balance"}}},"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_FS1boeFYsoa0JIk7ltEEn","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":"Computes numeric distribution statistics and adjacent row change analysis for treasury supplied balance records (opening_balance and closing_balance) across up to 200 rows.","exampleAgentPrompt":"I have treasury balance records for several instrument groups — can you run a numeric distribution analysis plus adjacent row change report on the closing_balance field? Here are the rows: [{\"row_id\":\"r1\",\"instrument_group\":\"bonds\",\"date\":\"2025-01-01\",\"opening_balance\":500000,\"closing_balance\":490000},{\"row_id\":\"r2\",\"instrument_group\":\"bonds\",\"date\":\"2025-01-02\",\"opening_balance\":490000,\"closing_balance\":485000}].","exampleUseCases":[{"title":"Treasury balance volatility audit","prompt":"I need to audit how much our closing_balance is shifting day-to-day across our bond and equity instrument groups — can you run a numeric distribution and adjacent row change analysis on these 50 treasury records so I can spot unusual swings?"},{"title":"Opening balance distribution summary","prompt":"Can you analyze the distribution of opening_balance values across these treasury rows for Q1 2025 — I want to see percentiles, spread, and how each row's value compares to its neighbor?"},{"title":"Multi-instrument group balance comparison","prompt":"We track three instrument groups in our treasury — bills, notes, and bonds. Here are 120 rows of daily balance data. Please run the numeric distribution and row-to-row change reports on the closing_balance field so we can compare stability across groups."}],"resultDescription":"Returns two analytical reports: (1) a numeric distribution breakdown (e.g. min, max, mean, percentiles, histogram buckets) for the selected balance field across all submitted rows, and (2) an adjacent row change series showing the delta between consecutive rows' balance values, keyed by row_id and date.","failureModes":["Fewer than 1 row submitted — request rejected","More than 200 rows submitted — request rejected with row limit error","Invalid date format (not YYYY-MM-DD) — validation error","Balance values outside ±1,000,000,000,000 range — validation error","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) — schema error","Invalid field enum value (not 'opening_balance' or 'closing_balance') — validation error","Payment not included or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you have structured treasury balance records and need both statistical distribution insights and sequential change detection in a single low-cost call. It is ideal for finance teams analyzing daily or periodic balance snapshots across multiple instrument groups without needing live market data or external lookups. Prefer it over generic statistics tools when your data matches the treasury supplied balance schema with opening and closing balance fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:52:05.715Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-numeric-distribution-adjacent-row-changes-811b9e20"}