# Data Validation Results — Equal-Width Histogram

> Data Validation Results — Equal-Width Histogram 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).

Computes an equal-width histogram over checked_records or failed_records fields from up to 200 data validation result rows, returning a local descriptive analytics report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-validation-results-histogram?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/data-validation-results-equal-width-histogram-29ed130c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r4hegNCzF0KpJgpd_9g1Y

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 data-validation-results-equal-width-histogram-29ed130c -d '<json body>'
```

Example prompt: Generate an equal-width histogram with 10 bins for the failed_records field from these 50 data validation rows: [row-1, rule=null-check, 2024-03-01, checked=1000, failed=42], [row-2, rule=range-check, 2024-03-02, checked=850, failed=5], ... so I can see how failures are distributed.

## When to prefer this

Choose this endpoint when you need a fast, local descriptive frequency distribution of data validation metrics (checked or failed record counts) without any enrichment, forecasting, or external data — ideal for data quality observability pipelines, compliance audits, and quick exploratory analysis of DQ run outputs at minimal cost ($0.01 per call).

## Known failure modes

- Rows array empty or missing — minimum 1 row required
- More than 200 rows supplied — exceeds maxItems limit
- Invalid date format in any row — must match YYYY-MM-DD pattern
- bins value out of range — must be between 1 and 30
- field value not in enum ['checked_records','failed_records'] — rejected
- All numeric values null — histogram cannot be computed
- Payment not included or insufficient — x402 payment required at $0.01 USDC

## How this service works

Data validation results - Equal-width histogram: Equal-width histogram for Data validation results. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded equal-width histogram report.

## Output

A bounded equal-width histogram report containing bin boundaries and record counts (frequencies) for the selected numeric field (checked_records or failed_records) across all supplied validation rows, with the number of bins as specified (1–30, default 5).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "rule",
     "date",
     "checked_records",
     "failed_records"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "rule": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "failed_records": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "checked_records": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "rule": "group-a",
     "row_id": "row-1",
     "failed_records": 1,
     "checked_records": 10
    },
    {
     "date": "2026-10-02",
     "rule": "group-b",
     "row_id": "row-2",
     "failed_records": 2,
     "checked_records": 20
    },
    {
     "date": "2026-10-03",
     "rule": "group-a",
     "row_id": "row-3",
     "failed_records": 3,
     "checked_records": 15
    },
    {
     "date": "2026-10-04",
     "rule": "group-b",
     "row_id": "row-4",
     "failed_records": 4,
     "checked_records": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "checked_records",
    "failed_records"
   ],
   "type": "string",
   "default": "checked_records"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-validation-results-equal-width-histogram-29ed130c/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)
