# Record Routing Analytics — Category Frequencies + Secondary-Measure Weighted Mean

> Record Routing Analytics — 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-23).

Computes category-level frequencies and a secondary-measure weighted mean for accepted/rejected record routing data, returning two local analytical reports for up to 200 rows.

## Facts

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

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 record-routing-analytics-category-frequencies-secondary-measure-2deae373 -d '<json body>'
```

Example prompt: Can you run a category-frequency and weighted-mean analysis on my record routing data? I have up to 50 rows with fields: row_id, dataset_group, date, accepted_records, and rejected_records — use accepted_records as the primary measure field.

## When to prefer this

Choose this endpoint when you need two quick local analytical summaries — category frequency distribution and a weighted mean of a numeric routing measure — on a batch of up to 200 record routing rows, without requiring live data lookup, external API calls, or prediction models. Ideal for lightweight ETL auditing, data quality dashboards, or pipeline monitoring tasks where cost efficiency ($0.01 USDC for both reports) matters.

## Known failure modes

- Fewer than 1 row supplied — minItems validation failure
- Row missing required fields (row_id, dataset_group, date, accepted_records, rejected_records) — schema validation error
- Date field does not match YYYY-MM-DD pattern — pattern validation error
- More than 200 rows supplied — maxItems exceeded error
- Numeric values outside ±1,000,000,000,000 range — bounds validation error
- Invalid field enum value (must be 'accepted_records' or 'rejected_records') — enum validation error

## How this service works

Record routing — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean for supplied record routing records (accepted_records, rejected_records). 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) category frequencies showing how often each dataset_group appears across the supplied rows, and (2) a weighted mean of the chosen secondary measure (accepted_records or rejected_records) computed using local analytical engines — no external lookups or predictions. Both reports cover up to 200 input rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/record-routing-analytics-category-frequencies-secondary-measure-2deae373/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)
