# Dataset Storage Analytics — Two-Measure Correlation & Secondary-Measure Weighted Mean

> Dataset Storage Analytics — Two-Measure Correlation & 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 Pearson correlation between used_mb and row_count, plus a weighted mean for a secondary measure, across up to 200 dataset storage records in a single call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-18-181?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-two-measure-correlation-secondary-measure-a816e522
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Dt4oG_-htSklKBittyJCL

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-two-measure-correlation-secondary-measure-a816e522 -d '<json body>'
```

Example prompt: Can you run a correlation analysis between used_mb and row_count for my dataset storage records, and also compute the weighted mean of used_mb? Here are up to 200 rows with row_id, date, dataset_group, used_mb, and row_count fields.

## When to prefer this

Choose this endpoint when you have up to 200 dataset storage records with used_mb and row_count fields and need two statistical reports (correlation + weighted mean) in a single low-cost call. Ideal for offline/batch analytical checks on storage data you already hold, where no live lookup, external data enrichment, or prediction is needed. Not suitable for real-time monitoring, forecasting, or datasets exceeding 200 rows.

## Known failure modes

- More than 200 rows supplied — request rejected or truncated
- Missing required fields (row_id, date, used_mb, row_count, dataset_group) on any row — validation error
- Non-numeric values in used_mb or row_count where numbers are expected — computation error
- Date strings not matching YYYY-MM-DD pattern — validation rejection
- Empty rows array — no computation possible
- Invalid field enum value (not 'used_mb' or 'row_count') — schema error

## How this service works

Dataset storage — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + 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 Pearson correlation coefficient between used_mb and row_count across all supplied rows, and (2) a weighted mean for the secondary measure (field selector determines which measure is primary vs secondary), computed locally without any external lookup or live data fetch.

## 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dataset-storage-analytics-two-measure-correlation-secondary-measure-a816e522/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)
