# UI Screens — Category Frequencies + Trailing Mean Series

> UI Screens — Category Frequencies + Trailing Mean Series is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Computes category frequency distributions and trailing mean time series for UI screen metrics (widget_count, render_ms) on up to 200 supplied rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-game-16-103?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ui-screens-category-frequencies-trailing-mean-series-65aa2555
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-qbRGzzWyDMQs5kGj0Z2N

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 ui-screens-category-frequencies-trailing-mean-series-65aa2555 -d '<json body>'
```

Example prompt: Analyze my UI screen records and give me two reports: the category frequency breakdown by game_area and a trailing mean series for widget_count with a window of 3 — here are my rows: row-1 on 2026-10-01 in group-a with widget_count=10 and render_ms=50, row-2 on 2026-10-02 in group-b with widget_count=20 and render_ms=80, row-3 on 2026-10-03 in group-a with widget_count=15 and render_ms=60.

## When to prefer this

Choose this endpoint when you have pre-collected UI screen records (up to 200 rows) and need both a categorical frequency breakdown and a rolling mean time series computed locally from your data in a single $0.01 call — ideal for lightweight, offline-style analytics on game UI metrics without needing a full analytics platform or live data connection.

## Known failure modes

- Fewer than 1 row supplied — minItems constraint violated
- More than 200 rows supplied — maxItems constraint exceeded
- Missing required fields (row_id, game_area, date, widget_count, render_ms) on any row
- Date field not matching YYYY-MM-DD pattern
- Window size outside 2–200 range
- Invalid field enum value (must be widget_count or render_ms)
- Payment not included or insufficient (requires 0.01 USDC via x402)

## How this service works

UI screens — Category frequencies + Trailing mean series: Category frequencies + Trailing mean series for supplied ui screens records (widget_count, render_ms). 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

Two analytical reports: (1) a category frequency table showing how often each game_area value appears in the supplied records, and (2) a trailing mean series for the chosen metric (widget_count or render_ms) computed with the specified window size across the date-ordered rows. Results are derived purely from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ui-screens-category-frequencies-trailing-mean-series-65aa2555/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)
