# Manufacturing Output Trailing Mean Series

> Manufacturing Output Trailing Mean Series 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-15).

Computes a trailing (rolling) mean time series for manufacturing output metrics (units or defects) across production lines, using locally processed row data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-manufacturing-output-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manufacturing-output-trailing-mean-series-b94f9488
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PmRAEgKgAA0pgYVX4vD88

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 manufacturing-output-trailing-mean-series-b94f9488 -d '<json body>'
```

Example prompt: Calculate a trailing mean series for units produced on production line 'line-A' using a window of 7, given these daily rows: row-1 on 2024-01-01 had 120 units and 3 defects, row-2 on 2024-01-02 had 135 units and 5 defects, row-3 on 2024-01-03 had 110 units and 2 defects — I want to smooth out the daily noise in the units field.

## When to prefer this

Choose this endpoint when you need a simple, locally computed trailing mean series for manufacturing output data (units or defects) without requiring external data enrichment, forecasting, or complex statistical modeling. It is ideal for smoothing noisy daily production or defect records across one or more production lines, up to 200 rows, at very low cost ($0.01 USDC). Prefer this over general-purpose analytics platforms when you want a lightweight, deterministic rolling average with no external dependencies.

## Known failure modes

- Fewer input rows than the window size results in no computable trailing values for early rows
- Invalid date format (not YYYY-MM-DD) causes validation rejection
- Exceeding 200 rows triggers a maxItems schema violation
- Null numeric values in the selected field may affect rolling calculations or be skipped
- Invalid field value (not 'units' or 'defects') causes enum validation failure
- Window value outside 2–200 range is rejected by schema

## How this service works

Manufacturing output - Trailing mean series: Trailing mean series for Manufacturing output. 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 trailing mean series deliverable.

## Output

Returns a bounded trailing mean series: for each row in the input (after the initial window fills), the rolling average of the selected field (units or defects) over the specified window size, along with row identifiers, dates, and line labels. Up to 200 rows processed locally with data-quality indicators; no external enrichment or forecasting is applied.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manufacturing-output-trailing-mean-series-b94f9488/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)
