{"uid":"cap_hJtvFl1UfbJZkmbj8mlZ-","slug":"validator-uptime-trailing-mean-series-and-two-measure-correlation-a53ec245","name":"Validator Uptime Trailing Mean Series and Two-Measure Correlation","description":"Validator uptime — Trailing mean series + Two-measure correlation: Trailing mean series + Two-measure correlation for supplied validator uptime records (online_minutes, observed_minutes). 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-finance-12-150?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","online_minutes","observed_minutes"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"online_minutes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80},"observed_minutes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","online_minutes":10,"instrument_group":"group-a","observed_minutes":1},{"date":"2026-10-02","row_id":"row-2","online_minutes":20,"instrument_group":"group-b","observed_minutes":2},{"date":"2026-10-03","row_id":"row-3","online_minutes":15,"instrument_group":"group-a","observed_minutes":3},{"date":"2026-10-04","row_id":"row-4","online_minutes":30,"instrument_group":"group-b","observed_minutes":4}],"maxItems":200,"minItems":1},"field":{"enum":["online_minutes","observed_minutes"],"type":"string","default":"online_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_Lwy24XCHPELTR9rMdvg6L","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 two-measure correlation between online_minutes and observed_minutes for up to 200 supplied validator uptime records.","exampleAgentPrompt":"Run a trailing mean series with a window of 7 and a two-measure correlation on these validator uptime records — each row has a date, row_id, instrument_group, online_minutes, and observed_minutes — and compute the stats on the online_minutes field.","exampleUseCases":[{"title":"Validator uptime trend smoothing","prompt":"I have 90 days of validator uptime logs with online_minutes and observed_minutes per day. Can you compute a trailing mean series over a 14-day window on online_minutes to smooth out the noise and show me the trend?"},{"title":"Correlation between online and observed time","prompt":"For my set of 50 validator records across two groups, run the two-measure correlation between online_minutes and observed_minutes — I want to know how strongly these two metrics track each other."},{"title":"Multi-group validator performance analytics","prompt":"I've got uptime data for validators in group-alpha and group-beta over the last 30 days. Run both the trailing mean series with window 5 and the correlation report on observed_minutes so I can compare performance across groups."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series for the selected field (online_minutes or observed_minutes) over the specified window, and (2) a Pearson or equivalent correlation between online_minutes and observed_minutes across the supplied rows. Results are computed locally on the provided data with no external lookups.","failureModes":["Fewer than the minimum window size rows provided — trailing mean cannot be computed for early rows","rows array is empty or missing — returns validation error","date field not in YYYY-MM-DD format — schema validation failure","online_minutes or observed_minutes contains all nulls — correlation undefined","More than 200 rows submitted — request rejected with maxItems error","window parameter set below 2 or above 200 — rejected by schema constraints"],"whenToPreferThis":"Choose this endpoint when you have raw validator uptime records (online_minutes, observed_minutes) and need both a smoothed time-series view and a statistical correlation between the two metrics in a single paid call. It is well-suited for offline/batch analytics on pre-collected data where no live lookup, prediction, or external enrichment is needed, and when cost efficiency (two reports per $0.01 call) matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:34.068Z","isFirstParty":false,"canonicalSlug":"validator-uptime-trailing-mean-series-and-two-measure-correlation-a53ec245"}