# Returns Handling — Record Quality Audit + Keyed Dataset Comparison

> Returns Handling — Record Quality Audit + Keyed Dataset Comparison 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-24).

Runs two local analytical reports on returns handling data: a record quality audit and a keyed comparison between two supplied datasets (up to 200 rows each).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-retail-04-018?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/returns-handling-record-quality-audit-keyed-dataset-comparison-689b40ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LBswNxJdO6G3pOc4Z70K3

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 returns-handling-record-quality-audit-keyed-dataset-comparison-689b40ae -d '<json body>'
```

Example prompt: Can you run a record quality audit and a side-by-side comparison on these two sets of returns handling records I have — one from last week and one from this week — each has store_group, date, returned_units, and processing_minutes for up to 200 rows?

## When to prefer this

Choose this endpoint when you need offline, deterministic quality auditing and structured comparison of two returns handling datasets without any external lookups or ML predictions. Ideal for pre-ingestion data validation, reconciliation between two system exports, or periodic quality checks on returned_units and processing_minutes data across store groups. Best when you have up to 200 rows and want two reports in a single low-cost call ($0.01 USDC).

## Known failure modes

- Exceeding 200 rows per dataset returns a validation error
- Missing required fields (row_id, store_group, date, returned_units, processing_minutes) causes rejection
- Invalid date format (not YYYY-MM-DD) fails schema validation
- Submitting an empty rows array returns an error
- Numeric values outside allowed range trigger validation failure

## How this service works

Returns handling — Record quality audit + Keyed dataset comparison: Record quality audit + Keyed dataset comparison for supplied returns handling records (returned_units, processing_minutes). 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

Two independent analytical reports: (1) a record quality audit flagging data issues such as nulls, out-of-range values, and format problems in the supplied rows; (2) a keyed dataset comparison report highlighting row-level differences between the primary and comparison datasets, matched by row_id, covering returned_units and processing_minutes fields.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/returns-handling-record-quality-audit-keyed-dataset-comparison-689b40ae/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)
