# Prediction Result Imports — Trimmed Typed Conversion

> Prediction Result Imports — Trimmed Typed Conversion 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-15).

Validates and normalizes a CSV table of prediction results by trimming whitespace, inferring types, and enforcing schema contracts up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-predictions-normalise?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-result-imports-trimmed-typed-conversion-d7753df3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xiH0poF6l8KNuju2aIaMy

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-trimmed-typed-conversion-d7753df3 -d '<json body>'
```

Example prompt: Can you validate and normalize this predictions CSV for me — it has columns prediction_id, predicted_on, model_id, probability, and latency_ms, delimited by commas, with allowed categories group-a and group-b, and probabilities that should be between 0 and 1? Here's the raw CSV data to check.

## When to prefer this

Choose this endpoint when you need to validate and normalize a prediction results CSV against a declared schema contract, especially when you require typed conversion (not just raw text parsing), whitespace trimming, category allowlist enforcement, and numeric bounds checking — all without any external enrichment or side effects. Ideal for data pipeline pre-ingestion gates, CI schema checks, and ML output quality validation up to 1000 rows.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — validation capped or rejected
- Cell value exceeds max_cell_length — flagged as violation
- Numeric value outside specified minimum/maximum range — flagged
- Category value not in allowed_categories list — flagged as invalid
- Malformed CSV structure (unclosed quotes, wrong delimiter) — parse error returned
- Empty CSV string submitted — rejected due to minLength constraint

## How this service works

Prediction result imports — Trimmed typed conversion: Trimmed typed conversion 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 trimmed typed conversion report.

## Output

Returns a trimmed typed conversion report for the submitted prediction results CSV, including type-inferred and whitespace-trimmed cell values, schema contract validation results, any row or cell-level violations, and summary pass/fail status — covering up to 1000 rows with quoted cell support.

## 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-trimmed-typed-conversion-d7753df3/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)
