# Training Example Metadata — Record Key Uniqueness Validator

> Training Example Metadata — Record Key Uniqueness Validator 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-24).

Validates that all record keys in a training-data CSV are unique, returning a uniqueness report for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-training-data-keys?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/training-example-metadata-record-key-uniqueness-validator-c6b21c75
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ibVfgI8VC3uHTWVq-2BZR

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-record-key-uniqueness-validator-c6b21c75 -d '<json body>'
```

Example prompt: Can you check my training data CSV for duplicate record keys? Here it is — it uses a comma delimiter and looks like: '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'. Tell me if any example_id values repeat.

## When to prefer this

Use this endpoint when you need a fast, cheap ($0.01 USDC) automated check that record/example IDs in a training data CSV are all unique, especially as part of a data pipeline quality gate before model training. Prefer it over general CSV validators when the specific concern is primary-key or record-key uniqueness in ML training datasets with up to 1000 rows and optional category allow-listing.

## Known failure modes

- CSV exceeds 100,000 character limit — rejected with size error
- CSV contains fewer than 1 character — rejected as empty
- Delimiter not one of comma, semicolon, or tab — rejected with enum validation error
- Cell content exceeds max_cell_length — flagged or truncated
- More than 1000 rows submitted — only first 1000 rows processed
- Malformed CSV quoting causes parse failure — error returned

## How this service works

Training example metadata — Record key uniqueness: Record key uniqueness 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 record key uniqueness report.

## Output

Returns a CSV record key uniqueness report indicating whether all keys are unique, identifying any duplicate key values and their row positions, based on up to 1000 rows of the submitted CSV.

## 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-record-key-uniqueness-validator-c6b21c75/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)
