# Dataset Partition Sizes — Equal-Width Histogram & Weighted Mean Analytics

> Dataset Partition Sizes — Equal-Width Histogram & Weighted Mean Analytics 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 an equal-width histogram and a secondary-measure weighted mean for up to 200 dataset partition size records (row_count and file_mb), returning two analytical reports in one call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-07-172?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-partition-sizes-equal-width-histogram-weighted-mean-analytics-7ee2bd51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b7fTTtNnNwZXgSXMOYoEi

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-partition-sizes-equal-width-histogram-weighted-mean-analytics-7ee2bd51 -d '<json body>'
```

Example prompt: Run an equal-width histogram with 8 bins on the row_count field for my dataset partitions — here are 4 records: row-1 on 2024-01-01 in group-a with 10000 rows and 5.2 MB, row-2 on 2024-01-02 in group-b with 85000 rows and 42.1 MB, row-3 on 2024-01-03 in group-a with 23000 rows and 11.8 MB, row-4 on 2024-01-04 in group-b with 150000 rows and 77.3 MB — and also give me the weighted mean of file_mb.

## When to prefer this

Choose this endpoint when you need both a distribution histogram and a weighted mean for dataset partition sizing metrics (row count or file size) in a single API call for up to 200 records. It is ideal for data engineering teams auditing partition skew, storage spread, or pipeline output consistency without needing an external analytics platform.

## Known failure modes

- Exceeds 200-row limit — request rejected
- Invalid date format (non-YYYY-MM-DD) — validation error
- bins value outside 1–30 range — rejected
- Missing required fields (row_id, dataset_group, date, row_count, file_mb) — schema error
- Null values in the primary measure field may affect histogram bin computation
- field enum not one of 'row_count' or 'file_mb' — rejected

## How this service works

Dataset partition sizes — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied dataset partition sizes records (row_count, file_mb). 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) an equal-width histogram showing bin boundaries and the count of partition records falling into each bin for the chosen primary field (row_count or file_mb), and (2) a secondary-measure weighted mean value. Both reports are computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dataset-partition-sizes-equal-width-histogram-weighted-mean-analytics-7ee2bd51/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)
