# Publication Proofing — Category Frequencies + Trailing Mean Series

> Publication Proofing — 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-10-26).

Computes category frequency counts and a trailing moving-average series for publication proofing records (checked_pages, flagged_pages) supplied by the caller — no external lookups.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-writing-18-103?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/publication-proofing-category-frequencies-trailing-mean-series-27f74642
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fm4E6NqEs9dmJ7Yi-aOeX

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 publication-proofing-category-frequencies-trailing-mean-series-27f74642 -d '<json body>'
```

Example prompt: Run category frequency and trailing mean analysis on my publication proofing records — here are 4 rows with checked_pages and flagged_pages per document_group and date, and I want the trailing mean on checked_pages with a window of 2.

## When to prefer this

Choose this endpoint when you have up to 200 publication proofing records with checked_pages and flagged_pages fields and need both a category frequency breakdown by document_group and a trailing moving-average series in one low-cost call ($0.01 USDC). Prefer it over general analytics services when you want a self-contained, offline computation with no external data lookups and deterministic results.

## Known failure modes

- Empty or missing rows array returns validation error
- More than 200 rows submitted exceeds the maximum and is rejected
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Window size outside [2, 200] range is rejected
- Null values in the chosen field may produce gaps or nulls in the trailing mean
- Unknown field value not in enum causes validation error
- Payment not included or insufficient USDC causes 402 response

## How this service works

Publication proofing — Category frequencies + Trailing mean series: Category frequencies + Trailing mean series for supplied publication proofing records (checked_pages, flagged_pages). 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 category frequency table showing how often each document_group appears in the submitted rows, and (2) a trailing mean series for the selected field (checked_pages or flagged_pages) computed with the specified window size — both derived entirely from the supplied input data, up to 200 rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/publication-proofing-category-frequencies-trailing-mean-series-27f74642/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)
