# Prediction Result Imports — Column Statistics

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

Computes per-column statistics for a CSV of prediction result records, validating up to 1000 rows against a declared schema contract.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-predictions-column-stats?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-column-statistics-4717a703
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8jDp_qO30ALKx5FR2EZo1

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-column-statistics-4717a703 -d '<json body>'
```

Example prompt: Can you run column statistics on this predictions CSV — it has columns prediction_id, predicted_on, model_id, probability, and latency_ms — and validate that probability values are between 0 and 100, latency_ms between 0 and 50000, and that model_id only contains 'group-a' or 'group-b'?

## When to prefer this

Use this endpoint when you need fast, structured per-column statistical analysis and schema validation for prediction result CSVs specifically — especially when you need to enforce value bounds and category allowlists on model output imports before downstream ingestion. Prefer it over generic CSV tools when working within the x402 micropayment ecosystem at low cost ($0.01/call) and when your dataset fits within 1000 rows.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only first 1000 may be processed
- Delimiter mismatch causes single-column parse — statistics meaningless
- Allowed categories list exceeds 100 items — schema validation error
- Cell length exceeds max_cell_length — flagged as violation
- Malformed CSV (unclosed quotes, inconsistent columns) — parse error returned

## How this service works

Prediction result imports — Column statistics: Column statistics 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 column statistics report.

## Output

Returns a per-column statistics report for the submitted CSV, including data type inference, value distribution metrics (min, max, mean, etc.), category conformance against the allowed list, and validation flags for cells that violate declared bounds or exceed max cell length.

## 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-column-statistics-4717a703/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)
