{"uid":"cap_u9Jg-FLAqbtemZB959s7X","slug":"payables-scheduling-secondary-measure-weighted-mean-keyed-dataset-3b59c122","name":"Payables Scheduling — Secondary-Measure Weighted Mean + Keyed Dataset Comparison","description":"Payables scheduling — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied payables scheduling records (due_amount, paid_amount). 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-21-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","due_amount","paid_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"due_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"paid_amount":{"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","due_amount":10,"paid_amount":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","due_amount":20,"paid_amount":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","due_amount":15,"paid_amount":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","due_amount":30,"paid_amount":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["due_amount","paid_amount"],"type":"string","default":"due_amount"},"other":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","due_amount","paid_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"due_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"paid_amount":{"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","due_amount":10,"paid_amount":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","due_amount":21,"paid_amount":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","due_amount":17,"paid_amount":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","due_amount":33,"paid_amount":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":0}}},"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_yT1cdoXRvYNj7q0LGyJsJ","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":"Computes a secondary-measure weighted mean and performs a keyed dataset comparison on up to 200 payables scheduling records (due_amount, paid_amount), returning two analytical reports.","exampleAgentPrompt":"I have two sets of payables scheduling records — a primary set and a comparison set, each up to 200 rows with due_amount and paid_amount fields — can you compute the secondary-measure weighted mean of due_amount and also run a keyed comparison between the two datasets?","exampleUseCases":[{"title":"Vendor payment variance analysis","prompt":"I have this month's payables schedule with rows for due_amount and paid_amount grouped by instrument — compare it against last month's dataset and give me the weighted mean of due_amount so I can see where the biggest variances are."},{"title":"AP reconciliation across two periods","prompt":"Can you take these two accounts payable datasets — one for Q1 and one for Q2, each with row_id, instrument_group, date, due_amount, and paid_amount — and give me a keyed comparison plus the weighted mean of paid_amount for Q2?"},{"title":"Instrument group payment weighting","prompt":"I want to understand how due_amount is weighted across my instrument groups — here are 150 payables rows with dates and amounts, plus a baseline dataset to compare against; please run the secondary-measure weighted mean and the keyed dataset comparison."}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean of the selected field (due_amount or paid_amount) across the supplied rows, and (2) a keyed dataset comparison between the primary rows and the supplied comparison dataset, all computed locally without external lookups.","failureModes":["Exceeding 200 rows per dataset returns a validation error","Missing required fields (row_id, instrument_group, date, due_amount, paid_amount) causes schema rejection","Invalid date format (not YYYY-MM-DD) triggers pattern validation failure","Null values in the selected field may affect weighted mean calculation","Mismatched keys between primary and comparison datasets may yield empty or partial comparison results","Payment failure (x402) prevents execution if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need both a weighted mean computation and a keyed dataset comparison on payables scheduling data in a single API call. It is best suited for offline/batch analytics on pre-collected payables records (due_amount, paid_amount) where no live data lookup or external enrichment is needed. Prefer it over general-purpose analytics tools when working specifically with payables scheduling data structured by instrument_group and date, and when cost-efficiency matters (two reports for $0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:37:46.925Z","isFirstParty":false,"canonicalSlug":"payables-scheduling-secondary-measure-weighted-mean-keyed-dataset-3b59c122"}