{"uid":"cap_1gS7CUpBarySIMK6yw3IS","slug":"cache-observations-trailing-mean-series-22f0b9fa","name":"Cache Observations Trailing Mean Series","description":"Cache observations - Trailing mean series: Trailing mean series for Cache observations. 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-cache-observations-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","cache","date","hits","misses"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"hits":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"cache":{"type":"string","default":"","maxLength":80},"misses":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1}},"additionalProperties":false},"default":[{"date":"2026-10-01","hits":10,"cache":"group-a","misses":1,"row_id":"row-1"},{"date":"2026-10-02","hits":20,"cache":"group-b","misses":2,"row_id":"row-2"},{"date":"2026-10-03","hits":15,"cache":"group-a","misses":3,"row_id":"row-3"},{"date":"2026-10-04","hits":30,"cache":"group-b","misses":4,"row_id":"row-4"}],"maxItems":200,"minItems":1},"field":{"enum":["hits","misses"],"type":"string","default":"hits"},"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_jpBF2-z4-fgtAfKBBRIRE","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 series over cache hit and miss observations (up to 200 records) for local descriptive analytics.","exampleAgentPrompt":"Can you compute a trailing mean series with a window of 3 for my cache hit data? I have records for group-a and group-b from Oct 1–4, 2026 with hits like 10, 20, 15, 30 and misses 1–4 — I want to smooth out the hits field.","exampleUseCases":[{"title":"Smoothing daily cache hit trends","prompt":"I have 30 days of cache hit counts for three cache groups and want to smooth them out — can you run a trailing mean with a window of 7 on the hits field so I can see the trend without the day-to-day noise?"},{"title":"Cache miss anomaly dampening","prompt":"My cache miss data is really spiky — can you apply a rolling mean with window size 5 to my misses observations across groups A and B so I can see a cleaner baseline?"},{"title":"Comparing cache group performance over time","prompt":"I want to compare rolling average hit rates for group-a versus group-b over the past two weeks. Can you run a trailing mean series with a window of 3 on the hits field for all my records?"}],"resultDescription":"Returns a trailing mean series report containing smoothed rolling average values for the selected metric field (hits or misses) across up to 200 supplied cache observation records, grouped by cache name and date, using the specified window size. No forecasting or external enrichment is included — results are purely local descriptive analytics.","failureModes":["Fewer than 2 rows supplied — minimum item count not met","Window size exceeds the number of supplied rows — insufficient data for computation","Invalid date format (must be YYYY-MM-DD)","Metric values outside allowed range (±1,000,000,000,000)","Missing required fields (row_id, cache, date, hits, misses)","Exceeding 200 row maximum — payload too large","Invalid field enum value (must be 'hits' or 'misses')"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01 USDC) rolling/trailing mean series computed locally over cache performance data (hits or misses) without any external enrichment, forecasting, or model inference. It is ideal for smoothing noisy cache metric time series before visualization or anomaly detection, particularly when working with grouped cache observations up to 200 records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:26.739Z","isFirstParty":false,"canonicalSlug":"cache-observations-trailing-mean-series-22f0b9fa"}