# Training Attendance Category Frequencies

> Training Attendance Category Frequencies 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-27).

Counts how many times each course category appears across up to 200 training attendance records, returning category frequency distributions.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-training-attendance-category-counts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/training-attendance-category-frequencies-c6e0b192
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yGQNvYYDdcJdRbECm5iTj

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 training-attendance-category-frequencies-c6e0b192 -d '<json body>'
```

Example prompt: Can you count how many times each course appears in my training attendance records? I have 4 sessions: row-1 on 2026-10-01 for group-a with 10 attendees and 1 completion, row-2 on 2026-10-02 for group-b with 20 attendees and 2 completions, row-3 on 2026-10-03 for group-a with 15 attendees and 3 completions, and row-4 on 2026-10-04 for group-b with 30 attendees and 4 completions.

## When to prefer this

Choose this endpoint when you need a quick, low-cost category frequency count over a batch of up to 200 training attendance records without requiring external data enrichment, forecasting, or statistical modeling. It is ideal for HR analytics pipelines, L&D dashboards, or compliance audits where course occurrence counts are the primary output needed.

## Known failure modes

- Empty rows array or missing required fields (row_id, course, date, attendees, completions) returns a validation error
- More than 200 rows submitted exceeds the maxItems limit and is rejected
- Invalid date format (not YYYY-MM-DD pattern) causes schema validation failure
- Numeric fields (attendees, completions) out of allowed range trigger boundary errors
- Malformed JSON or missing rows property returns a bad request error

## How this service works

Training attendance - Category frequencies: Category frequencies for Training attendance. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded category frequencies deliverable.

## Output

A frequency table showing how many records exist per course category across the submitted training attendance rows, computed locally from the supplied data with no external enrichment.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/training-attendance-category-frequencies-c6e0b192/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)
