# Dataset Storage Analytics — Weighted Mean & Keyed Dataset Comparison

> Dataset Storage Analytics — Weighted Mean & Keyed Dataset Comparison 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 secondary-measure weighted mean and performs a keyed comparison between two dataset storage record sets (used_mb, row_count) for up to 200 rows each.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-18-186?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-analytics-weighted-mean-keyed-dataset-comparison-7ea3a73c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lF_u5wYG6d8T23eQD2IWj

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-analytics-weighted-mean-keyed-dataset-comparison-7ea3a73c -d '<json body>'
```

Example prompt: Can you compute the weighted mean of used_mb (weighted by row_count) for my storage dataset, and also compare it against a second snapshot? I have two sets of up to 20 rows each with row_id, dataset_group, date, used_mb, and row_count fields.

## When to prefer this

Choose this endpoint when you have dataset storage records with used_mb and row_count fields and need both a weighted mean statistic and a side-by-side keyed comparison in a single $0.01 call. It is ideal for comparing two snapshots of the same dataset over time, or benchmarking two different dataset groups. Prefer this over general-purpose analytics when your data specifically involves storage metrics organized by dataset_group and identified by row_id.

## Known failure modes

- Input rows array empty or missing — returns validation error
- More than 200 rows submitted — request rejected with item limit error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Missing required fields (row_id, dataset_group, date) — rejected with field error
- field enum value not 'used_mb' or 'row_count' — rejected
- Null values in numeric fields may affect weighted mean calculation

## How this service works

Dataset storage — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison 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 secondary-measure weighted mean computed over the supplied rows for the chosen field (used_mb or row_count), and (2) a keyed comparison between the primary and secondary dataset arrays matched by row_id, highlighting differences per dataset_group. No external data is fetched; all computation is local to the engine.

## 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"
  },
  "other": {
   "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
     }
    },
    "addition
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dataset-storage-analytics-weighted-mean-keyed-dataset-comparison-7ea3a73c/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)
