{"uid":"cap_4zaub5bb5OKWUGPsgnw3V","slug":"treasury-supplied-balances-grouped-numeric-summary-numeric-interval-f20c9572","name":"Treasury Supplied Balances — Grouped Numeric Summary + Numeric Interval Filter","description":"Treasury supplied balances — Grouped numeric summary + Numeric interval filter: Grouped numeric summary + Numeric interval filter 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-088?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"},"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_hoKHkg3hQ6CBaQTo1mhvU","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 supplied treasury balance records (opening and closing) by computing grouped numeric summaries and filtering rows by a numeric interval, returning up to 2 analytical reports for up to 200 rows.","exampleAgentPrompt":"Can you group these treasury balance records by instrument_group and give me a numeric summary, then also filter for rows where the opening_balance is between 5 and 50? Here are 4 rows: row-1 group-a 2026-10-01 opening=10 closing=1, row-2 group-b 2026-10-02 opening=20 closing=2, row-3 group-a 2026-10-03 opening=15 closing=3, row-4 group-b 2026-10-04 opening=30 closing=4.","exampleUseCases":[{"title":"Monthly treasury balance group summary","prompt":"I have 150 rows of daily treasury balance records across three instrument groups. Can you group them by instrument_group and compute a numeric summary for the closing_balance field, and also filter to only rows where closing_balance is between 1000 and 500000?"},{"title":"Quarterly opening balance range analysis","prompt":"Here's my treasury data for Q3 — about 80 rows with opening and closing balances per instrument group. I want to see a grouped summary of opening_balance and also see which rows fall between a minimum of 0 and maximum of 250000 for opening_balance."},{"title":"Instrument group balance audit","prompt":"Can you analyze these 200 treasury supplied balance records — group them by instrument_group to get numeric summaries for the closing_balance, and run an interval filter to flag only records where closing_balance sits between -50000 and 0?"}],"resultDescription":"Returns up to 2 analytical reports: (1) a grouped numeric summary of the selected balance field broken down by instrument_group, and (2) a filtered subset of rows where the selected balance field falls within the specified [minimum, maximum] interval. Both reports are computed locally from the supplied row data, with no external data fetching.","failureModes":["More than 200 rows submitted — only up to 200 rows are supported per call","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) on any row causes validation failure","Invalid date format (must match YYYY-MM-DD pattern) causes rejection","minimum greater than maximum causes an empty or invalid interval filter result","Null values in the selected numeric field may be excluded from aggregation silently","Field enum value not matching 'opening_balance' or 'closing_balance' causes schema error"],"whenToPreferThis":"Choose this endpoint when you have treasury balance records (with opening and closing balances per instrument group and date) and need both a grouped statistical summary and a numeric range filter in a single call, without requiring live data lookup or external enrichment. It is well-suited for offline batch analytics on up to 200 rows of supplied financial data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:11.229Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-grouped-numeric-summary-numeric-interval-f20c9572"}