# Record Routing Duplicate Key Report and Secondary-Measure Weighted Mean

> Record Routing Duplicate Key Report and 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).

Analyzes up to 200 record routing rows to produce two reports: a duplicate key report and a secondary-measure weighted mean for accepted_records or rejected_records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-19-067?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-duplicate-key-report-and-secondary-measure-weighted-mean-0fdf1496
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HBuFWGDpZDhG70Z8AXHjv

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-duplicate-key-report-and-secondary-measure-weighted-mean-0fdf1496 -d '<json body>'
```

Example prompt: Can you run a duplicate key report and compute the weighted mean for accepted_records on my routing dataset? I have 4 rows: row-1 group-a 2026-10-01 accepted=10 rejected=1, row-2 group-b 2026-10-02 accepted=20 rejected=2, row-3 group-a 2026-10-03 accepted=15 rejected=3, row-4 group-b 2026-10-04 accepted=30 rejected=4.

## When to prefer this

Choose this endpoint when you have up to 200 record routing rows and need both a duplicate key audit and a weighted mean computation in a single low-cost call ($0.01 USDC). It is ideal for ETL data quality checks, pipeline audits, or batch analytics on accepted/rejected record counts without requiring any external data sources or live lookups.

## Known failure modes

- Exceeding 200 rows returns an error or truncated result
- Missing required fields (row_id, date, dataset_group, accepted_records, rejected_records) cause validation errors
- Invalid date format (not YYYY-MM-DD) triggers schema rejection
- Null values in the selected measure field may affect weighted mean computation
- Payment failure via x402 protocol prevents execution

## How this service works

Record routing — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + 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) a duplicate key report identifying rows with repeated row_id values across the supplied dataset, and (2) a secondary-measure weighted mean for the chosen field (accepted_records or rejected_records), computed across all supplied rows using shared local analytical engines. No external lookups or predictions are made.

## 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-duplicate-key-report-and-secondary-measure-weighted-mean-0fdf1496/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)
