# API Usage Imports — Invalid Row Export

> API Usage Imports — Invalid 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-24).

Validates a CSV of API usage import data and exports a report of all invalid/non-conforming rows, checking up to 1000 rows against declared constraints.

## Facts

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

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 api-usage-imports-invalid-row-export-ea6399f3 -d '<json body>'
```

Example prompt: Check this API usage CSV for invalid rows and give me an export of just the bad ones — use a comma delimiter, flag any request_count or error_count below 0 or above 1000000, and only allow categories 'group-a' and 'group-b'.

## When to prefer this

Use this endpoint when you have a CSV of API usage import records and need to identify and export the specific rows that violate declared constraints (value ranges, allowed categories, cell length) before importing or processing the data. Prefer it over generic CSV validators when your data follows the usage_id/observed_on/endpoint_id/request_count/error_count schema and you need a structured invalid-row export rather than just a pass/fail result.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- CSV has fewer than 1 row of data — validation cannot proceed
- Delimiter mismatch causes all rows to appear malformed
- max_cell_length set below actual cell lengths causing false positives
- More than 1000 rows submitted — only first 1000 processed
- Malformed CSV syntax (unclosed quotes) may cause parse errors

## How this service works

API usage imports — Invalid row export: Invalid row export for API usage 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 invalid row export report.

## Output

A report listing all rows from the submitted CSV that fail the declared validation rules, including rows with disallowed category values, numeric values outside the specified min/max range, cells exceeding the max cell length, or other structural issues. Up to 1000 rows are checked per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "usage_id,observed_on,endpoint_id,request_count,error_count\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/api-usage-imports-invalid-row-export-ea6399f3/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)
