# Patch Inventories — String Normalisation + Explicit Missing-Value Fill

> Patch Inventories — String Normalisation + Explicit 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-22).

Normalises strings and fills missing values (zero, mean, or median) in patch inventory records containing affected_hosts and patched_hosts fields, up to 200 rows across 2 reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-security-02-037?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/patch-inventories-string-normalisation-explicit-missing-value-fill-c799c24c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FpIPQEHUuqIPXSWQzWV5k

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 patch-inventories-string-normalisation-explicit-missing-value-fill-c799c24c -d '<json body>'
```

Example prompt: Can you clean up my patch inventory data? I have 4 rows with control groups 'group-a' and 'group-b', dates from 2026-10-01 to 2026-10-04, and some null values in the affected_hosts field — please fill those missing values using the median method.

## When to prefer this

Choose this endpoint when you need lightweight, local data-quality processing for patch inventory records specifically — normalising string fields and imputing missing numeric host-count values without any external lookup or live data. It is best suited for batch pre-processing of up to 200 rows at very low cost ($0.01 USDC for 2 reports). Prefer it over general-purpose data-cleaning services when your data matches the patch inventory schema (affected_hosts, patched_hosts, control_group, date).

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Invalid date format (not YYYY-MM-DD) — validation error
- Missing required fields (row_id, control_group, date) — schema error
- Invalid fill method enum value — validation error
- Invalid field enum value — validation error
- Payment not received or insufficient — 402 response

## How this service works

Patch inventories — String normalisation + Explicit missing-value fill: String normalisation + Explicit missing-value fill for supplied patch inventories records (affected_hosts, patched_hosts). 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 up to 2 cleaned analytical reports covering the supplied patch inventory rows, with string fields normalised and missing numeric values in the specified field (affected_hosts or patched_hosts) explicitly filled using the chosen method (zero, mean, or median). Each report covers up to 200 input rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/patch-inventories-string-normalisation-explicit-missing-value-fill-c799c24c/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)
