# Document Approvals — Adjacent Row Changes + Secondary-Measure Weighted Mean

> Document Approvals — Adjacent Row Changes + Secondary-Measure Weighted Mean 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).

Computes adjacent row-to-row changes and a secondary-measure weighted mean for up to 200 document approval records in two combined analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-17-159?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-adjacent-row-changes-secondary-measure-weighted-mean-6ace1458
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CPd43v1QPADj9lP4hcwhZ

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-adjacent-row-changes-secondary-measure-weighted-mean-6ace1458 -d '<json body>'
```

Example prompt: Can you run two reports on our document approval data — adjacent row changes and a secondary-measure weighted mean — for these 50 rows of submitted_documents and approved_documents by team and date? Use submitted_documents as the primary field.

## When to prefer this

Choose this endpoint when you have up to 200 rows of document approval records and need both adjacent row change analysis and a weighted mean in a single low-cost call ($0.01 USDC for two reports). It is ideal for offline/batch analytical workflows where no live data lookup, prediction, or external action is needed — just deterministic local computation on supplied data.

## Known failure modes

- More than 200 rows submitted — exceeds maximum row limit
- Missing required fields (row_id, date, team_group, submitted_documents, or approved_documents) cause validation errors
- Invalid date format (not YYYY-MM-DD) rejects the request
- Numeric values outside ±1,000,000,000,000 range fail schema validation
- Empty rows array returns an error
- Payment not attached or insufficient USDC causes 402 rejection

## How this service works

Document approvals — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean 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) adjacent row-to-row changes for the selected measure across the ordered input rows, and (2) a secondary-measure weighted mean calculated across the supplied records — both computed locally from the user-provided document approval data with no external lookups.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/document-approvals-adjacent-row-changes-secondary-measure-weighted-mean-6ace1458/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)
