# Cache Observations Trailing Mean Series

> Cache Observations Trailing Mean Series is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Computes a rolling/trailing mean series over cache hit and miss observations (up to 200 records) for local descriptive analytics.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-cache-observations-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cache-observations-trailing-mean-series-22f0b9fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1gS7CUpBarySIMK6yw3IS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cache-observations-trailing-mean-series-22f0b9fa -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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')

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cache-observations-trailing-mean-series-22f0b9fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
