# Training Example Metadata — CSV Header Contract Check

> Training Example Metadata — CSV Header Contract Check 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-12).

Validates a declared CSV table contract (headers, types, categories, numeric ranges, cell lengths) for training example metadata, returning a structured report for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-training-data-schema?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/training-example-metadata-csv-header-contract-check-aec74825
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3o1MNgOw3g1lI-L6_VawW

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 training-example-metadata-csv-header-contract-check-aec74825 -d '<json body>'
```

Example prompt: Can you check whether my training data CSV conforms to its header contract? The CSV uses comma delimiters, allows categories 'group-a' and 'group-b', cells up to 1000 characters, and numeric values between -1000000000000 and 1000000000000 — here's the CSV content: 'example_id,created_on,label,text_length,sample_weight\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3'

## When to prefer this

Use this endpoint when you need to validate a training data CSV against a formally declared header contract — checking column headers, category allowlists, numeric ranges, and cell lengths in a single pass. Prefer it over generic CSV linters when working specifically with ML training example datasets that have structured label and weight columns, and when you need a machine-readable compliance report without external data enrichment.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- CSV contains fewer than 1 character — minLength violation
- Delimiter not one of comma, semicolon, or tab — enum validation error
- Cell length exceeds specified max_cell_length — flagged in report
- Numeric values outside specified minimum/maximum bounds — constraint violation reported
- Allowed categories array contains more than 100 items — schema error
- Payment not included or insufficient — 402 Payment Required

## How this service works

Training example metadata — Header contract check: Header contract check for Training example metadata. 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 header contract check report.

## Output

A structured CSV header contract check report indicating whether the submitted CSV conforms to the declared contract, including any violations of category constraints, numeric range bounds, cell length limits, delimiter format, or header expectations — covering up to 1000 rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "example_id,created_on,label,text_length,sample_weight\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/training-example-metadata-csv-header-contract-check-aec74825/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)
