{"uid":"cap_QORGutJQxR-5H7VaGqnfG","slug":"treasury-supplied-balances-numeric-interval-filter-iqr-outlier-flags-613c2202","name":"Treasury Supplied Balances — Numeric Interval Filter + IQR Outlier Flags","description":"Treasury supplied balances — Numeric interval filter + IQR outlier flags: Numeric interval filter + IQR outlier flags 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-130?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_jWaiAmlQDWC5aUGYps1C-","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 treasury supplied balance records (opening_balance or closing_balance) within a numeric interval and flags statistical outliers using IQR analysis, returning up to 2 analytical reports for up to 200 rows.","exampleAgentPrompt":"I have 150 rows of treasury balance records with opening and closing balances — can you filter them to only show closing_balance values between 5000 and 500000 and flag any IQR outliers across the dataset? Here are the rows with row_id, instrument_group, date, opening_balance, and closing_balance fields.","exampleUseCases":[{"title":"Outlier detection in daily closing balances","prompt":"I've got 80 rows of daily treasury data — can you filter closing_balance records between 10000 and 2000000 and flag any that are statistical outliers using IQR? Each row has a row_id, instrument_group, date, opening_balance, and closing_balance."},{"title":"Opening balance range audit by instrument group","prompt":"Here are 120 rows of treasury supplied balances across multiple instrument groups. Can you filter opening_balance values between -50000 and 300000 and tell me which ones are flagged as IQR outliers?"},{"title":"Anomaly screening before treasury reporting","prompt":"Before I finalize our treasury report, can you run IQR outlier detection on these 200 rows of balance data — filter closing_balance between 0 and 1000000 and flag anything statistically unusual so I can review it?"}],"resultDescription":"Returns up to 2 analytical reports: one identifying records whose selected balance field (opening_balance or closing_balance) falls within the specified numeric interval [minimum, maximum], and one flagging statistical outliers within that dataset using the IQR (interquartile range) method. Results cover up to 200 input rows and are computed locally with no external data lookup.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required row fields (row_id, instrument_group, date, opening_balance, closing_balance) — validation error","Invalid date format (must match YYYY-MM-DD pattern) — schema validation failure","Numeric values outside allowed range (-1e12 to 1e12) — rejected","minimum greater than maximum — may return empty filtered set","Empty rows array — rejected (minItems: 1)","Payment not included or insufficient (requires 0.01 USDC via x402) — 402 response"],"whenToPreferThis":"Use this endpoint when you have treasury-specific balance data (opening/closing balances per instrument group) and need both a numeric interval filter and IQR-based outlier detection in a single low-cost call. Ideal for pre-reporting data quality checks, anomaly screening, or filtering large sets of treasury records without setting up a full analytics pipeline. Not suitable for live market data lookups, predictive modeling, or datasets larger than 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:12.168Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-numeric-interval-filter-iqr-outlier-flags-613c2202"}