# Call Centre Secondary-Measure Weighted Mean

> Call Centre 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-19).

Computes a secondary-measure weighted mean for call centre records, weighting one numeric field (e.g. wait_seconds) by another (e.g. calls) across up to 200 supplied rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-call-centre-weighted-average?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/call-centre-secondary-measure-weighted-mean-4d6ecfc0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lVp5FCZtayGkW-jLMtPTe

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 call-centre-secondary-measure-weighted-mean-4d6ecfc0 -d '<json body>'
```

Example prompt: Can you calculate the weighted mean of wait_seconds weighted by calls across these four call centre records: row-1 (group-a, 2026-10-01, 10 calls, 1s wait), row-2 (group-b, 2026-10-02, 20 calls, 2s wait), row-3 (group-a, 2026-10-03, 15 calls, 3s wait), row-4 (group-b, 2026-10-04, 30 calls, 4s wait)?

## When to prefer this

Choose this endpoint when you need a statistically correct secondary-measure weighted mean specifically for call centre data (calls volume and wait seconds) over up to 200 records, processed locally without external API dependencies, at a fixed low cost of $0.01 USDC per calculation.

## Known failure modes

- Empty or missing rows array returns an error
- More than 200 rows submitted exceeds the maxItems limit
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Null values in both the value and weight fields may produce undefined or zero output
- row_id missing or empty string fails minLength validation
- field enum value not 'calls' or 'wait_seconds' causes rejection

## How this service works

Call centre - Secondary-measure weighted mean: Secondary-measure weighted mean for Call centre. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded secondary-measure weighted mean deliverable.

## Output

A single bounded numeric result representing the weighted mean of the selected field (calls or wait_seconds), where each row's value is weighted by the other numeric field, computed locally from the supplied records with no external enrichment.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/call-centre-secondary-measure-weighted-mean-4d6ecfc0/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)
