# Research Sample Recovery – Trailing Mean Series

> Research Sample Recovery – 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-16).

Computes a rolling/trailing mean time series for research sample recovery metrics (input mass or recovered mass) over a user-defined window across up to 200 typed records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-sample-recovery-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/research-sample-recovery-trailing-mean-series-134a1e23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k0U1ZaW-4BNvDfF81mO-q

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 research-sample-recovery-trailing-mean-series-134a1e23 -d '<json body>'
```

Example prompt: Can you calculate a trailing mean series with a window of 3 for the recovered_mass_g field across my sample recovery records: row-1 on 2026-10-01 specimen group-a with input 10g recovered 1g, row-2 on 2026-10-02 specimen group-b input 20g recovered 2g, row-3 on 2026-10-03 group-a input 15g recovered 3g?

## When to prefer this

Choose this endpoint when you have time-series sample recovery data (input mass and/or recovered mass per specimen per date) and need a simple, local trailing mean computation without any external enrichment or forecasting. It is ideal for smoothing noisy lab measurements, identifying trends in recovery rates, and generating bounded descriptive rolling statistics within a single API call. Prefer this over general-purpose analytics tools when you want a lightweight, cost-effective ($0.01) computation scoped specifically to research sample recovery domain vocabulary.

## Known failure modes

- Fewer than 1 row submitted returns a validation error
- Window size larger than number of submitted rows may produce partial or null early values
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Field value not in enum ['input_mass_g','recovered_mass_g'] returns a validation error
- Mass values outside ±1,000,000,000,000 bounds rejected
- More than 200 rows submitted exceeds maxItems limit and is rejected
- Payment of 0.01 USDC not supplied or invalid causes 402 Payment Required

## How this service works

Research sample recovery - Trailing mean series: Trailing mean series for Research sample recovery. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded trailing mean series report.

## Output

Returns a bounded trailing mean series report: for each row in the input dataset (sorted by date), the endpoint computes the rolling average of the selected field (input_mass_g or recovered_mass_g) over the specified window size. Output is a local descriptive analytics report — no enrichment, forecasting, or external data — covering up to 200 records in a single call.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/research-sample-recovery-trailing-mean-series-134a1e23/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)
