{"uid":"cap_v2qRyuz5kVuTrLqstSi4a","slug":"treasury-supplied-balances-duplicate-key-report-date-by-category-pivot-20eaf915","name":"Treasury Supplied Balances — Duplicate Key Report + Date by Category Pivot","description":"Treasury supplied balances — Duplicate key report + Date by category pivot: Duplicate key report + Date by category pivot 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-068?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_ZU6YyBATZkTxnVbvMMsBP","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 records to produce a duplicate key report and a date-by-category pivot table for opening or closing balances.","exampleAgentPrompt":"Can you run a duplicate key check and a date-by-category pivot on my treasury balance data? I have rows with row_id, instrument_group, date, opening_balance, and closing_balance — up to 50 rows — and I want to analyze the opening_balance field.","exampleUseCases":[{"title":"Audit treasury data for duplicate IDs","prompt":"I have a list of about 80 treasury balance records with row IDs, instrument groups, dates, and opening and closing balances. Can you run a duplicate key report on them so I can spot any repeated row IDs, and also pivot the opening_balance by date and instrument group?"},{"title":"Pivot closing balances by instrument group","prompt":"Here are 120 rows of treasury balance data — each has a row_id, instrument_group, date, opening_balance, and closing_balance. Please run both a duplicate key check and a date-by-category pivot on the closing_balance field so I can see how each instrument group performed over time."},{"title":"Validate uniqueness before financial reporting","prompt":"Before I submit my treasury report, I need to confirm there are no duplicate row IDs in my 40-row dataset and also see a pivot of opening balances by date and category. Can you run those two reports on my supplied treasury balance rows?"}],"resultDescription":"Returns two reports: (1) a duplicate key report identifying any repeated row_id values across the submitted records, and (2) a date-by-category pivot table showing the selected balance field (opening_balance or closing_balance) broken down by date and instrument_group. Up to 200 input rows supported per call.","failureModes":["Input array exceeds 200 rows — request rejected with validation error","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) cause schema validation failure","Date values not matching YYYY-MM-DD pattern result in validation error","Balance values outside ±1,000,000,000,000 range rejected","Empty rows array rejected (minItems: 1)","Invalid field enum value (not opening_balance or closing_balance) causes error","Payment not received or insufficient USDC balance blocks execution"],"whenToPreferThis":"Choose this endpoint when you have user-supplied treasury balance records and need both a duplicate row-ID audit and a date-by-instrument-group pivot in a single low-cost call. Ideal for pre-reporting data quality checks on datasets up to 200 rows where no external data lookup or prediction is needed — all computation is local and deterministic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:48:19.981Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-duplicate-key-report-date-by-category-pivot-20eaf915"}