# Training Attendance Numeric Row Ordering

> Training Attendance Numeric Row Ordering 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-14).

Sorts up to 200 training attendance records numerically by a chosen field (attendees or completions) and returns the ordered rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-training-attendance-sort?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/training-attendance-numeric-row-ordering-f9ed7312
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oT9yf09J9hfmOFYxy808S

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-numeric-row-ordering-f9ed7312 -d '<json body>'
```

Example prompt: Sort these 4 training session rows by attendees: row-1 group-a 2026-10-01 10 attendees 1 completion, row-2 group-b 2026-10-02 20 attendees 2 completions, row-3 group-a 2026-10-03 15 attendees 3 completions, row-4 group-b 2026-10-04 30 attendees 4 completions — order them numerically by the attendees field.

## When to prefer this

Choose this endpoint when you need fast, local numeric sorting of training attendance records (up to 200 rows) by attendees or completions count, without needing external data enrichment, forecasting, or statistical analysis. It is ideal for preparing ordered reports or ranked lists of training sessions when you already have the structured attendance data ready.

## Known failure modes

- Missing required fields (row_id, course, date, attendees, or completions) returns a validation error
- Submitting more than 200 rows exceeds the maxItems limit and is rejected
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Specifying a field value other than 'attendees' or 'completions' returns an enum error
- Null numeric values may affect sort order behavior depending on implementation
- Payment failure via x402 protocol prevents processing

## How this service works

Training attendance - Numeric row ordering: Numeric row ordering 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 numeric row ordering deliverable.

## Output

Returns the submitted training attendance rows reordered numerically by the specified field (either attendees or completions), preserving all original row data including row_id, course, date, attendees, and completions values — up to 200 rows sorted locally 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-numeric-row-ordering-f9ed7312/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)
