# Data Ingestion Batches — Category Frequencies + Secondary-Measure Weighted Mean

> Data Ingestion Batches — Category Frequencies + 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-18).

Computes category-level frequency distributions and a weighted mean of a secondary numeric measure (received_rows or accepted_rows) across up to 200 data ingestion batch records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-01-109?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/data-ingestion-batches-category-frequencies-secondary-measure-0d5baa18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OKZQZ9KVgsqDgWLCPGX82

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 data-ingestion-batches-category-frequencies-secondary-measure-0d5baa18 -d '<json body>'
```

Example prompt: Analyze these data ingestion batch records for me — compute the category frequencies for each dataset_group and also the weighted mean of accepted_rows across these batches: [row-1, group-a, 2026-10-01, received=10, accepted=1], [row-2, group-b, 2026-10-02, received=20, accepted=2], [row-3, group-a, 2026-10-03, received=15, accepted=3].

## When to prefer this

Choose this endpoint when you need two simultaneous statistical summaries — a category frequency distribution and a weighted mean — specifically for data ingestion batch records containing received_rows and accepted_rows fields. It is ideal for ETL pipeline monitoring, data quality audits, and batch acceptance rate analysis on datasets up to 200 rows. It operates entirely on supplied data with no external calls, making it fast, deterministic, and cost-effective at $0.01 USDC for both reports together.

## Known failure modes

- Exceeding 200 rows returns a validation error
- Missing required fields (row_id, dataset_group, date, received_rows, accepted_rows) causes rejection
- Invalid date format (non-YYYY-MM-DD) fails schema validation
- Providing an invalid 'field' enum value (not received_rows or accepted_rows) causes an error
- Submitting fewer than 1 row returns a validation error
- Numeric values outside ±1,000,000,000,000 range are rejected

## How this service works

Data ingestion batches — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean for supplied data ingestion batches records (received_rows, accepted_rows). 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

Two analytical reports: (1) a category frequency table showing how often each dataset_group value appears across the submitted rows, and (2) a secondary-measure weighted mean (e.g. weighted mean of accepted_rows weighted by received_rows or vice versa) — both computed locally against the supplied data with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "dataset_group",
     "date",
     "received_rows",
     "accepted_rows"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "accepted_rows": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "dataset_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "received_rows": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "accepted_rows": 1,
     "dataset_group": "group-a",
     "received_rows": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "accepted_rows": 2,
     "dataset_group": "group-b",
     "received_rows": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "accepted_rows": 3,
     "dataset_group": "group-a",
     "received_rows": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "accepted_rows": 4,
     "dataset_group": "group-b",
     "received_rows": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "received_rows",
    "accepted_rows"
   ],
   "type": "string",
   "default": "received_rows"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-ingestion-batches-category-frequencies-secondary-measure-0d5baa18/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)
