# Document Retrieval Analytics — Numeric Row Ordering + Equal-Width Histogram

> Document Retrieval Analytics — 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-30).

Analyzes document retrieval records by sorting rows numerically and producing equal-width histogram distributions for retrieved_bytes or request_ms fields, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-web-09-118?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/document-retrieval-analytics-numeric-row-ordering-equal-width-histogram-97fc716d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mHC0INOA6pHiNK9if9Zmh

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 document-retrieval-analytics-numeric-row-ordering-equal-width-histogram-97fc716d -d '<json body>'
```

Example prompt: I have 150 document retrieval log records with retrieved_bytes and request_ms values — can you sort them numerically and give me an equal-width histogram with 10 bins for the retrieved_bytes field?

## When to prefer this

Choose this endpoint when you have up to 200 document retrieval records and need both a sorted numeric ranking and an equal-width histogram distribution in a single call for either retrieved_bytes or request_ms. It is ideal for quick offline statistical summaries of web document retrieval logs without needing a full analytics platform. Prefer it over general-purpose analytics APIs when cost efficiency ($0.01 for two reports) and simplicity are priorities.

## Known failure modes

- More than 200 rows submitted — exceeds maximum row limit
- Invalid date format (must be YYYY-MM-DD)
- Missing required fields (row_id, site_group, date, retrieved_bytes, request_ms) in any row
- bins value outside 1–30 range
- field value not one of 'retrieved_bytes' or 'request_ms'
- Numeric field values outside allowed range (-1e12 to 1e12)
- Payment of 0.01 USDC not fulfilled via x402 protocol

## How this service works

Document retrieval — Numeric row ordering + Equal-width histogram: Numeric row ordering + Equal-width histogram for supplied document retrieval records (retrieved_bytes, request_ms). 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) rows sorted in numeric order by the selected field (retrieved_bytes or request_ms), and (2) an equal-width histogram showing how values are distributed across the specified number of bins. Both reports are computed locally from the supplied data with no external lookups.

## 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",
     "site_group",
     "date",
     "retrieved_bytes",
     "request_ms"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "request_ms": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "site_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "retrieved_bytes": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "request_ms": 1,
     "site_group": "group-a",
     "retrieved_bytes": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "request_ms": 2,
     "site_group": "group-b",
     "retrieved_bytes": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "request_ms": 3,
     "site_group": "group-a",
     "retrieved_bytes": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "request_ms": 4,
     "site_group": "group-b",
     "retrieved_bytes": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "retrieved_bytes",
    "request_ms"
   ],
   "type": "string",
   "default": "retrieved_bytes"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/document-retrieval-analytics-numeric-row-ordering-equal-width-histogram-97fc716d/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)
