# Campaign Imports — CSV Validation Summary

> Campaign Imports — CSV Validation Summary 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 import CSV (up to 1000 rows) against declared contract rules and returns a structured validation summary report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-campaigns-summary?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-validation-summary-8b6a9d54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JIvNNDdLJYyXTvilMMl24

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-validation-summary-8b6a9d54 -d '<json body>'
```

Example prompt: Can you validate this campaign import CSV for me — it has columns campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue — and make sure spend amounts are between 0 and 500000 and all channel_id values are either 'paid-search' or 'display'? Use a comma delimiter and flag any cells over 500 characters.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, self-contained validation of a campaign import CSV file against declared rules (numeric bounds, category allowlists, cell length limits) without any external data enrichment. Ideal for pre-upload quality gates in marketing data pipelines handling standard campaign attribution schemas (campaign_id, channel_id, spend_amount, attributed_revenue).

## Known failure modes

- CSV exceeds 100000 character limit — request rejected
- More than 1000 rows submitted — only first 1000 evaluated or error returned
- Delimiter mismatch causing misparse of columns
- Numeric columns contain non-numeric strings causing constraint check failures
- allowed_categories list exceeds 100 entries — validation error
- Empty CSV input (minLength:1 violated) — request rejected

## How this service works

Campaign imports — Validation summary: Validation summary 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 validation summary report.

## Output

A structured validation summary report covering the parsed CSV: total row count processed (up to 1000), per-column constraint violations (numeric out-of-range, cell length exceeded, disallowed category values), and an overall pass/fail status — without any external enrichment or data lookups.

## 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-validation-summary-8b6a9d54/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)
