# Data Pipeline Runs – Secondary-Measure Weighted Mean

> Data Pipeline Runs – 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 a secondary-measure weighted mean over up to 200 typed data pipeline run records (processed_rows or rejected_rows) with local descriptive analytics.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-pipeline-runs-weighted-average?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-pipeline-runs-secondary-measure-weighted-mean-68dac9a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gbgWfzjmvrST16u6-uYoA

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-pipeline-runs-secondary-measure-weighted-mean-68dac9a7 -d '<json body>'
```

Example prompt: Can you calculate the weighted mean of processed_rows across these pipeline run records? I have 4 runs: pipeline group-a on 2026-10-01 processed 10 rows with 1 rejected, group-b on 2026-10-02 processed 20 rows with 2 rejected, group-a on 2026-10-03 processed 15 rows with 3 rejected, group-b on 2026-10-04 processed 30 rows with 4 rejected.

## When to prefer this

Choose this endpoint when you need a fast, local weighted mean computation specifically for data pipeline run metrics (processed_rows or rejected_rows) without needing forecasting, enrichment, or external data lookups. Ideal for batch descriptive analytics on up to 200 pipeline run records at minimal cost ($0.01 USDC).

## Known failure modes

- Empty or missing rows array returns validation error
- More than 200 records submitted exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Null values in both numeric fields may produce undefined weighted mean
- Invalid field enum value other than processed_rows or rejected_rows rejected
- row_id missing or empty string causes required field validation failure

## How this service works

Data pipeline runs - Secondary-measure weighted mean: Secondary-measure weighted mean for Data pipeline runs. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded secondary-measure weighted mean report.

## Output

A bounded descriptive analytics report containing the secondary-measure weighted mean value for the specified numeric field (processed_rows or rejected_rows) computed over the supplied pipeline run records, with no enrichment or forecasting.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-pipeline-runs-secondary-measure-weighted-mean-68dac9a7/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)
