{"uid":"cap_Dhkock7yu5NQxVEXHgnAf","slug":"treasury-supplied-balances-duplicate-key-report-daily-sum-series-a989a41d","name":"Treasury Supplied Balances — Duplicate Key Report + Daily Sum Series","description":"Treasury supplied balances — Duplicate key report + Daily sum series: Duplicate key report + Daily sum series 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-060?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_vJHHJwn3pLve2LYc4BSgT","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 user-supplied treasury balance rows to produce a duplicate key report and a daily sum time series for opening or closing balances, using local analytical engines with no external data access.","exampleAgentPrompt":"Can you check these treasury balance records for duplicate row IDs and also give me a daily sum series for opening_balance? I have rows with date, row_id, instrument_group, opening_balance, and closing_balance — up to 200 rows.","exampleUseCases":[{"title":"Treasury data quality audit","prompt":"I have a set of treasury balance records with row IDs, dates, instrument groups, opening and closing balances — can you run a duplicate key check on them and tell me which row_ids appear more than once?"},{"title":"Daily opening balance aggregation","prompt":"Take my treasury supplied balance data — around 150 rows covering Q4 — and give me a daily sum series for opening_balance so I can see how totals shift day by day."},{"title":"Closing balance reconciliation by date","prompt":"I need to reconcile my closing_balance figures across instrument groups by date. Can you run the daily sum series report on my closing_balance field for these treasury records?"}],"resultDescription":"Returns two independent reports: (1) a duplicate key report listing any row_id values that appear more than once in the supplied rows, and (2) a daily sum series aggregating the selected field (opening_balance or closing_balance) by date across all supplied rows. Both reports are computed locally from the user-supplied data, with no external lookups.","failureModes":["Missing required fields (row_id, date, instrument_group, opening_balance, closing_balance) cause validation errors","Date strings not matching YYYY-MM-DD pattern are rejected","More than 200 rows submitted exceeds the row limit and is rejected","Numeric values outside the ±1,000,000,000,000 range fail schema validation","Empty rows array is rejected (minItems: 1)","Invalid field enum value (not opening_balance or closing_balance) causes an error"],"whenToPreferThis":"Choose this endpoint when you have user-supplied treasury balance records and need to simultaneously (1) identify duplicate row identifiers and (2) compute a daily aggregated time series for either opening or closing balances, all within a single low-cost call. Ideal for data quality audits and daily reconciliation tasks on datasets up to 200 rows where no external data source or live market lookup is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:37.451Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-duplicate-key-report-daily-sum-series-a989a41d"}