# Training Attendance Date-by-Category Pivot

> Training Attendance Date-by-Category Pivot 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-28).

Pivots training attendance data (attendees or completions) by date and course category, producing a cross-tabulated summary from up to 200 supplied records.

## Facts

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

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-date-by-category-pivot-bbd93f93 -d '<json body>'
```

Example prompt: Pivot my training attendance data by date and course — I have 4 records with courses group-a and group-b from 2026-10-01 to 2026-10-04, with attendee counts of 10, 20, 15, and 30, and I want the pivot on the attendees field.

## When to prefer this

Choose this endpoint when you have structured training attendance records with course categories and dates and need a cross-tabulated pivot summary — specifically when the data is already typed and local numeric processing is sufficient without external enrichment or forecasting. Ideal for HR analytics pipelines, L&D dashboards, and training reporting workflows processing up to 200 records at $0.01 per call.

## Known failure modes

- Fewer than 1 row supplied returns a validation error
- More than 200 rows supplied exceeds maxItems limit
- Missing required fields (row_id, course, date, attendees, completions) causes schema rejection
- Invalid date format (not YYYY-MM-DD) fails pattern validation
- Numeric values outside allowed range cause validation failure
- Invalid field enum value (not 'attendees' or 'completions') is rejected

## How this service works

Training attendance - Date by category pivot: Date by category pivot 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 date by category pivot deliverable.

## Output

A date-by-category pivot table where rows represent dates and columns represent course categories (e.g., group-a, group-b), with cell values being the aggregated sum of the selected field (attendees or completions) for each date-course combination. The result is a cross-tabulated deliverable computed locally from the supplied records 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
  },
  "field": {
   "enum": [
    "attendees",
    "completions"
   ],
   "type": "string",
   "default": "attendees"
  }
 }
}
```

## More

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