# Customer Segment Observations — Duplicate Key Report + Keyed Dataset Comparison

> Customer Segment Observations — Duplicate Key Report + 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-16).

Runs two analytical reports on customer segment observation records: identifies duplicate row keys and compares two keyed datasets side-by-side, covering account_count and revenue_amount fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-16-069?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/customer-segment-observations-duplicate-key-report-keyed-dataset-20326858
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ch33MHhLuMJBCzxGfatcM

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 customer-segment-observations-duplicate-key-report-keyed-dataset-20326858 -d '<json body>'
```

Example prompt: Can you run a duplicate key check and a side-by-side comparison on these two sets of customer segment records? The primary dataset has rows like row-1 through row-4 with company_group, date, account_count, and revenue_amount, and I have a second dataset with slightly different values I want to diff against the first.

## When to prefer this

Choose this endpoint when you need to simultaneously check for duplicate row keys AND compare two versions of customer segment observation data (with account_count and revenue_amount fields) in a single paid call. It is ideal for data quality audits, ETL validation, snapshot diffing, and reconciliation tasks on segment data up to 200 rows, where no external lookup or live data enrichment is needed.

## Known failure modes

- Input array exceeds 200 rows — request will be rejected or truncated
- Missing required fields (row_id, company_group, date, account_count, revenue_amount) cause validation errors
- Invalid date format (not YYYY-MM-DD) triggers schema validation failure
- Numeric values outside ±1,000,000,000,000 range rejected
- Empty rows array returns error
- Payment of 0.01 USDC not included or fails — request not processed

## How this service works

Customer segment observations — Duplicate key report + Keyed dataset comparison: Duplicate key report + Keyed dataset comparison for supplied customer segment observations records (account_count, revenue_amount). 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 two independent reports: (1) a duplicate key report identifying any row_ids that appear more than once in the primary dataset, and (2) a keyed dataset comparison showing row-by-row differences in account_count and revenue_amount between the primary and secondary datasets, covering up to 200 rows total.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/customer-segment-observations-duplicate-key-report-keyed-dataset-20326858/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)
