# Customer Segment Observations — Daily Sum Series + Secondary-Measure Weighted Mean

> Customer Segment Observations — Daily Sum Series + 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-16).

Computes daily sum time series and secondary-measure weighted mean for customer segment observation records (account_count, revenue_amount) — two analytical reports in one call for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-16-142?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-daily-sum-series-secondary-measure-57ab5de4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MEz5io1JRjz0XqrlVXDrs

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-daily-sum-series-secondary-measure-57ab5de4 -d '<json body>'
```

Example prompt: I have customer segment observation data for two company groups across four days — can you compute the daily sum series for account_count and also the revenue_amount weighted mean across those rows? Here are the rows: [{"row_id":"row-1","company_group":"group-a","date":"2026-10-01","account_count":10,"revenue_amount":1},{"row_id":"row-2","company_group":"group-b","date":"2026-10-02","account_count":20,"revenue_amount":2}], and use account_count as the primary field.

## When to prefer this

Choose this endpoint when you need both a daily sum time series and a secondary-measure weighted mean computed together on customer segment observation data (account_count, revenue_amount) in a single low-cost call. It is ideal for batch analytical reporting on up to 200 pre-collected rows where no live data lookup, external enrichment, or prediction is required. Prefer this over general-purpose analytics tools when you want deterministic, reproducible aggregation on supplied CRM or segment data at minimal cost ($0.01 USDC for both reports).

## Known failure modes

- Fewer than 1 or more than 200 rows submitted — request rejected
- Missing required fields (row_id, company_group, date, account_count, revenue_amount) — 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 (not 'account_count' or 'revenue_amount') — schema error
- Payment not completed or insufficient USDC — 402 Payment Required

## How this service works

Customer segment observations — Daily sum series + Secondary-measure weighted mean: Daily sum series + 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 analytical reports: (1) a daily sum time series for the selected primary field (account_count or revenue_amount) aggregated across customer segment rows by date, and (2) a secondary-measure weighted mean computed across the supplied observation records — both derived entirely from the submitted input data with no external lookup or live data.

## 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-daily-sum-series-secondary-measure-57ab5de4/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)
