{"uid":"cap_RoWbBxeF0cbT4QbwlwXTl","slug":"record-routing-analytics-trailing-mean-series-secondary-measure-4d151923","name":"Record Routing Analytics — Trailing Mean Series & Secondary-Measure Weighted Mean","description":"Record routing — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + 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-151?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"},"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_8HadaLdsK1VVK1V6vlZG2","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 secondary-measure weighted mean for accepted/rejected record routing data (up to 200 rows, two reports per call).","exampleAgentPrompt":"Can you run a trailing mean series and secondary-measure weighted mean on my record routing data? I have 4 rows spanning 2026-10-01 to 2026-10-04 across group-a and group-b, analyzing accepted_records with a window of 2.","exampleUseCases":[{"title":"Data pipeline quality trend analysis","prompt":"I want to analyze my data pipeline's acceptance and rejection trends — here are 50 daily rows with accepted_records and rejected_records per dataset group. Can you compute a trailing mean series with a window of 7 and a secondary-measure weighted mean on accepted_records?"},{"title":"Record routing anomaly review","prompt":"I've got a week of record routing data across three groups and I want to see the rolling average of rejected_records with a window of 3, plus a weighted mean using accepted_records as the secondary measure. Can you run both reports on my 21 rows?"},{"title":"Monthly ingestion reporting for dataset groups","prompt":"Can you generate a trailing mean series and secondary-measure weighted mean for my monthly record routing stats? I have 30 rows labeled by date and dataset group, and I want the analysis focused on accepted_records using a rolling window of 5."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series for the specified primary field over the given rolling window, and (2) a secondary-measure weighted mean that weights one metric by the other — both computed locally from the supplied rows (up to 200). No external lookups or predictions are made.","failureModes":["Fewer than 1 row supplied — minimum of 1 row required","More than 200 rows supplied — exceeds maxItems limit","Window size larger than the number of supplied rows — trailing mean may be undefined or partial","Invalid date format — must match YYYY-MM-DD pattern","Missing required fields (row_id, dataset_group, date, accepted_records, rejected_records) cause validation errors","Null values in accepted_records or rejected_records may affect weighted mean calculation"],"whenToPreferThis":"Choose this endpoint when you need offline, deterministic statistical summaries — specifically a trailing/rolling mean series and a secondary-measure weighted mean — on record routing data with accepted and rejected counts, and want both reports in a single low-cost call ($0.01 USDC). Ideal for data quality monitoring, pipeline auditing, or batch reporting on up to 200 rows without requiring live external data or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:51:08.201Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-trailing-mean-series-secondary-measure-4d151923"}