# Document Approvals — Numeric Row Ordering & Numeric Interval Filter

> Document Approvals — Numeric Row Ordering & Numeric Interval Filter 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-25).

Sorts document approval records by a numeric field and filters them to a specified numeric interval, returning up to 2 analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-17-113?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/document-approvals-numeric-row-ordering-numeric-interval-filter-7c95417c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-HqNMIeI-sVPem93eqxxb

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-approvals-numeric-row-ordering-numeric-interval-filter-7c95417c -d '<json body>'
```

Example prompt: Sort my document approval records by submitted_documents and filter to only rows where submitted_documents is between 5 and 50 — here are the rows: row-1, group-a, 2026-10-01, submitted=10, approved=1; row-2, group-b, 2026-10-02, submitted=20, approved=2; row-3, group-a, 2026-10-03, submitted=15, approved=3.

## When to prefer this

Choose this endpoint when you have up to 200 document approval records (with submitted_documents and approved_documents metrics) and need both a numerically ordered ranking and an interval-filtered subset in a single low-cost call. It is ideal for lightweight, self-contained analytics on supplied data without needing a full data warehouse or live database connection.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- minimum greater than maximum causes empty filter result
- Missing required fields (row_id, date, submitted_documents, approved_documents) causes validation error
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Numeric values outside ±1,000,000,000,000 are rejected

## How this service works

Document approvals — Numeric row ordering + Numeric interval filter: Numeric row ordering + Numeric interval filter for supplied document approvals records (submitted_documents, approved_documents). 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 up to 2 analytical reports based on the supplied rows: one showing numeric row ordering by the specified field, and one showing rows filtered to the specified numeric interval (minimum to maximum). Results are derived entirely from the supplied data with no external lookup.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/document-approvals-numeric-row-ordering-numeric-interval-filter-7c95417c/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)
