# Customer Segment Observations — Record Quality Audit + Secondary-Measure Weighted Mean

> Customer Segment Observations — Record Quality Audit + Secondary-Measure Weighted Mean 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 a record quality audit and computes a secondary-measure weighted mean on up to 200 customer segment observation rows (account_count, revenue_amount), returning two independent analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-16-016?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-secondary-measure-be620365
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W8QwqrZaMc5Qby01s39HI

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-secondary-measure-be620365 -d '<json body>'
```

Example prompt: Can you run a record quality audit and compute a weighted mean for revenue_amount on my customer segment data? I have rows with company_group, date, account_count, and revenue_amount — up to about 50 rows — and I need both reports back together.

## When to prefer this

Choose this endpoint when you need both a data quality audit and a weighted mean computation on customer segment observation data (account_count, revenue_amount) in a single low-cost call. It is ideal for pre-reporting validation workflows where you want to catch record quality issues and compute a weighted average simultaneously without external data lookups or live predictions. Best suited for batch sizes up to 200 rows at $0.01 USDC per call.

## Known failure modes

- Rows array empty or exceeds 200 items — request rejected
- Missing required fields (row_id, company_group, date, account_count, revenue_amount) on any row — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Numeric values outside allowed range (±1,000,000,000,000) — rejected
- Invalid field enum value (must be account_count or revenue_amount) — error response
- Payment not processed or insufficient USDC balance — payment failure

## How this service works

Customer segment observations — Record quality audit + Secondary-measure weighted mean: Record quality audit + Secondary-measure weighted mean 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 analytical reports: (1) a record quality audit flagging issues such as nulls, invalid values, or format problems across the supplied rows; and (2) a weighted mean calculation for the specified secondary measure (account_count or revenue_amount) across all provided customer segment observation records.

## 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
  },
  "field": {
   "enum": [
    "account_count",
    "revenue_amount"
   ],
   "type": "string",
   "default": "account_count"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/customer-segment-observations-record-quality-audit-secondary-measure-be620365/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)
