{"uid":"cap_oZs1M7Zr0LEk8o38S-WvE","slug":"treasury-supplied-balances-duplicate-key-report-adjacent-row-changes-a783a63e","name":"Treasury Supplied Balances — Duplicate Key Report + Adjacent Row Changes","description":"Treasury supplied balances — Duplicate key report + Adjacent row changes: Duplicate key report + Adjacent row changes 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-062?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_Tl_Wyd4_aRvuAoWBloPaX","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":"Runs two local analytical reports on treasury balance data: a duplicate key detector and an adjacent-row change analysis for opening_balance or closing_balance fields.","exampleAgentPrompt":"Check my treasury balance data for duplicate row IDs and show me how the opening_balance changes between adjacent rows — here are up to 200 rows with row_id, instrument_group, date, opening_balance, and closing_balance fields.","exampleUseCases":[{"title":"Duplicate entry audit for treasury records","prompt":"I've got a set of treasury balance records with row IDs, dates, and instrument groups — can you run a duplicate key report on them to find any rows that share the same identifier? Here are the records with opening and closing balances."},{"title":"Adjacent row change analysis for closing balances","prompt":"Run an adjacent row changes analysis on my treasury balance dataset using the closing_balance field — I want to see how values shift between consecutive rows across these instrument groups and dates."},{"title":"Batch data quality check before reconciliation","prompt":"Before I reconcile these treasury records, can you check for duplicate row IDs and show me all the row-over-row changes in opening_balance? I have about 150 rows with date, instrument_group, opening_balance, and closing_balance."}],"resultDescription":"Two independent reports: (1) a duplicate key report identifying rows that share the same row_id within the submitted dataset, and (2) an adjacent row changes report showing how the selected balance field (opening_balance or closing_balance) differs between consecutive rows, all computed locally on the supplied data with no external lookups.","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) fails pattern validation","Numeric values outside ±1,000,000,000,000 are rejected","Empty rows array fails minItems constraint","Invalid field enum value (not opening_balance or closing_balance) causes rejection"],"whenToPreferThis":"Choose this endpoint when you need to audit treasury-supplied balance datasets for duplicate row identifiers and sequential value changes in a single paid call. It is ideal for pre-reconciliation data quality checks on finance datasets up to 200 rows where no external data enrichment or live lookup is needed. Prefer this over general-purpose data tools when you need both a duplicate key scan and adjacent-row delta report bundled together at a fixed micro-payment cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:10.143Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-duplicate-key-report-adjacent-row-changes-a783a63e"}