# Campaign Imports CSV Whitespace Audit

> Campaign Imports CSV Whitespace Audit 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 CSV file of campaign import data for whitespace issues, checking up to 1000 rows with configurable delimiters and cell constraints.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-campaigns-whitespace?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-whitespace-audit-549d00b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GwEWJajdwEcxpQJqu6OHq

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-whitespace-audit-549d00b1 -d '<json body>'
```

Example prompt: Can you run a whitespace audit on my campaign import CSV? It has columns campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue — use a comma delimiter, max cell length of 1000, and allowed categories are group-a and group-b.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC) pre-import whitespace validation pass specifically for campaign data CSVs with known columns (campaign_id, reported_on, channel_id, spend_amount, attributed_revenue). It is purpose-built for the campaign imports domain with configurable category allowlists and cell length limits, making it ideal for pipeline gates or pre-upload QA checks where whitespace defects would break downstream ingestion.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — validation may be truncated or refused
- Invalid delimiter specified — must be comma, semicolon, or tab
- Cell exceeds max_cell_length — flagged as violation
- Malformed CSV with unmatched quotes — parse error returned
- Empty CSV string submitted — validation fails immediately

## How this service works

Campaign imports — Whitespace audit: Whitespace audit 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 whitespace audit report.

## Output

A whitespace audit report covering up to 1000 rows of the submitted campaign CSV, identifying cells with leading/trailing or embedded whitespace issues, validated against the declared column contract, delimiter, max cell length, and allowed category values.

## 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-whitespace-audit-549d00b1/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)
