# Document Retrieval Analytics — Weighted Mean & Missing-Value Fill

> Document Retrieval Analytics — Weighted Mean & Missing-Value Fill 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-30).

Computes a secondary-measure weighted mean and fills missing values for document retrieval records (retrieved_bytes, request_ms) across up to 200 rows, returning 2 analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-web-09-187?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/document-retrieval-analytics-weighted-mean-missing-value-fill-ca000d68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZC7RkdQiS_Z53Punb4Oz-

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 document-retrieval-analytics-weighted-mean-missing-value-fill-ca000d68 -d '<json body>'
```

Example prompt: I have 4 document retrieval records with site groups and dates — can you compute a secondary-measure weighted mean on retrieved_bytes, filling any missing values using median, and give me both analytical reports? Rows: row-1 group-a 2026-10-01 bytes=10 ms=1, row-2 group-b 2026-10-02 bytes=20 ms=2, row-3 group-a 2026-10-03 bytes=15 ms=null, row-4 group-b 2026-10-04 bytes=30 ms=4.

## When to prefer this

Choose this endpoint when you have up to 200 tabular document retrieval records with retrieved_bytes and request_ms columns, need a secondary-measure weighted mean, and require explicit null/missing-value handling (zero, mean, or median fill) — all without any live data lookups or external connections. It is ideal for lightweight, self-contained batch analytics on retrieval log snapshots at very low cost ($0.01 USDC for 2 reports).

## Known failure modes

- More than 200 rows submitted — request rejected with validation error
- Missing required fields (row_id, site_group, date) on any row — schema validation failure
- Invalid date format (not YYYY-MM-DD) — pattern validation error
- Numeric values outside allowed range (-1e12 to 1e12) — schema rejection
- Empty rows array — minItems:1 violation
- Invalid enum value for field or method parameters — schema error

## How this service works

Document retrieval — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied document retrieval records (retrieved_bytes, request_ms). 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 2 independent analytical reports: (1) a secondary-measure weighted mean of the chosen field (retrieved_bytes or request_ms) and (2) an explicit missing-value fill result for the same dataset, both computed locally on the supplied rows (up to 200) without any external lookups or live data.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/document-retrieval-analytics-weighted-mean-missing-value-fill-ca000d68/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)
