# Building Occupancy Grouped Numeric Summary

> Building Occupancy Grouped Numeric Summary 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).

Computes grouped descriptive statistics (min, max, mean, count, etc.) for building occupancy data, segmented by floor group, from up to 200 supplied records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-building-occupancy-group-summary?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/building-occupancy-grouped-numeric-summary-6e5701d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7DfHR2yM4r-EI10TwVmBs

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 building-occupancy-grouped-numeric-summary-6e5701d3 -d '<json body>'
```

Example prompt: I have 4 days of occupancy records for two floors — group-a had capacity 10 with 1 occupant on Oct 1 and capacity 15 with 3 occupants on Oct 3, group-b had capacity 20 with 2 occupants on Oct 2 and capacity 30 with 4 occupants on Oct 4 — can you group these by floor and give me a numeric summary of the occupants field?

## When to prefer this

Choose this endpoint when you have raw, record-level building occupancy data (up to 200 rows) and need fast, local grouped descriptive statistics broken down by floor or building zone — without needing forecasts, enrichment, or external data. It is ideal for facilities managers or analytics agents that want a quick summary report segmented by group from a bounded dataset at minimal cost ($0.01 USDC).

## Known failure modes

- Missing required fields (row_id, floor, date, capacity, or occupants) cause validation errors
- Supplying more than 200 rows returns an error about exceeding the max item limit
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Empty rows array rejected due to minItems:1 constraint
- Numeric values outside the allowed range trigger validation errors
- Payment failure or insufficient USDC balance prevents processing

## How this service works

Building occupancy - Grouped numeric summary: Grouped numeric summary for Building occupancy. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded grouped numeric summary report.

## Output

Returns a grouped numeric summary report containing descriptive statistics (such as count, min, max, mean, and possibly standard deviation or percentiles) for the selected numeric field (capacity or occupants), segmented by the floor group identifier across the supplied records.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/building-occupancy-grouped-numeric-summary-6e5701d3/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)
