# Pipeline Durations Analytics: Two-Measure Correlation + Secondary-Measure Weighted Mean

> Pipeline Durations Analytics: Two-Measure Correlation + 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 Pearson correlation between run_seconds and processed_rows, plus a weighted mean for a chosen secondary measure, across up to 200 pipeline duration records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-05-181?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-analytics-two-measure-correlation-secondary-6e1aa472
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j5rRw4r8pjbQvSkE4b1bO

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-analytics-two-measure-correlation-secondary-6e1aa472 -d '<json body>'
```

Example prompt: I have pipeline run data with run_seconds and processed_rows for about 50 jobs — can you calculate the correlation between run time and rows processed, plus the weighted mean of processed_rows across all runs?

## When to prefer this

Choose this endpoint when you have tabular pipeline duration data (run_seconds + processed_rows) and need both a correlation analysis and a weighted mean in a single low-cost call. It is ideal for data engineers wanting quick offline statistical summaries without setting up local tooling or making external predictions. Prefer it over general-purpose statistics APIs when your data fits the pipeline duration schema and you want two reports for a flat $0.01 USDC fee.

## Known failure modes

- Fewer than 1 row supplied — minimum items validation error
- More than 200 rows submitted — maxItems exceeded error
- Missing required fields (row_id, date, run_seconds, processed_rows, dataset_group) cause schema validation failure
- Invalid date format (not YYYY-MM-DD) triggers pattern validation error
- Null values in both numeric fields may cause degenerate correlation results
- Payment of 0.01 USDC not provided or x402 protocol not followed — payment required error

## How this service works

Pipeline durations — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean 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

Returns two analytical reports sharing local computation: (1) a Pearson or similar correlation coefficient between run_seconds and processed_rows across the supplied rows, and (2) a weighted mean for the chosen secondary measure field (run_seconds or processed_rows). No external lookups or predictions are made; results are derived purely from the submitted data.

## 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-analytics-two-measure-correlation-secondary-6e1aa472/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)
