{"uid":"cap__CwYAeY4fmaBAWoK44EIF","slug":"record-routing-analytics-numeric-row-ordering-weighted-mean-b57899f6","name":"Record Routing Analytics — Numeric Row Ordering & Weighted Mean","description":"Record routing — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + 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-121?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_FeEIr3zxyWIUZ3vbHgTZZ","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 numeric row ordering and secondary-measure weighted mean for up to 200 rows of record routing data (accepted_records, rejected_records) across two independent analytical reports.","exampleAgentPrompt":"Can you rank these 4 routing rows by accepted_records and compute a weighted mean — 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) — using accepted_records as the primary field?","exampleUseCases":[{"title":"Ranking routing records by acceptance volume","prompt":"I have 6 record routing entries across two dataset groups with accepted and rejected counts per day — can you rank them numerically by accepted_records and give me a weighted mean of the accepted_records field?"},{"title":"Auditing rejection rates across pipeline groups","prompt":"Here are 10 rows of routing data from my data pipeline with group-a and group-b entries — please order them by rejected_records and compute the secondary-measure weighted mean so I can see where most rejections are concentrated."},{"title":"Comparing two dataset groups on record quality","prompt":"I've got 50 routing records split between 'prod-group' and 'staging-group' with accepted and rejected counts from last month — can you run both analytical reports to rank the rows and get the weighted mean for accepted_records?"}],"resultDescription":"Returns two independent analytical reports: (1) a numeric row ordering of the supplied routing records ranked by the chosen field (accepted_records or rejected_records), and (2) a secondary-measure weighted mean computed across all provided rows. Results are computed locally with no external lookup or prediction.","failureModes":["More than 200 rows submitted — request rejected at max item limit","Missing required fields (row_id, date, dataset_group, accepted_records, rejected_records) cause validation error","Invalid date format (not YYYY-MM-DD) fails pattern validation","Field value outside numeric range (-1,000,000,000,000 to 1,000,000,000,000) rejected","Empty rows array (minItems: 1 violated) returns error","Invalid field enum value (not accepted_records or rejected_records) causes rejection"],"whenToPreferThis":"Choose this endpoint when you need lightweight, local numeric row ordering and weighted mean analytics on record routing data (accepted/rejected counts) without any external API calls, predictions, or live lookups. It is ideal for data quality pipelines, ETL auditing, and batch analytics on up to 200 rows at minimal cost ($0.01 USDC for two reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:41.379Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-numeric-row-ordering-weighted-mean-b57899f6"}