# Validation Rule Results — Duplicate Key Report & Category Frequencies

> Validation Rule Results — Duplicate Key Report & Category Frequencies 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-10).

Analyzes validation rule result records to detect duplicate row keys and compute category-level frequencies of passed/total rules per dataset group.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-08-057?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/validation-rule-results-duplicate-key-report-category-frequencies-1f6b65c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DhjyK_rEC91jYvw0ZHv1Q

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 validation-rule-results-duplicate-key-report-category-frequencies-1f6b65c7 -d '<json body>'
```

Example prompt: Check these 4 validation records for duplicate row IDs and give me a frequency breakdown by dataset group — rows are row-1 through row-4, dated 2026-10-01 to 2026-10-04, groups are group-a and group-b, with passed_rules of 10, 20, 15, 30 and total_rules of 1, 2, 3, 4.

## When to prefer this

Choose this endpoint when you need to simultaneously detect duplicate row identifiers and compute category-level frequency distributions from validation rule result records (passed_rules, total_rules). Ideal for data quality auditing pipelines where you want both key-collision detection and group-level aggregation in a single call for up to 200 records.

## Known failure modes

- Empty rows array or missing required fields (row_id, dataset_group, date, passed_rules, total_rules) causes validation error
- More than 200 rows submitted exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Numeric values outside ±1,000,000,000,000 range rejected
- Payment failure via x402 protocol blocks request

## How this service works

Validation rule results — Duplicate key report + Category frequencies: Duplicate key report + Category frequencies for supplied validation rule results records (passed_rules, total_rules). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns a duplicate key report identifying any row_ids that appear more than once across the submitted records, along with category frequency counts showing how often each dataset_group value appears and potentially summarizing passed/total rule statistics per category.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/validation-rule-results-duplicate-key-report-category-frequencies-1f6b65c7/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)
