{"uid":"cap_qP6X-kYzvYmfw2Vvv-mqu","slug":"treasury-supplied-balances-string-normalisation-iqr-outlier-flags-bf85553e","name":"Treasury Supplied Balances — String Normalisation + IQR Outlier Flags","description":"Treasury supplied balances — String normalisation + IQR outlier flags: String normalisation + 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-032?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_VShowYJ8FExfeWQm885Z8","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":"Normalises string fields and flags IQR-based outliers in treasury balance records (opening_balance and closing_balance) for up to 200 supplied rows.","exampleAgentPrompt":"Can you run string normalisation and IQR outlier detection on my treasury balance records? I have rows with opening_balance and closing_balance fields — here are up to 200 rows with their row_id, instrument_group, and date — please flag any outliers in the opening_balance field.","exampleUseCases":[{"title":"Daily treasury reconciliation outlier check","prompt":"I have 150 rows of daily treasury balance data with opening and closing figures for instrument groups like 'gov-bonds' and 'cash'. Can you normalise the strings and flag any IQR outliers in the closing_balance field so I can investigate anomalies before sign-off?"},{"title":"Finance audit data quality pass","prompt":"Before submitting our monthly treasury report, can you run a string normalisation and IQR outlier check on these 80 balance records — row IDs row-001 through row-080, dated 2025-01-01 to 2025-01-31 — and flag any suspicious opening_balance values?"},{"title":"Automated pipeline balance validation","prompt":"In our nightly data pipeline, after we load treasury balances, can you check these 200 rows for string inconsistencies and flag IQR outliers in the opening_balance column so we can route any flagged rows to manual review?"}],"resultDescription":"Returns two analytical reports per call: (1) a string normalisation report covering the instrument_group and date fields, and (2) IQR outlier flag report for the selected balance field (opening_balance or closing_balance), identifying which row IDs contain statistically anomalous values based on interquartile range analysis. No external lookups or predictions are made; all analysis is performed locally on the supplied data.","failureModes":["Fewer than 1 row or more than 200 rows supplied — schema validation error","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) — request rejected","Date not matching YYYY-MM-DD pattern — validation error","Balance values outside ±1,000,000,000,000 — schema rejection","Invalid field enum value (not 'opening_balance' or 'closing_balance') — error returned","All balance values identical — IQR is zero, no outliers flagged (degenerate distribution)"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of treasury balance records and need both string normalisation and IQR-based outlier detection in a single low-cost call ($0.01 USDC). It is ideal for pre-submission data quality checks, nightly pipeline validation, or audit preparation where no external data lookup or predictive modelling is required — only local statistical analysis on your supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:37.111Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-string-normalisation-iqr-outlier-flags-bf85553e"}