# Prediction Result Imports — Record Key Uniqueness Validator

> Prediction Result Imports — 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-16).

Validates that all record keys in a CSV of prediction result imports are unique, returning a uniqueness report for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-predictions-keys?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-result-imports-record-key-uniqueness-validator-3c62df9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-2lkbjl9_KjAvBnNZhrM1

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 prediction-result-imports-record-key-uniqueness-validator-3c62df9a -d '<json body>'
```

Example prompt: Check this predictions CSV for duplicate record keys before I import it — use a comma delimiter and flag any rows where prediction_id appears more than once: 'prediction_id,predicted_on,model_id,probability,latency_ms\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 a lightweight, low-cost ($0.01 USDC) uniqueness check specifically for prediction result import CSVs, especially when you want a structured report before committing data to a store. Prefer this over generic CSV validators when your data follows the prediction_id/model_id/probability schema and you need enforcement of allowed categories and value ranges alongside key uniqueness.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows in CSV — only up to 1000 rows validated
- Invalid delimiter specified (must be comma, semicolon, or tab)
- Cell length exceeds max_cell_length setting — cell flagged or rejected
- Category values not in allowed_categories list — validation failure
- Malformed CSV with unmatched quotes — parsing error returned
- Empty CSV input — validation cannot proceed

## How this service works

Prediction result imports — Record key uniqueness: Record key uniqueness for Prediction result imports. 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

A CSV record key uniqueness report indicating whether all record keys are unique, identifying any duplicate keys found across up to 1000 rows, along with any validation errors related to cell length, allowed categories, or value range constraints.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "prediction_id,predicted_on,model_id,probability,latency_ms\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/prediction-result-imports-record-key-uniqueness-validator-3c62df9a/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)
