# Equipment Runtime Secondary-Measure Weighted Mean

> Equipment Runtime 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 of equipment runtime data (run_hours or downtime_hours) across up to 200 typed records using local numeric processing.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-equipment-runtime-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/equipment-runtime-secondary-measure-weighted-mean-88b861c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1GlA6ge_3WAq9T34EmsIl

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 equipment-runtime-secondary-measure-weighted-mean-88b861c8 -d '<json body>'
```

Example prompt: Calculate the secondary-measure weighted mean for these 4 equipment records — machine group-a ran 10 hours with 1 downtime hour on 2026-10-01, group-b ran 20 hours with 2 downtime hours on 2026-10-02, group-a ran 15 hours with 3 downtime hours on 2026-10-03, and group-b ran 30 hours with 4 downtime hours on 2026-10-04 — and use run_hours as the target field.

## When to prefer this

Choose this endpoint when you need a statistically sound weighted mean of equipment runtime or downtime hours using a secondary measure as the weight, for up to 200 records, with no need for external enrichment or forecasting. Prefer it over simple arithmetic mean calculations when the relative magnitude of the secondary field should influence the aggregate result. It is well-suited for fleet-level operational analytics and maintenance planning pipelines where local, deterministic numeric processing is sufficient.

## Known failure modes

- Missing required fields (row_id, machine, date, run_hours, or downtime_hours) causes validation failure
- Supplying more than 200 rows exceeds the maxItems limit and will be rejected
- Invalid date format (not YYYY-MM-DD) triggers a pattern validation error
- Null values for both run_hours and downtime_hours on a record may produce undefined weighting behavior
- Invalid field enum value (not 'run_hours' or 'downtime_hours') causes input rejection
- Empty rows array (minItems: 1 not met) returns a validation error

## How this service works

Equipment runtime - Secondary-measure weighted mean: Secondary-measure weighted mean for Equipment runtime. 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

Returns a single secondary-measure weighted mean value computed from up to 200 equipment runtime records, with the target field (run_hours or downtime_hours) weighted by the complementary secondary measure. Includes data quality indicators and bounded numeric output derived entirely from local processing.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/equipment-runtime-secondary-measure-weighted-mean-88b861c8/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)
