# Migration Batches Record Quality Audit + Secondary-Measure Weighted Mean

> Migration Batches Record Quality Audit + 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-26).

Audits data quality and computes a weighted mean for a secondary measure across supplied migration batch records (records_migrated, failed_records) in a single call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-software-18-016?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/migration-batches-record-quality-audit-secondary-measure-weighted-mean-f187a5ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZlS1QYEwgJqYQdJUlK57m

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 migration-batches-record-quality-audit-secondary-measure-weighted-mean-f187a5ec -d '<json body>'
```

Example prompt: Can you run a quality audit and weighted mean on my migration batch data? I have rows with row_id, component (group-a and group-b), date, records_migrated, and failed_records — up to 50 rows — and I want the weighted mean calculated on the records_migrated field.

## When to prefer this

Choose this endpoint when you need both a data quality audit and a weighted mean statistic on migration batch records in a single low-cost call. It is ideal for ETL and data migration workflows where you want to validate record completeness and compute aggregate metrics on records_migrated or failed_records without any external data lookups or predictions. Best suited for batches up to 200 rows processed analytically on supplied data only.

## Known failure modes

- Submitting more than 200 rows returns a validation error
- Missing required fields (row_id, component, date, records_migrated, failed_records) causes row-level rejection
- Invalid date format (non YYYY-MM-DD) triggers a pattern validation error
- Providing an invalid field enum value (not records_migrated or failed_records) returns a schema error
- Empty rows array returns a minItems validation error
- Numeric values outside [-1000000000000, 1000000000000] are rejected
- Payment of 0.01 USDC required; insufficient payment results in 402 response

## How this service works

Migration batches — Record quality audit + Secondary-measure weighted mean: Record quality audit + Secondary-measure weighted mean for supplied migration batches records (records_migrated, failed_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 analytical reports: (1) a record quality audit highlighting data issues such as nulls, out-of-range values, or malformed fields across the supplied migration batch rows, and (2) a weighted mean calculation for the selected measure (records_migrated or failed_records). Both reports are generated locally from the supplied data with no external lookups. Up to 200 rows are supported per call.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/migration-batches-record-quality-audit-secondary-measure-weighted-mean-f187a5ec/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)
