{"uid":"cap_RML3oG9lE8EYzEnpVV_5V","slug":"data-freshness-analytics-trailing-mean-series-equal-width-histogram-d69d6c65","name":"Data Freshness Analytics: Trailing Mean Series + Equal-Width Histogram","description":"Data freshness — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram for supplied data freshness records (age_minutes, record_count). 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-06-148?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","age_minutes","record_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"age_minutes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"record_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","age_minutes":10,"record_count":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","age_minutes":20,"record_count":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","age_minutes":15,"record_count":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","age_minutes":30,"record_count":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["age_minutes","record_count"],"type":"string","default":"age_minutes"},"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_FP0kHZA8UO8Sf_1NywAZR","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 moving-average time series and an equal-width frequency histogram for data freshness records (age_minutes, record_count) supplied by the caller — no external lookups, up to 200 rows, two reports per call.","exampleAgentPrompt":"I have 50 daily freshness records for two dataset groups — each with a date, age_minutes, and record_count — can you run a trailing mean series with a window of 7 and a 10-bin equal-width histogram on the age_minutes field for me?","exampleUseCases":[{"title":"Pipeline latency trend monitoring","prompt":"I've got 90 days of freshness logs for my ETL pipeline, each row has a date, age_minutes, and record_count. Can you compute a 14-day trailing mean of age_minutes and also show me a histogram with 8 bins so I can see how data latency has trended and is distributed?"},{"title":"Dataset group freshness comparison","prompt":"I have freshness records for three dataset groups over the last 30 days — can you run a trailing mean series with window 5 and a 5-bin histogram on record_count so I can compare how fresh each group's data has been?"},{"title":"Data quality audit report","prompt":"For our weekly data quality review, I need to analyze 120 freshness records: please generate a 7-point trailing mean series and a 10-bin equal-width histogram on age_minutes so I can share a summary of our ingestion delays with the team."}],"resultDescription":"Returns two independent analytical reports sharing the same input data: (1) a trailing mean series showing the rolling average of the selected field (age_minutes or record_count) over the specified window, and (2) an equal-width histogram summarizing the frequency distribution of the field across the specified number of bins. No external data is fetched; all computation is performed locally on the supplied rows.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Window size larger than number of rows — trailing mean may be empty or partial","Bins parameter outside 1–30 range — validation error","Null values in age_minutes or record_count — rows may be skipped or treated as missing"],"whenToPreferThis":"Choose this endpoint when you have up to 200 pre-collected data freshness records and need both a smoothed time-series trend (trailing mean) and a distribution summary (histogram) in a single low-cost call. It is ideal for offline or batch analytical reporting on data pipeline health where no live data lookup, prediction, or external enrichment is needed. Prefer alternatives if you need real-time freshness checks, ML-based anomaly detection, or more than 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:12.791Z","isFirstParty":false,"canonicalSlug":"data-freshness-analytics-trailing-mean-series-equal-width-histogram-d69d6c65"}