# Damaged Stock Numeric Row Ordering and Trailing Mean Series

> Damaged Stock Numeric Row Ordering and 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-22).

Computes numeric row ordering and trailing mean series for supplied damaged stock records (handled_units, damaged_units) over up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-retail-18-115?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/damaged-stock-numeric-row-ordering-and-trailing-mean-series-7307a7f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g-VQXZZSBDnHS3rt4lxwJ

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 damaged-stock-numeric-row-ordering-and-trailing-mean-series-7307a7f2 -d '<json body>'
```

Example prompt: Can you run the numeric row ordering and trailing mean series reports on my damaged stock data? I have 4 rows with handled_units and damaged_units by store group, and I want to analyze the damaged_units field with a window of 3.

## When to prefer this

Choose this endpoint when you need both numeric row ordering and a trailing mean series computed together on damaged stock records (up to 200 rows) in a single low-cost call. It is best suited for offline or batch analytical reporting on retail inventory damage data where no live prediction, external lookup, or professional assessment is needed. Prefer this over general-purpose analytics tools when working specifically with handled_units and damaged_units retail fields and needing two bundled reports for a flat $0.01 USDC fee.

## Known failure modes

- Fewer than 1 row submitted — minimum row count not met
- More than 200 rows submitted — exceeds maximum row limit
- Missing required fields (row_id, date, handled_units, damaged_units) in one or more rows
- Invalid date format not matching YYYY-MM-DD pattern
- Window size less than 2 or greater than 200
- Payment not provided or insufficient — x402 payment required
- Null numeric values causing computation gaps in trailing mean

## How this service works

Damaged stock — Numeric row ordering + Trailing mean series: Numeric row ordering + Trailing mean series for supplied damaged stock records (handled_units, damaged_units). 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 for the supplied rows: (1) a numeric row ordering of the records, and (2) a trailing mean series for the selected field (handled_units or damaged_units) computed over the specified window size. Both reports are derived locally from the submitted data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/damaged-stock-numeric-row-ordering-and-trailing-mean-series-7307a7f2/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)
