# Inventory Imports — Valid Row Export

> Inventory Imports — Valid Row Export 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-19).

Validates a CSV inventory import file and returns only the valid rows, checking stock IDs, dates, warehouse IDs, quantities, and allowed categories against configurable rules.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-inventory-valid-rows?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inventory-imports-valid-row-export-959df6d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7uwlNxGJem_5yOlO_nOpj

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 inventory-imports-valid-row-export-959df6d0 -d '<json body>'
```

Example prompt: Can you validate this inventory CSV and give me back only the valid rows? The file uses comma delimiters, warehouse categories are 'group-a' and 'group-b', on-hand quantities should be between 0 and 500000, and each cell shouldn't exceed 1000 characters.

## When to prefer this

Choose this endpoint when you need to validate inventory-specific CSV imports (with fields like stock_id, counted_on, warehouse_id, on_hand, reserved_units) and want only the passing rows returned as a structured report. It is purpose-built for inventory import validation with configurable category allowlists and numeric range enforcement, making it preferable over generic CSV validators when your use case is warehouse or stock-count data ingestion.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- Delimiter mismatch causes all rows to fail parsing
- No rows pass validation — empty valid-row result returned
- Cell exceeds max_cell_length — that row marked invalid
- Numeric values outside min/max range — rows excluded from output
- CSV malformed or unquoted — parsing errors on affected rows
- More than 1000 rows submitted — only first 1000 evaluated

## How this service works

Inventory imports — Valid row export: Valid row export for Inventory imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV valid row export report.

## Output

A report containing only the rows from the submitted CSV that passed all validation rules — including column structure checks, numeric range enforcement (minimum/maximum), allowed category membership for warehouse IDs, and cell-length constraints — with up to 1000 rows evaluated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "stock_id,counted_on,warehouse_id,on_hand,reserved_units\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3",
   "maxLength": 100000,
   "minLength": 1
  },
  "maximum": {
   "type": "number",
   "default": 1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": -1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t"
   ],
   "type": "string",
   "default": ","
  },
  "max_cell_length": {
   "type": "integer",
   "default": 1000,
   "maximum": 5000,
   "minimum": 1
  },
  "allowed_categories": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [
    "group-a",
    "group-b"
   ],
   "maxItems": 100,
   "minItems": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inventory-imports-valid-row-export-959df6d0/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)
