# Delx Commerce — CSV Required Columns Check

> Delx Commerce — CSV Required Columns Check is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Validates that a CSV text contains all specified required column headers, returning pass/fail status and a list of any missing columns.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-required-columns-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-csv-required-columns-check-f15970f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gPEylfLngx1ALIw9YD0PK

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 delx-commerce-csv-required-columns-check-f15970f3 -d '<json body>'
```

Example prompt: Check if this CSV text has all the required columns — 'user_id', 'email', and 'created_at' — and tell me which ones are missing if any.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use, no-signup CSV header validation with cryptographic evidence of non-retention. Ideal for agent pipelines that process user-uploaded CSVs and need to gate downstream steps on schema compliance. Prefer over custom validation logic when auditability (SHA-256 evidence) and zero data retention are important requirements.

## Known failure modes

- Malformed or non-CSV text input may produce unexpected column detection results
- Column name matching may be case-sensitive, causing false negatives if header casing differs
- CSV with no header row will likely report all required columns as missing
- Input text exceeding 8192 characters will be rejected
- Required columns array exceeding 256 items will be rejected
- Payment failure (x402) will prevent the call from completing

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object indicating whether the CSV passed validation (passed: true/false), a list of any missing column names, the operation status ('pass' or 'fail'), and evidence metadata including whether input was retained (always false), the SHA-256 hash of the input for verifiability, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192,
   "description": "Text supplied to CSV Required Columns Check; used only for this bounded calculation and processed in memory without retention."
  },
  "required_columns": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Required Columns supplied to CSV Required Columns Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "passed": true,
   "missing_columns": []
  },
  "schema": "delx/util-csv-required-columns-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "775c5abb7e34060297d8b70ad6cc76e9040bb7f6113985a9158905cc7bcafa42",
   "external_calls": 0
  },
  "operation": "data_batch:csv_required_columns_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-csv-required-columns-check-f15970f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
