# Document Workflow Two-Measure Correlation

> Document Workflow Two-Measure Correlation 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-18).

Computes the statistical correlation between two numeric measures (documents and processing_minutes) across document workflow records, returning a correlation coefficient and data-quality summary.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-document-workflow-correlation?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/document-workflow-two-measure-correlation-765dc8ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Wbvm0GP8mM02mvMBibS5

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-workflow-two-measure-correlation-765dc8ed -d '<json body>'
```

Example prompt: Can you calculate the correlation between document volume and processing minutes for my workflow data? Here are the records: row-1 on 2024-01-15 from group-a with 45 documents and 12.5 processing minutes, row-2 on 2024-01-16 from group-b with 80 documents and 22.3 minutes, row-3 on 2024-01-17 from group-a with 30 documents and 8.1 minutes.

## When to prefer this

Choose this endpoint when you need a fast, self-contained statistical correlation between document volume and processing time in a document workflow context, with up to 200 typed records, and you do not need external data enrichment, forecasting, or multi-variable regression. It is ideal for lightweight operational analytics where the two measures of interest are precisely documents and processing_minutes.

## Known failure modes

- Fewer than 1 row supplied — returns validation error
- More than 200 rows supplied — exceeds maxItems limit, returns error
- Missing required fields (row_id, department, date, documents, processing_minutes) on any row — schema validation failure
- All documents or processing_minutes values are null — insufficient numeric data for correlation
- Constant values in one measure (zero variance) — correlation is undefined, may return NaN or error
- Invalid date format not matching YYYY-MM-DD pattern — schema validation error

## How this service works

Document workflow - Two-measure correlation: Two-measure correlation for Document workflow. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded two-measure correlation deliverable.

## Output

Returns a correlation coefficient (typically Pearson r) quantifying the linear relationship between the documents and processing_minutes fields across the supplied rows, along with data-quality indicators such as valid record count, null handling notes, and possibly a qualitative strength label (e.g. weak/moderate/strong). All processing is local and numeric — no external enrichment is applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "department",
     "date",
     "documents",
     "processing_minutes"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "documents": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "department": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "processing_minutes": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "documents": 10,
     "department": "group-a",
     "processing_minutes": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "documents": 20,
     "department": "group-b",
     "processing_minutes": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "documents": 15,
     "department": "group-a",
     "processing_minutes": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "documents": 30,
     "department": "group-b",
     "processing_minutes": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/document-workflow-two-measure-correlation-765dc8ed/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)
