# Research Sample Recovery – Secondary-Measure Weighted Mean

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

Computes a secondary-measure weighted mean over up to 200 research sample recovery records (specimen, date, input_mass_g, recovered_mass_g), returning a single bounded descriptive statistic locally.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-sample-recovery-weighted-average?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/research-sample-recovery-secondary-measure-weighted-mean-7582f53f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XWbasULc-OhchBgb6vYrr

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-secondary-measure-weighted-mean-7582f53f -d '<json body>'
```

Example prompt: I have a batch of 12 sample recovery records with specimen labels, dates, input masses, and recovered masses — can you compute the secondary-measure weighted mean using recovered_mass_g as the field across all of them?

## When to prefer this

Choose this endpoint when you have up to 200 research sample recovery records with input and recovered mass measurements and need a quick, local weighted mean descriptive statistic with no external enrichment or forecasting. It is purpose-built for specimen-level mass recovery analytics in a research context, making it more appropriate than general-purpose statistics APIs when your data maps directly to the specimen/date/mass schema.

## Known failure modes

- Fewer than 1 row supplied — validation error
- More than 200 rows supplied — request rejected
- Missing required fields (row_id, specimen, date, input_mass_g, recovered_mass_g) — row-level validation failure
- Date field not matching YYYY-MM-DD pattern — parse error
- Null mass values in the weight field may affect or exclude rows from computation
- Invalid enum value for 'field' parameter — schema error

## How this service works

Research sample recovery - Secondary-measure weighted mean: Secondary-measure weighted mean 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 secondary-measure weighted mean report.

## Output

A bounded secondary-measure weighted mean report covering the submitted sample recovery records, computed locally without enrichment or forecasting. Returns a single weighted mean value derived from the selected mass field across all valid rows.

## 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/research-sample-recovery-secondary-measure-weighted-mean-7582f53f/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)
