# Resource Bookings — Numeric Row Ordering + Equal-Width Histogram

> Resource Bookings — Numeric Row Ordering + 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-24).

Sorts resource booking records by a numeric field and computes an equal-width histogram over booked_hours or available_hours for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-09-118?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/resource-bookings-numeric-row-ordering-equal-width-histogram-2d1d120c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QQRUm48ukxQxOibei5qiS

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 resource-bookings-numeric-row-ordering-equal-width-histogram-2d1d120c -d '<json body>'
```

Example prompt: Sort my resource booking records by booked_hours and generate an equal-width histogram with 10 bins — here are my rows: row-1 (group-a, 2026-10-01, booked 10h, available 40h), row-2 (group-b, 2026-10-02, booked 25h, available 30h), row-3 (group-a, 2026-10-03, booked 15h, available 35h).

## When to prefer this

Choose this endpoint when you already have resource booking data in hand and need quick numeric ordering plus a distribution histogram without any external lookups. It is ideal for ops teams wanting to understand booking utilization patterns, prepare reports, or spot outliers in booked vs available hours across team groups, all at minimal cost ($0.01 USDC for both reports together on up to 200 rows).

## Known failure modes

- More than 200 rows submitted — request will be rejected or truncated
- Invalid date format (not YYYY-MM-DD) causes row validation failure
- Missing required fields (row_id, booked_hours, available_hours) causes schema rejection
- bins value outside 1–30 range returns a validation error
- All numeric values are null — histogram cannot be computed
- Payment not completed (x402 protocol) — endpoint returns 402 and no results

## How this service works

Resource bookings — Numeric row ordering + Equal-width histogram: Numeric row ordering + Equal-width histogram for supplied resource bookings records (booked_hours, available_hours). 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 over the supplied booking rows: (1) the rows ranked/ordered by the selected numeric field (booked_hours or available_hours), and (2) an equal-width histogram showing how values are distributed across the specified number of bins. No external data is fetched; all computation is performed locally on the supplied records.

## 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",
     "booked_hours",
     "available_hours"
    ],
    "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
     },
     "booked_hours": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "available_hours": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "team_group": "group-a",
     "booked_hours": 10,
     "available_hours": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "team_group": "group-b",
     "booked_hours": 20,
     "available_hours": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "team_group": "group-a",
     "booked_hours": 15,
     "available_hours": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "team_group": "group-b",
     "booked_hours": 30,
     "available_hours": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "booked_hours",
    "available_hours"
   ],
   "type": "string",
   "default": "booked_hours"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/resource-bookings-numeric-row-ordering-equal-width-histogram-2d1d120c/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)
