# Inventory Administration — Numeric Row Ordering + Keyed Dataset Comparison

> Inventory Administration — Numeric Row Ordering + Keyed Dataset Comparison is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Ranks inventory session rows by a numeric field and compares two inventory datasets by key, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-21-123?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inventory-administration-numeric-row-ordering-keyed-dataset-comparison-5822b893
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jp87aIUXzyf3GhRLa7f1i

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 inventory-administration-numeric-row-ordering-keyed-dataset-comparison-5822b893 -d '<json body>'
```

Example prompt: I have two sets of inventory records for October 2026 — each with row_id, team_group, date, count_sessions, and discrepancy_count — and I want to rank them by count_sessions and also compare the two datasets side by side to spot any differences. Can you run both reports on up to 200 rows?

## When to prefer this

Choose this endpoint when you need both a numeric ranking of inventory rows and a side-by-side keyed comparison of two inventory snapshots in a single low-cost API call. It is ideal for inventory audit workflows where you want to identify the highest or lowest performing rows by session count or discrepancy count, and simultaneously detect changes between two data pulls. Prefer it over general-purpose data tools when your data fits the inventory administration schema (count_sessions, discrepancy_count) and you want deterministic, local computation without external dependencies.

## Known failure modes

- More than 200 rows submitted — request rejected or truncated
- Missing required fields (row_id, team_group, date, count_sessions, discrepancy_count) — validation error
- Invalid date format (non-YYYY-MM-DD) — schema validation failure
- Mismatched row_ids between primary and comparison datasets — comparison report may show all rows as unmatched
- Null numeric values in the sort field — ordering behavior may be undefined or nulls sorted to end
- Invalid field enum value — defaults to count_sessions or returns error

## How this service works

Inventory administration — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison for supplied inventory administration records (count_sessions, discrepancy_count). 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) a numeric row ordering report with inventory rows sorted by the selected field (count_sessions or discrepancy_count), and (2) a keyed dataset comparison report showing differences between the primary and secondary datasets matched by row_id. Both reports are computed locally without external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "team_group",
     "date",
     "count_sessions",
     "discrepancy_count"
    ],
    "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
     },
     "count_sessions": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "discrepancy_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "team_group": "group-a",
     "count_sessions": 10,
     "discrepancy_count": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "team_group": "group-b",
     "count_sessions": 20,
     "discrepancy_count": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "team_group": "group-a",
     "count_sessions": 15,
     "discrepancy_count": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "team_group": "group-b",
     "count_sessions": 30,
     "discrepancy_count": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "count_sessions",
    "discrepancy_count"
   ],
   "type": "string",
   "default": "count_sessions"
  },
  "other": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "team_group",
     "date",
     "count_sessions",
     "discrepancy_count"
    ],
    "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
     },
     "count_sessions": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "discrepancy_count": {
      "type": [
       "numbe
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inventory-administration-numeric-row-ordering-keyed-dataset-comparison-5822b893/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)
