{"uid":"cap_JauxzcgiUH5oQ8Wl9iNsa","slug":"record-routing-analytics-trailing-mean-series-keyed-dataset-comparison-ef4f2d80","name":"Record Routing Analytics — Trailing Mean Series + Keyed Dataset Comparison","description":"Record routing — Trailing mean series + Keyed dataset comparison: Trailing mean series + Keyed dataset comparison 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-153?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"},"other":{"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":21,"rejected_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","accepted_records":17,"rejected_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","accepted_records":33,"rejected_records":4}],"maxItems":200,"minItems":0},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_DWmz0H9AGOpPdErreoIWr","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 trailing mean time series and a keyed dataset comparison for record routing data (accepted_records, rejected_records) across up to 200 rows, returning two independent analytical reports.","exampleAgentPrompt":"Can you run a trailing mean series and dataset comparison on my record routing data — I have two datasets with accepted_records and rejected_records fields across groups like 'group-a' and 'group-b' from 2026-10-01 to 2026-10-04, and I want to compare them on the accepted_records field?","exampleUseCases":[{"title":"ETL pipeline rejection trend analysis","prompt":"I have daily record routing logs for the past month with accepted and rejected record counts across two processing groups. Can you compute a trailing mean series on the accepted_records field so I can see if our acceptance rate is improving or degrading over time?"},{"title":"A/B dataset routing comparison","prompt":"I'm running two variants of our data ingestion pipeline and have both datasets with accepted_records and rejected_records per day per group. Can you do a keyed comparison of the two datasets on rejected_records so I can see which pipeline variant has fewer rejections?"},{"title":"Weekly data quality report for routing system","prompt":"Every Monday I need a summary of our record routing metrics — I have rows with date, group, accepted_records, and rejected_records. Can you give me a trailing mean series plus a comparison against last week's data on the accepted_records field?"}],"resultDescription":"Returns two independent analytical reports: (1) a trailing mean series showing rolling averages of the selected field (accepted_records or rejected_records) over the provided date-ordered rows, and (2) a keyed dataset comparison report showing differences between the primary and secondary datasets broken down by dataset_group and date. Both reports are computed locally with no external lookups.","failureModes":["Missing required fields (row_id, date, dataset_group, accepted_records, rejected_records) cause validation errors","More than 200 rows submitted — only up to 200 rows accepted","Invalid date format (must match YYYY-MM-DD pattern) triggers schema rejection","Null values in the selected field may affect trailing mean computation","Empty rows array returns an error","Mismatched row_id keys between primary and comparison datasets may produce incomplete comparison results"],"whenToPreferThis":"Choose this endpoint when you need both a rolling/trailing mean time series AND a side-by-side dataset comparison for record routing metrics (accepted vs rejected counts) in a single API call for under $0.01. It is ideal for ETL pipeline monitoring, data quality tracking, and A/B comparisons of ingestion pipelines where you already have the data locally and need fast, offline statistical summaries — not live data fetching or predictive modeling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:40:02.363Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-trailing-mean-series-keyed-dataset-comparison-ef4f2d80"}