# CSV Import Preflight

> CSV Import Preflight is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.013501/call, status unknown (last checked 2026-10-20).

Inspects CSV files for quoting issues, declared scalar types, column count consistency, and spreadsheet-formula prefixes without executing or repairing any cell data.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/verify/legacy/csv-import-preflight?utm_source=zero.xyz
- Price: $0.013501/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csv-import-preflight-9b910e8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AilgVOhArGdY4Gvqm1qlt

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 csv-import-preflight-9b910e8f -d '<json body>'
```

Example prompt: Can you run a preflight inspection on this public CSV data to check for quoting errors, mismatched column counts, and any spreadsheet-formula prefixes before I import it — mark it as public data and confirm no personal info is included?

## When to prefer this

Choose this endpoint when you need a read-only, non-destructive preflight check on a CSV file before importing it into a database or pipeline — specifically when you need to catch quoting errors, formula-injection prefixes, column count inconsistencies, or scalar type mismatches without any risk of data modification. It is best suited for public or synthetic (non-personal) data up to 32 KiB. Prefer this over general-purpose CSV parsers when you need a safety-focused inspection that explicitly avoids executing or repairing cell content.

## Known failure modes

- Input exceeds 32 KiB limit — request rejected
- dataClass not set to 'public' or 'synthetic' — validation error
- nonpersonalMetadata not set to true — request rejected
- Malformed or unparseable CSV structure — inspection may return partial results
- Output exceeds 65 KB limit — truncated or error response

## How this service works

Inspect supplied CSV quoting, declared scalar types, column counts and spreadsheet-formula prefixes without executing or repairing cells. Public/synthetic nonpersonal input only; 32 KiB input, 65 KB output. Result retention: 24 hours; minimal receipt metadata: 90 days. Local validation only; deployment and model spending on hold.

## Output

A preflight inspection report detailing CSV quoting problems, column count mismatches, detected spreadsheet-formula prefixes, and scalar type declaration issues — all without executing or repairing any cell content. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request": {
   "type": "object"
  },
  "dataClass": {
   "enum": [
    "public",
    "synthetic"
   ],
   "type": "string"
  },
  "nonpersonalMetadata": {
   "type": "boolean",
   "const": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/csv-import-preflight-9b910e8f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
