{"uid":"cap_6YYYIlccXOUHbiE4oooyc","slug":"treasury-supplied-balances-exact-row-deduplication-explicit-missing-95379a00","name":"Treasury Supplied Balances — Exact Row Deduplication + Explicit Missing-Value Fill","description":"Treasury supplied balances — Exact row deduplication + Explicit missing-value fill: Exact row deduplication + Explicit missing-value fill 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-054?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"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_Fc92b0vDegH2BTWQNd01G","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":"Deduplicates exact duplicate rows and fills missing opening/closing balance values in treasury supplied balance records using zero, mean, or median imputation.","exampleAgentPrompt":"I have a dataset of treasury supplied balance records with some duplicate rows and null closing_balance values — can you deduplicate the exact duplicates and fill the missing closing_balance values using median imputation? Here are up to 200 rows with row_id, instrument_group, date, opening_balance, and closing_balance fields.","exampleUseCases":[{"title":"Fix duplicate treasury instrument records","prompt":"I've got a treasury balance dataset with some fully duplicated rows across instrument groups — can you strip out the exact duplicates and give me a clean set of up to 200 records? The fields are row_id, instrument_group, date, opening_balance, and closing_balance."},{"title":"Impute missing opening balances with mean","prompt":"My treasury supplied balance data has some null opening_balance values — can you fill those in using the mean of the non-null values, and also deduplicate any exact duplicate rows? I'll send up to 150 rows with row_id, instrument_group, and date."},{"title":"Zero-fill missing closing balances before reporting","prompt":"Before I run my end-of-month treasury report, can you clean my balance records by removing exact row duplicates and replacing any missing closing_balance values with zero? I have about 80 rows covering multiple instrument groups across October 2026."}],"resultDescription":"Returns two independent analytical reports: (1) a deduplicated version of the input rows with exact duplicate records removed, and (2) the dataset with missing values in the specified balance field (opening_balance or closing_balance) explicitly filled using the chosen method (zero, mean, or median). Both reports operate on the same input batch of up to 200 rows using local analytical engines with no external data lookup.","failureModes":["Input array exceeds 200 rows — request will be rejected","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) on any row causes validation error","Invalid date format (not YYYY-MM-DD) causes schema rejection","Numeric values outside ±1,000,000,000,000 are rejected","Invalid method enum value (not zero/mean/median) causes error","Invalid field enum value (not opening_balance/closing_balance) causes error","Empty input array (minItems: 1) is rejected"],"whenToPreferThis":"Choose this endpoint when you have treasury supplied balance data (opening and closing balances by instrument group and date) that needs both exact row deduplication and explicit missing-value imputation in a single call. It is ideal for pre-reporting data cleaning workflows where you need two coordinated reports — a deduplicated view and a filled view — from the same batch of up to 200 rows, without any external lookup or live data dependency. Prefer this over general-purpose data cleaning tools when your data specifically follows the treasury balance schema (row_id, instrument_group, date, opening_balance, closing_balance).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:08:11.857Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-exact-row-deduplication-explicit-missing-95379a00"}