# Record Routing Analytics — Weighted Mean & Date-Category Pivot

> Record Routing Analytics — Weighted Mean & Date-Category Pivot 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 a secondary-measure weighted mean and a date-by-category pivot table for supplied record routing data (accepted_records, rejected_records) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-19-185?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-weighted-mean-date-category-pivot-bcc9e123
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y9SbxUdf1VQhTpiJ6YcVX

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-weighted-mean-date-category-pivot-bcc9e123 -d '<json body>'
```

Example prompt: Run a weighted mean and date-by-category pivot analysis on my record routing data — I have 4 rows with dates from 2026-10-01 to 2026-10-04, groups 'group-a' and 'group-b', and I want to analyze accepted_records as the primary field.

## When to prefer this

Choose this endpoint when you have up to 200 rows of record routing data with accepted/rejected counts and need both a weighted mean aggregation and a date-by-category pivot in a single low-cost ($0.01 USDC) call. Ideal for offline/batch analytical snapshots of routing performance where no live lookup or prediction is needed.

## Known failure modes

- More than 200 rows submitted — request rejected
- Missing required fields (row_id, date, dataset_group) — validation error
- Invalid date format (must match YYYY-MM-DD) — schema validation failure
- Null values in both measure fields — may produce undefined weighted mean
- Invalid field enum value (must be 'accepted_records' or 'rejected_records') — error

## How this service works

Record routing — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot 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 sharing the same input data: (1) a weighted mean of the selected secondary measure (accepted_records or rejected_records) and (2) a pivot table breaking down values by date and dataset_group category. No external lookups or predictions are made — all analysis is computed locally from the supplied 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-weighted-mean-date-category-pivot-bcc9e123/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)
