# Training Compliance Analytics — Category Frequencies + Equal-Width Histogram

> Training Compliance Analytics — Category Frequencies + Equal-Width Histogram 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).

Analyzes training compliance records (completed_courses, assigned_courses) to produce category frequency counts and an equal-width histogram report for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-10-106?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/training-compliance-analytics-category-frequencies-equal-width-72bdbd1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z-suQA51L7ihtFLX0XDRK

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-compliance-analytics-category-frequencies-equal-width-72bdbd1a -d '<json body>'
```

Example prompt: Analyze these 50 training compliance records — give me the category frequencies by team_group and an equal-width histogram with 8 bins for completed_courses: [row data here].

## When to prefer this

Choose this endpoint when you need fast, local statistical analysis of training compliance data without any external lookups or predictions — specifically when you want both a category frequency breakdown and a histogram in a single call for up to 200 rows at low cost ($0.01 USDC for both reports).

## Known failure modes

- More than 200 rows submitted — request rejected or truncated
- Missing required fields (row_id, team_group, date, completed_courses, assigned_courses) — validation error
- bins value out of range (must be 1–30) — schema validation failure
- Invalid date format (must be YYYY-MM-DD) — pattern validation error
- All values null for selected field — histogram cannot be computed
- Payment not provided or insufficient — x402 payment required response

## How this service works

Training compliance — Category frequencies + Equal-width histogram: Category frequencies + Equal-width histogram for supplied training compliance records (completed_courses, assigned_courses). 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) category frequency counts grouping training compliance records by team_group or date, and (2) an equal-width histogram of the specified numeric field (completed_courses or assigned_courses) divided into the requested number of bins, covering up to 200 input rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/training-compliance-analytics-category-frequencies-equal-width-72bdbd1a/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)
