# Customer Segment Observations — Record Quality Audit + String Normalisation + Keyed Dataset Comparison

> Customer Segment Observations — Record Quality Audit + String Normalisation + 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-25).

Runs three local analytical reports on customer segment observation data: a record quality audit, string normalisation, and keyed dataset comparison between two supplied datasets (up to 200 rows each).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-16-207?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/customer-segment-observations-record-quality-audit-string-6e6f62f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9ppE09eCHNs58qOga-I_N

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-record-quality-audit-string-6e6f62f8 -d '<json body>'
```

Example prompt: Can you run a record quality audit, string normalisation, and keyed dataset comparison on these two sets of customer segment observations — the primary dataset has rows for group-a and group-b from October 2026 with account counts and revenue amounts, and I also have a second dataset to compare against by row key?

## When to prefer this

Choose this endpoint when you need all three of record quality auditing, string normalisation, and keyed dataset comparison applied to customer segment data (account_count, revenue_amount) in a single low-cost call. It is ideal for data pipeline validation workflows where you want to compare two versions of segment data, standardise categorical labels, and flag quality issues simultaneously without external lookups or predictions. Prefer it over individual single-report endpoints when all three analyses are needed to save cost and round-trips.

## Known failure modes

- Exceeding 200 rows in either dataset returns a validation error
- Missing required fields (row_id, company_group, date, account_count, revenue_amount) causes rejection
- Invalid date format (not YYYY-MM-DD) triggers a schema validation error
- Numeric values outside the allowed range (±1,000,000,000,000) are rejected
- Empty rows array (minItems: 1 not met) returns an error
- Payment not processed (x402 protocol failure) results in no report being returned

## How this service works

Customer segment observations — Record quality audit + String normalisation + Keyed dataset comparison: Record quality audit + String normalisation + Keyed dataset comparison for supplied customer segment observations records (account_count, revenue_amount). Up to 200 rows; 3 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 3 supplied-data reports for up to 200 rows.

## Output

Returns three independent analytical reports: (1) a record quality audit flagging issues such as nulls, out-of-range values, and missing required fields; (2) a string normalisation report standardising company_group labels; and (3) a keyed dataset comparison report showing row-level differences between the two supplied datasets on account_count and revenue_amount fields.

## 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-record-quality-audit-string-6e6f62f8/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)
