# Document Approvals — Exact Row Deduplication + Equal-Width Histogram

> Document Approvals — Exact Row Deduplication + 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-23).

Deduplicates document approval records and generates equal-width histogram reports for submitted_documents or approved_documents fields across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-17-048?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/document-approvals-exact-row-deduplication-equal-width-histogram-dffe5b01
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_un_t6Vr6uB7rmr9xiLZMZ

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-exact-row-deduplication-equal-width-histogram-dffe5b01 -d '<json body>'
```

Example prompt: Take these 50 document approval records — each has a row_id, team_group, date, submitted_documents, and approved_documents — deduplicate them exactly and give me an equal-width histogram with 8 bins for the approved_documents field.

## When to prefer this

Choose this endpoint when you need both exact row deduplication and a histogram distribution report on document approval data in a single call for up to 200 rows. It is ideal for data quality checks on approval tracking datasets where duplicate logging may occur and you want to understand the distribution of submission or approval volumes across teams. Prefer this over general-purpose analytics tools when you need a lightweight, low-cost ($0.01 USDC) local computation with no external data access or prediction.

## Known failure modes

- More than 200 rows submitted — request exceeds row limit
- Missing required fields (row_id, date, submitted_documents, approved_documents) — validation error
- Invalid date format not matching YYYY-MM-DD pattern — schema rejection
- Bins parameter outside 1–30 range — validation error
- All rows are duplicates — deduplication report returns empty unique set
- Numeric values outside allowed range (±1,000,000,000,000) — schema rejection

## How this service works

Document approvals — Exact row deduplication + Equal-width histogram: Exact row deduplication + Equal-width histogram 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 two analytical reports: (1) an exact row deduplication report identifying and removing identical rows from the supplied dataset, and (2) an equal-width histogram report dividing the chosen numeric field (submitted_documents or approved_documents) into the specified number of equal-width bins with frequency counts per bin.

## 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",
     "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/document-approvals-exact-row-deduplication-equal-width-histogram-dffe5b01/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)
