# Dataset Partition Sizes — Trailing Mean Series + Equal-Width Histogram

> Dataset Partition Sizes — Trailing Mean Series + Equal-Width Histogram 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 mean time series and an equal-width histogram for dataset partition size records (row_count or file_mb), returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-07-148?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-trailing-mean-series-equal-width-histogram-8790d836
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O5MBnaX4ltHOmEIkt0nOy

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-trailing-mean-series-equal-width-histogram-8790d836 -d '<json body>'
```

Example prompt: For my dataset partitions below, run a trailing mean series and an equal-width histogram on the row_count field using a window of 3 and 5 bins — here are my records: row-1 on 2025-01-01 in group-a with 1000 rows and 50 MB, row-2 on 2025-01-02 in group-b with 2000 rows and 80 MB, row-3 on 2025-01-03 in group-a with 1500 rows and 60 MB.

## When to prefer this

Choose this endpoint when you have a list of dataset partition records (with row counts and/or file sizes) and need both a rolling average trend and a distribution histogram in a single call. It is ideal for data engineers and analysts who want lightweight, self-contained statistical summaries without spinning up a full analytics stack. Prefer it over general-purpose analytics APIs when working with partition-level storage metadata and needing two complementary views (trend + distribution) for up to 200 records at minimal cost.

## Known failure modes

- More than 200 rows submitted — request will be rejected or truncated
- Invalid date format (not YYYY-MM-DD) causes row validation failure
- Window size larger than the number of rows results in insufficient data for trailing mean
- Bin count outside the 1–30 range is rejected
- Null values in row_count or file_mb may affect mean and histogram computations
- Field value not in enum ['row_count','file_mb'] causes a validation error
- Payment of 0.01 USDC not provided or declined causes 402 response

## How this service works

Dataset partition sizes — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram 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 independent analytical reports: (1) a trailing mean time series showing the rolling average of the selected field (row_count or file_mb) over the specified window, and (2) an equal-width histogram showing the frequency distribution of values across the specified number of bins. Both reports are computed locally from the supplied data without any external lookup.

## 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"
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

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