{"uid":"cap_fboFV7UzfsKcKE_uv3BDI","slug":"record-routing-analytics-grouped-numeric-summary-weighted-mean-d30ed4d3","name":"Record Routing Analytics — Grouped Numeric Summary & Weighted Mean","description":"Record routing — Grouped numeric summary + Secondary-measure weighted mean: Grouped numeric summary + 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-096?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_5zsvt-e-TnDaPCT0373V5","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 grouped numeric summary and a secondary-measure weighted mean for record routing data (accepted and rejected records) across up to 200 rows.","exampleAgentPrompt":"Can you run a grouped numeric summary and weighted mean on my record routing data? I have 4 rows across two groups (group-a and group-b) with accepted_records as the primary field — dates range from 2026-10-01 to 2026-10-04 with accepted counts of 10, 20, 15, and 30 and rejected counts of 1, 2, 3, and 4.","exampleUseCases":[{"title":"ETL pipeline quality review","prompt":"I have daily record routing logs for October with two groups — 'ingest-prod' and 'ingest-staging' — and I want a grouped numeric summary plus a weighted mean for accepted_records across all rows. Can you crunch that for me?"},{"title":"Rejected records weighted analysis","prompt":"I need to understand my rejected_records trends. I have about 150 rows of routing data split across 5 dataset groups. Can you give me a grouped summary and a weighted mean using rejected_records as the primary field?"},{"title":"Comparing routing performance across groups","prompt":"We've been tracking record routing across group-a and group-b for the past month. Can you summarize the accepted and rejected record counts by group and compute a secondary-measure weighted mean so I can see which group is performing better?"}],"resultDescription":"Returns two analytical reports: (1) a grouped numeric summary of accepted_records and rejected_records broken down by dataset_group, and (2) a weighted mean of the specified primary field (accepted_records or rejected_records) using the secondary measure as weights — all computed locally without external lookups, for up to 200 input rows.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, dataset_group, date, accepted_records, rejected_records) — validation error","Invalid date format (must match YYYY-MM-DD) — schema validation failure","Null values in both primary and secondary measure fields — weighted mean may be undefined or return NaN","field enum value not in ['accepted_records','rejected_records'] — invalid input error"],"whenToPreferThis":"Choose this endpoint when you have structured record routing data with accepted/rejected counts organized into named dataset groups and you need both a grouped numeric summary and a weighted mean in a single call at low cost ($0.01 USDC for up to 200 rows). Ideal for data pipeline monitoring, ETL quality checks, and batch reporting where no live data lookup or prediction is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:50:03.424Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-grouped-numeric-summary-weighted-mean-d30ed4d3"}