{"uid":"cap_GzJLZOpwNF9nK2VivpSYn","slug":"treasury-supplied-balances-grouped-numeric-summary-adjacent-row-changes-a4d9b1bf","name":"Treasury Supplied Balances — Grouped Numeric Summary & Adjacent Row Changes","description":"Treasury supplied balances — Grouped numeric summary + Adjacent row changes: Grouped numeric summary + 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-091?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_PYNcJqZx3BE3Sn5oM_-Fn","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":"Analyzes treasury supplied balance records (opening and closing balances) by producing a grouped numeric summary and adjacent row change report for up to 200 rows.","exampleAgentPrompt":"I have a list of treasury balance records with opening and closing balances across different instrument groups — can you run a grouped numeric summary and show me how the closing_balance changes between adjacent rows? Here are up to 50 rows with fields: row_id, instrument_group, date, opening_balance, and closing_balance.","exampleUseCases":[{"title":"Daily treasury balance movement analysis","prompt":"I have 30 rows of daily treasury data for two instrument groups — 'govt-bonds' and 'money-market' — each with an opening and closing balance. Can you group the records and summarize the closing_balance statistics per group, and also show me the day-over-day changes in closing_balance between adjacent rows?"},{"title":"Opening balance drift across instrument groups","prompt":"I want to understand how opening balances are distributed across my treasury instrument groups. Here are 80 rows of supplied balance records with dates from 2025-01-01 to 2025-03-31 — can you produce a grouped numeric summary and adjacent row changes report for the opening_balance field?"},{"title":"Month-end closing balance audit report","prompt":"Can you analyze these 120 treasury balance records covering month-end dates across four instrument groups? I need a grouped numeric summary of closing_balance by instrument group, plus a report showing how each row's closing_balance changed compared to the previous row."}],"resultDescription":"Returns two analytical reports: (1) a grouped numeric summary breaking down the selected balance field (opening_balance or closing_balance) by instrument_group with aggregate statistics, and (2) an adjacent row changes report showing the delta between consecutive rows for the selected field. Both reports are computed locally from the submitted data with no external lookups.","failureModes":["Fewer than 1 or more than 200 rows submitted — request rejected","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) — validation error","Date strings not in YYYY-MM-DD format — pattern validation failure","Numeric values outside the ±1,000,000,000,000 range — schema rejection","Invalid field enum value (must be 'opening_balance' or 'closing_balance') — rejection","Payment of 0.01 USDC not successfully processed via x402 — unauthorized response"],"whenToPreferThis":"Choose this endpoint when you have treasury or financial balance data segmented by instrument group and need both a grouped statistical summary and row-to-row change analysis in a single call. It is ideal for batch offline analysis of supplied data (no live market data needed) and covers up to 200 rows per call at low cost. Prefer this over general-purpose analytics tools when your data specifically involves opening/closing balance fields organized by instrument group and date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:48:16.905Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-grouped-numeric-summary-adjacent-row-changes-a4d9b1bf"}