# Simulation Caches Trailing Mean Series & Secondary-Measure Weighted Mean

> Simulation Caches Trailing Mean Series & Secondary-Measure Weighted Mean 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-22).

Computes a trailing mean time series and a secondary-measure weighted mean over supplied simulation cache records (cache_gb, simulation_seconds) — two analytical reports in one call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-creative-08-151?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/simulation-caches-trailing-mean-series-secondary-measure-weighted-mean-c882f2ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r9BZ7w7Qu3974xuSW1Rzi

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 simulation-caches-trailing-mean-series-secondary-measure-weighted-mean-c882f2ec -d '<json body>'
```

Example prompt: Run two analytical reports on these simulation cache records — a trailing mean series with a window of 3 and a secondary weighted mean — using cache_gb as the primary field: [row-1, 2026-10-01, group-a, cache_gb=10, simulation_seconds=1], [row-2, 2026-10-02, group-b, cache_gb=20, simulation_seconds=2], [row-3, 2026-10-03, group-a, cache_gb=15, simulation_seconds=3].

## When to prefer this

Choose this endpoint when you have up to 200 simulation cache records with cache_gb and simulation_seconds fields and need both a rolling/trailing mean time series and a weighted mean in a single low-cost call ($0.01 USDC). Ideal for infrastructure analytics, simulation benchmarking, or pipeline validation where no live data lookup or external prediction is needed — purely local computation on supplied data.

## Known failure modes

- Fewer than 1 row submitted — request rejected
- More than 200 rows submitted — exceeds maximum row limit
- Invalid date format (not YYYY-MM-DD) — validation error
- Window size smaller than 2 or larger than 200 — parameter error
- Field value not one of 'cache_gb' or 'simulation_seconds' — enum validation failure
- Null or missing required fields (row_id) — schema error
- Payment not attached or insufficient USDC — 402 Payment Required

## How this service works

Simulation caches — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied simulation caches records (cache_gb, simulation_seconds). 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.

## Output

Returns two independent analytical reports: (1) a trailing mean time series computed over the specified window for the chosen primary field (cache_gb or simulation_seconds), and (2) a secondary-measure weighted mean across the supplied rows. Both reports are derived purely from the submitted data with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "asset_group",
     "date",
     "cache_gb",
     "simulation_seconds"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "cache_gb": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "asset_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "simulation_seconds": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "cache_gb": 10,
     "asset_group": "group-a",
     "simulation_seconds": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "cache_gb": 20,
     "asset_group": "group-b",
     "simulation_seconds": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "cache_gb": 15,
     "asset_group": "group-a",
     "simulation_seconds": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "cache_gb": 30,
     "asset_group": "group-b",
     "simulation_seconds": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "cache_gb",
    "simulation_seconds"
   ],
   "type": "string",
   "default": "cache_gb"
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/simulation-caches-trailing-mean-series-secondary-measure-weighted-mean-c882f2ec/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)
