# Dataset Storage — Trailing Mean Series + Secondary-Measure Weighted Mean

> Dataset Storage — 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-19).

Computes a trailing moving average series and a secondary-measure weighted mean for dataset storage records (used_mb, row_count) supplied by the caller.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-18-151?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dataset-storage-trailing-mean-series-secondary-measure-weighted-mean-69e4a37e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Rqu_5CtMZYlBCEQTVa3qg

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 dataset-storage-trailing-mean-series-secondary-measure-weighted-mean-69e4a37e -d '<json body>'
```

Example prompt: Can you run a trailing mean series with a window of 3 and a secondary-measure weighted mean on my storage records — the field I care about is used_mb — here are my rows: group-a on 2026-10-01 used 10 MB with 1 row, group-b on 2026-10-02 used 20 MB with 2 rows, group-a on 2026-10-03 used 15 MB with 3 rows?

## When to prefer this

Choose this endpoint when you need both a rolling/trailing moving average time series and a weighted mean statistic on dataset storage metrics (used_mb and row_count) from your own supplied data, in a single call. It is ideal for offline or batch analytics on stored datasets without requiring an external database connection. Prefer this over generic stats APIs when you specifically want two bundled storage-domain reports at low cost.

## Known failure modes

- Fewer rows than window size makes trailing mean undefined for early entries
- Missing required fields (row_id, date, dataset_group, used_mb, row_count) cause validation errors
- Exceeding 200 rows returns an error or truncation
- Null values in used_mb or row_count may produce partial or undefined weighted means
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Supplying an unsupported field enum value causes rejection

## How this service works

Dataset storage — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied dataset storage records (used_mb, row_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.

## Output

Returns two analytical reports: (1) a trailing moving average series computed over the selected field (used_mb or row_count) using the specified window size, and (2) a secondary-measure weighted mean where one storage metric weights the average of the other — all computed locally from the supplied rows with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "dataset_group",
     "date",
     "used_mb",
     "row_count"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "used_mb": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "row_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",
     "used_mb": 10,
     "row_count": 1,
     "dataset_group": "group-a"
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "used_mb": 20,
     "row_count": 2,
     "dataset_group": "group-b"
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "used_mb": 15,
     "row_count": 3,
     "dataset_group": "group-a"
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "used_mb": 30,
     "row_count": 4,
     "dataset_group": "group-b"
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "used_mb",
    "row_count"
   ],
   "type": "string",
   "default": "used_mb"
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

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