# Document Approvals — String Normalisation + Equal-Width Histogram

> Document Approvals — String Normalisation + 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-26).

Runs string normalisation and an equal-width histogram analysis on up to 200 document-approval records (submitted_documents or approved_documents), returning two analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-17-031?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/document-approvals-string-normalisation-equal-width-histogram-ca849351
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RV4gnph-cXCXtCzVoKam0

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-string-normalisation-equal-width-histogram-ca849351 -d '<json body>'
```

Example prompt: Can you run a string normalisation and equal-width histogram (5 bins) on my document approvals data — I want to analyse the submitted_documents field across these team records: [{"row_id":"r1","team_group":"alpha","date":"2025-01-10","submitted_documents":42,"approved_documents":38}] and so on for up to 200 rows?

## When to prefer this

Choose this endpoint when you need offline, local statistical analysis of document approval records with no external data lookups — specifically when you want both string normalisation (cleaning team/group labels) and a histogram frequency distribution of submission or approval counts. Ideal for operations teams auditing document throughput patterns, compliance teams reviewing approval spreads, or analysts preparing distribution summaries from batch exports of up to 200 rows. Prefer this over general analytics tools when the 0.01 USDC flat fee for two bundled reports is cost-effective and when data privacy requires no external data transmission beyond this compute endpoint.

## Known failure modes

- More than 200 rows submitted — request rejected, maxItems limit exceeded
- Missing required fields (row_id, date, submitted_documents, approved_documents) in any row — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- bins value outside 1–30 range — rejected with parameter error
- Numeric values outside ±1,000,000,000,000 — schema violation
- Invalid field enum value (not submitted_documents or approved_documents) — rejected

## How this service works

Document approvals — String normalisation + Equal-width histogram: String normalisation + 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) a string normalisation report cleaning and standardising text fields in the document approval records, and (2) an equal-width histogram report showing bin edges, frequency counts, and distribution of the chosen numeric field (submitted_documents or approved_documents) across up to 30 configurable bins.

## 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-string-normalisation-equal-width-histogram-ca849351/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)
