# Call Centre Numeric Row Ordering

> Call Centre 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-19).

Sorts up to 200 call centre records by a specified numeric field (calls or wait_seconds) and returns them in ordered sequence.

## Facts

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

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 call-centre-numeric-row-ordering-8f5e1533 -d '<json body>'
```

Example prompt: Sort these 4 call centre rows by number of calls: row-1 for group-a on 2026-10-01 had 10 calls and 1 wait second, row-2 for group-b on 2026-10-02 had 20 calls and 2 wait seconds, row-3 for group-a on 2026-10-03 had 15 calls and 3 wait seconds, row-4 for group-b on 2026-10-04 had 30 calls and 4 wait seconds — rank them by the calls field.

## When to prefer this

Choose this endpoint when you have structured call centre records with team, date, calls, and wait_seconds fields and need them numerically sorted by one of those two metrics — especially for quick ranked reporting, escalation prioritization, or building leaderboards without setting up local sorting logic. Ideal for lightweight, on-demand ordering of up to 200 records at minimal cost ($0.01 USDC) with no external enrichment needed.

## Known failure modes

- Missing required fields (row_id, team, date, calls, or wait_seconds) causes validation error
- More than 200 rows submitted exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) triggers pattern validation failure
- Unknown sort field value outside enum [calls, wait_seconds] returns error
- Empty rows array (minItems=1 violated) rejected
- Non-numeric values in calls or wait_seconds fields cause type errors

## How this service works

Call centre - Numeric row ordering: Numeric row ordering for Call centre. 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 call centre rows reordered numerically by the specified field (calls or wait_seconds), enabling downstream ranking, reporting, and escalation workflows. The bounded deliverable contains up to 200 sorted typed records with their original row_id, team, date, calls, and wait_seconds fields preserved.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/call-centre-numeric-row-ordering-8f5e1533/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)
