{"uid":"cap__FYnX8RlMnrJ0uSV2kKf8","slug":"data-validation-results-trailing-mean-series-e5884130","name":"Data Validation Results – Trailing Mean Series","description":"Data validation results - Trailing mean series: Trailing mean series for Data validation results. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded trailing mean series report.","url":"https://market.datapackvibe.com/x402/assistant-ar-analytics-validation-results-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","rule","date","checked_records","failed_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"rule":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"failed_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"checked_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","rule":"group-a","row_id":"row-1","failed_records":1,"checked_records":10},{"date":"2026-10-02","rule":"group-b","row_id":"row-2","failed_records":2,"checked_records":20},{"date":"2026-10-03","rule":"group-a","row_id":"row-3","failed_records":3,"checked_records":15},{"date":"2026-10-04","rule":"group-b","row_id":"row-4","failed_records":4,"checked_records":30}],"maxItems":200,"minItems":1},"field":{"enum":["checked_records","failed_records"],"type":"string","default":"checked_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_3_m2WukIiyxQFdvK2EdGr","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 rolling/trailing mean time series over data validation metrics (checked_records or failed_records) grouped by rule, for up to 200 supplied records.","exampleAgentPrompt":"Compute a trailing mean series for my data validation results — I have records with dates, rule names, checked_records, and failed_records for about 50 entries; use a window of 7 and calculate the rolling mean over failed_records.","exampleUseCases":[{"title":"Monitor validation failure trends over time","prompt":"I've got daily data validation logs for the past 3 months, each row has a date, a rule name, how many records were checked, and how many failed. Can you compute a trailing mean with a window of 14 over the failed_records so I can see the smoothed trend?"},{"title":"Spot-check data pipeline health by rule","prompt":"Here are 80 validation records broken out by rule group — can you run a rolling average with a window of 5 over checked_records so I can see which rules are consistently processing fewer records than expected?"},{"title":"Smooth noisy validation metrics for reporting","prompt":"My daily validation results are pretty noisy. Can you apply a trailing mean with window 10 to my failed_records series so I can present a cleaner trend line in my data quality report?"}],"resultDescription":"Returns a trailing mean series report: for each record in the input, a smoothed rolling average value computed over the specified window for the selected field (checked_records or failed_records), grouped by rule, with one bounded trailing mean series report per call. No enrichment or forecasting is included — purely local descriptive analytics.","failureModes":["Fewer than 1 row supplied returns a validation error","More than 200 rows supplied exceeds the maxItems limit","Invalid date format (not YYYY-MM-DD) causes schema rejection","Window size larger than the number of records for a given rule yields sparse or missing mean values","Non-numeric or null values in the selected field may produce null averages for affected windows","Malformed row_id or rule strings exceeding maxLength are rejected"],"whenToPreferThis":"Choose this endpoint when you need a quick, local rolling/trailing mean computation on your own data validation metrics (checked_records or failed_records) without sending data to a full analytics platform. It is ideal for smoothing noisy daily validation counts, spotting trends in rule-level failure rates, or generating a clean time series for reporting — all at very low cost ($0.01 per call) and with no external data enrichment or forecasting. Prefer alternatives if you need forecasting, anomaly detection, or enrichment beyond descriptive rolling statistics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:32.519Z","isFirstParty":false,"canonicalSlug":"data-validation-results-trailing-mean-series-e5884130"}