{"uid":"cap_HBuFWGDpZDhG70Z8AXHjv","slug":"record-routing-duplicate-key-report-and-secondary-measure-weighted-mean-0fdf1496","name":"Record Routing Duplicate Key Report and Secondary-Measure Weighted Mean","description":"Record routing — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean for supplied record routing records (accepted_records, rejected_records). 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-analytics-19-067?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","accepted_records","rejected_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"dataset_group":{"type":"string","default":"","maxLength":80},"accepted_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"rejected_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","accepted_records":10,"rejected_records":1},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","accepted_records":20,"rejected_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","accepted_records":15,"rejected_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","accepted_records":30,"rejected_records":4}],"maxItems":200,"minItems":1},"field":{"enum":["accepted_records","rejected_records"],"type":"string","default":"accepted_records"}}},"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_bENUCuaETAnVHmbCDG-KM","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 up to 200 record routing rows to produce two reports: a duplicate key report and a secondary-measure weighted mean for accepted_records or rejected_records.","exampleAgentPrompt":"Can you run a duplicate key report and compute the weighted mean for accepted_records on my routing dataset? I have 4 rows: row-1 group-a 2026-10-01 accepted=10 rejected=1, row-2 group-b 2026-10-02 accepted=20 rejected=2, row-3 group-a 2026-10-03 accepted=15 rejected=3, row-4 group-b 2026-10-04 accepted=30 rejected=4.","exampleUseCases":[{"title":"Audit pipeline for duplicate row IDs","prompt":"I need to check my record routing export for any duplicate row IDs — here are 150 rows with date, dataset_group, accepted_records, and rejected_records. Can you run the duplicate key report and also give me the weighted mean of accepted_records across groups?"},{"title":"Quality check on rejected records volume","prompt":"Run a duplicate key check and compute the weighted mean for rejected_records on this batch of 80 record routing rows I'm uploading — I want to see if any row IDs repeat and what the weighted average rejection rate looks like."},{"title":"Monthly routing data summary","prompt":"I have this month's record routing data — about 200 rows with accepted and rejected record counts per group. Can you detect any duplicate keys and calculate the weighted mean of accepted_records so I can include it in my monthly data quality report?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying rows with repeated row_id values across the supplied dataset, and (2) a secondary-measure weighted mean for the chosen field (accepted_records or rejected_records), computed across all supplied rows using shared local analytical engines. No external lookups or predictions are made.","failureModes":["Exceeding 200 rows returns an error or truncated result","Missing required fields (row_id, date, dataset_group, accepted_records, rejected_records) cause validation errors","Invalid date format (not YYYY-MM-DD) triggers schema rejection","Null values in the selected measure field may affect weighted mean computation","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Choose this endpoint when you have up to 200 record routing rows and need both a duplicate key audit and a weighted mean computation in a single low-cost call ($0.01 USDC). It is ideal for ETL data quality checks, pipeline audits, or batch analytics on accepted/rejected record counts without requiring any external data sources or live lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:49:32.500Z","isFirstParty":false,"canonicalSlug":"record-routing-duplicate-key-report-and-secondary-measure-weighted-mean-0fdf1496"}