# Pipeline Durations — Secondary-Measure Weighted Mean + Date by Category Pivot

> Pipeline Durations — Secondary-Measure Weighted Mean + Date by 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-18).

Computes a secondary-measure weighted mean and a date-by-category pivot table for supplied pipeline duration records (run_seconds, processed_rows), returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-05-185?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/pipeline-durations-secondary-measure-weighted-mean-date-by-category-b4d293ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bYn7VZhHGib57eGUciYD-

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 pipeline-durations-secondary-measure-weighted-mean-date-by-category-b4d293ff -d '<json body>'
```

Example prompt: I have a batch of pipeline run records — each with a row_id, date, dataset_group, run_seconds, and processed_rows — can you compute the weighted mean of run_seconds (weighted by processed_rows) and also generate a date-by-category pivot table from this data?

## When to prefer this

Choose this endpoint when you have pipeline duration records with both run_seconds and processed_rows and need two specific computations — a secondary-measure weighted mean and a date-by-category pivot — in a single paid call. It is ideal for data engineering teams doing batch analytics on up to 200 ETL job records without needing an external database or BI tool.

## Known failure modes

- Missing required fields (row_id, date, dataset_group, run_seconds, processed_rows) cause validation errors
- More than 200 rows submitted exceeds the maxItems limit and will be rejected
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Null values in run_seconds or processed_rows may affect weighted mean computation
- Payment of 0.01 USDC not completed results in 402 response and no computation

## How this service works

Pipeline durations — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot for supplied pipeline durations records (run_seconds, processed_rows). 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

Two analytical reports derived from the supplied records: (1) a secondary-measure weighted mean of the selected field (run_seconds or processed_rows), weighted by the other measure; and (2) a date-by-category pivot table cross-tabulating the selected field by date and dataset_group. No external data is fetched; all computation is performed on the submitted rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pipeline-durations-secondary-measure-weighted-mean-date-by-category-b4d293ff/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)
