Preflight CSV rows before ETL or database import.
Check a vendor or customer CSV against the import contract you define before loading it into a database, CRM, or ETL pipeline. The API returns row-numbered issue codes without echoing cell values, so an agent can correct the source or stop a bad import before it reaches production.
$0.005 USDC per request · Base, Arbitrum, or Polygon
What the CSV preflight checks
- Required headers and required values
- Declared primitive types, allowed values, and numeric bounds
- Unique or composite keys and duplicate rows
- Optional formula-like cell detection
Checks are deterministic and make no model call. Send up to 1,000 CSV records with the column contract and rules that match your import.
Call the API
curl -i -X POST https://agent-evidence-extractor.defcronyke.workers.dev/v1/csv-preflight -H 'content-type: application/json' --data '{"csv":"sku,quantity\nA1,2","columns":{"sku":"string","quantity":"integer"},"required":["sku","quantity"],"unique_by":[["sku"]]}'The unpaid request returns an HTTP 402 challenge with the supported networks and exact payment terms. Review that quote before sending an x402 payment header.
This endpoint validates the contract you provide. It does not infer business rules, repair source data, or load the file into your database. Use CSV import ready to map headers and convert passing rows into typed JSON.