{"uid":"cap_pGDGi68eVqXz8tqjU7cq5","slug":"data-freshness-trailing-mean-series-keyed-dataset-comparison-61c09975","name":"Data Freshness — Trailing Mean Series + Keyed Dataset Comparison","description":"Data freshness — Trailing mean series + Keyed dataset comparison: Trailing mean series + Keyed dataset comparison 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-153?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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"},"other":{"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":21,"record_count":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","age_minutes":17,"record_count":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","age_minutes":33,"record_count":4,"dataset_group":"group-b"}],"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_Wc3QaycEccRpIW5N9z0Q9","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 performs a keyed comparison between two supplied data freshness datasets (age_minutes, record_count) with up to 200 rows each.","exampleAgentPrompt":"Can you run a trailing mean series analysis and keyed dataset comparison on my data freshness records? I have two sets of rows with age_minutes and record_count fields — the primary dataset and a comparison dataset — and I want to analyze the age_minutes field across both.","exampleUseCases":[{"title":"Pipeline freshness regression check","prompt":"I have two snapshots of my ETL pipeline freshness data — one from last week and one from this week — each with row_id, dataset_group, date, age_minutes, and record_count. Can you run a trailing mean series on age_minutes and compare the two datasets side by side to see if things are getting staler?"},{"title":"Multi-group record count trend analysis","prompt":"I've got up to 150 rows of daily data freshness records split across dataset groups, and I want to see the trailing mean of record_count over time plus a keyed comparison against a baseline snapshot I collected a month ago. Can you do both reports at once?"},{"title":"Data freshness audit between environments","prompt":"Compare these two sets of data freshness rows — one from our production environment and one from staging — using a keyed dataset comparison and trailing mean series on age_minutes so I can see where they diverge."}],"resultDescription":"Returns two analytical reports computed locally: (1) a trailing mean time series for the selected field (age_minutes or record_count) across the supplied rows, and (2) a keyed dataset comparison report aligning the primary and secondary datasets by row_id and dataset_group, highlighting differences in the chosen metric. No external lookups or predictions are made.","failureModes":["Rows array empty or missing — returns validation error","More than 200 rows submitted — request rejected","Invalid date format (not YYYY-MM-DD) — schema validation failure","Field value not in enum ['age_minutes','record_count'] — rejected","Mismatched or missing required row properties — schema error","Payment not included or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need both a trailing mean time series and a keyed comparison between two data freshness datasets in a single API call. It is ideal for data quality monitoring pipelines where you want to track how stale records are over time and compare two snapshots or environments without any external data lookups. It handles up to 200 rows per dataset and covers both reports for a flat $0.01 USDC fee.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T07:13:54.606Z","isFirstParty":false,"canonicalSlug":"data-freshness-trailing-mean-series-keyed-dataset-comparison-61c09975"}