# Batch Job Resources – Numeric Row Ordering

> Batch Job Resources – 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 batch job resource records by a chosen numeric field (duration_seconds or peak_memory_mb) and returns a ranked ordering with local descriptive analytics.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-batch-job-resources-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/batch-job-resources-numeric-row-ordering-559b9ab9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EpmAtXdhoWDUy8S2s0T39

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 batch-job-resources-numeric-row-ordering-559b9ab9 -d '<json body>'
```

Example prompt: Sort these 4 batch job records by duration_seconds and give me a numeric row ordering report: row-1 group-a 2026-10-01 10s 1MB, row-2 group-b 2026-10-02 20s 2MB, row-3 group-a 2026-10-03 15s 3MB, row-4 group-b 2026-10-04 30s 4MB.

## When to prefer this

Choose this endpoint when you need a quick, local numeric sort and rank of batch job resource records (by duration or memory) without requiring enrichment, forecasting, or external data. It is ideal for operational analytics workflows where you already have the raw job records and need a lightweight, cost-effective ($0.01 USDC) ordering report on up to 200 rows.

## Known failure modes

- Submitting more than 200 rows returns a validation error
- Missing required fields (row_id, job, date, duration_seconds, peak_memory_mb) causes a schema rejection
- Invalid date format (not YYYY-MM-DD) triggers a pattern validation error
- Specifying a field value outside the enum (duration_seconds, peak_memory_mb) results in a bad request
- Payment failure or insufficient USDC balance blocks the request

## How this service works

Batch job resources - Numeric row ordering: Numeric row ordering for Batch job resources. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded numeric row ordering report.

## Output

Returns a numerically ordered list of the submitted batch job records ranked by the chosen field (duration_seconds or peak_memory_mb), along with a local descriptive analytics report summarizing the ordering. No external enrichment or forecasting is included.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/batch-job-resources-numeric-row-ordering-559b9ab9/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)
