# Reservoir Observations — String Normalisation + Secondary-Measure Weighted Mean

> Reservoir Observations — String Normalisation + 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-11-02).

Normalises station/group strings and computes a capacity_m3-weighted mean of stored_m3 (or vice versa) across up to 200 reservoir observation rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-19-034?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reservoir-observations-string-normalisation-secondary-measure-91538bea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QsKCoisnUKMt-QPD1Dgct

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 reservoir-observations-string-normalisation-secondary-measure-91538bea -d '<json body>'
```

Example prompt: I have a set of reservoir observation records with stored_m3 and capacity_m3 values across several station groups — can you normalise the station group strings and compute a capacity-weighted mean of stored_m3 for me? I'll send up to 50 rows with fields like row_id, date, station_group, stored_m3, and capacity_m3.

## When to prefer this

Choose this endpoint when you have reservoir observation data (stored volume and capacity in cubic metres) and need both string normalisation on categorical fields and a secondary-measure weighted mean computed locally — without any external lookup, prediction, or live data fetch. Ideal for batch analytical pipelines on up to 200 rows where reproducibility and low cost matter.

## Known failure modes

- Missing required fields (row_id, station_group, date, stored_m3, capacity_m3) cause validation errors
- Submitting more than 200 rows triggers a payload size rejection
- Null values in both stored_m3 and capacity_m3 for a row may cause incomplete weighted mean output
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Empty rows array returns an error

## How this service works

Reservoir observations — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean for supplied reservoir observations records (stored_m3, capacity_m3). 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: (1) a string normalisation report cleaning the station_group field values, and (2) a secondary-measure weighted mean report computing the weighted average of the selected field (e.g. stored_m3) using the other measure (e.g. capacity_m3) as the weight, across the supplied rows grouped by station_group.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reservoir-observations-string-normalisation-secondary-measure-91538bea/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)
