{"uid":"cap_y9SbxUdf1VQhTpiJ6YcVX","slug":"record-routing-analytics-weighted-mean-date-category-pivot-bcc9e123","name":"Record Routing Analytics — Weighted Mean & Date-Category Pivot","description":"Record routing — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot 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-185?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_eJrXPIpc3X4DXsY-THYOP","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 a date-by-category pivot table for supplied record routing data (accepted_records, rejected_records) across up to 200 rows.","exampleAgentPrompt":"Run a weighted mean and date-by-category pivot analysis on my record routing data — I have 4 rows with dates from 2026-10-01 to 2026-10-04, groups 'group-a' and 'group-b', and I want to analyze accepted_records as the primary field.","exampleUseCases":[{"title":"Daily routing acceptance trend analysis","prompt":"I have a week of record routing data with accepted and rejected counts per day across two dataset groups — can you pivot it by date and category and calculate the weighted mean of accepted_records so I can see where acceptance dips?"},{"title":"Rejection rate summary by group","prompt":"Run a weighted mean and category pivot on my routing records for October — I'm looking at rejected_records across group-a and group-b to spot which group is driving the most rejections."},{"title":"Multi-group routing quality audit","prompt":"I need a weighted mean report and a date-by-group pivot for my record routing data — about 150 rows covering three dataset groups, and I want to focus on accepted_records to compare quality across groups over time."}],"resultDescription":"Returns two independent analytical reports sharing the same input data: (1) a weighted mean of the selected secondary measure (accepted_records or rejected_records) and (2) a pivot table breaking down values by date and dataset_group category. No external lookups or predictions are made — all analysis is computed locally from the supplied rows.","failureModes":["More than 200 rows submitted — request rejected","Missing required fields (row_id, date, dataset_group) — validation error","Invalid date format (must match YYYY-MM-DD) — schema validation failure","Null values in both measure fields — may produce undefined weighted mean","Invalid field enum value (must be 'accepted_records' or 'rejected_records') — error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of record routing data with accepted/rejected counts and need both a weighted mean aggregation and a date-by-category pivot in a single low-cost ($0.01 USDC) call. Ideal for offline/batch analytical snapshots of routing performance where no live lookup or prediction is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:51:33.961Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-weighted-mean-date-category-pivot-bcc9e123"}