# Campaign Imports CSV Valid Row Export

> Campaign Imports CSV 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-20).

Validates a campaign imports CSV file and exports a report of valid rows, checking up to 1000 rows against declared schema constraints.

## Facts

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

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 campaign-imports-csv-valid-row-export-8802177d -d '<json body>'
```

Example prompt: Validate my campaign imports CSV — it uses a comma delimiter, has columns for campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue, and I want to flag any rows where values fall outside -1000 to 1000000 or the channel_id isn't in [group-a, group-b, group-c]. Give me back just the valid rows.

## When to prefer this

Use this endpoint when you need a fast, cheap ($0.01 USDC) server-side validation pass on campaign imports CSV data before ingesting it into a downstream system — especially when you need to enforce numeric bounds, allowed category values, and cell length constraints without any external data lookups or enrichment. Ideal for agentic pipelines that need a deterministic valid-row filter on marketing campaign CSVs up to 1000 rows.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only first 1000 processed
- Invalid delimiter specified — must be comma, semicolon, or tab
- Cell exceeds max_cell_length — row flagged as invalid
- Malformed CSV structure (unclosed quotes, mismatched columns) — parse error returned
- Numeric values outside min/max bounds — rows excluded from valid export

## How this service works

Campaign imports — Valid row export: Valid row export for Campaign 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 identifying which rows in the submitted campaign CSV are valid according to the declared constraints (delimiter, min/max numeric bounds, allowed category values, max cell length), returning up to 1000 validated rows without any external data enrichment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "campaign_id,reported_on,channel_id,spend_amount,attributed_revenue\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/campaign-imports-csv-valid-row-export-8802177d/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)
