# Legal Document Inventories — Record Quality Audit + Duplicate Key Report

> Legal Document Inventories — Record Quality Audit + Duplicate Key Report is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Runs a record quality audit and duplicate key report on supplied legal document inventory data (document_count, reviewed_count) for up to 200 rows, returning two independent analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-writing-10-003?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/legal-document-inventories-record-quality-audit-duplicate-key-report-937da1f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lQY-BGrWWvmQzxbH3ypto

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 legal-document-inventories-record-quality-audit-duplicate-key-report-937da1f0 -d '<json body>'
```

Example prompt: Can you audit the quality of my legal document inventory records and flag any duplicates? I have about 50 rows with fields like document_group, date, document_count, and reviewed_count — here's the data.

## When to prefer this

Choose this endpoint when you have up to 200 rows of legal document inventory data and need both a general record quality audit AND a duplicate key check in a single low-cost call ($0.01 USDC). It is ideal for pre-reporting validation, data cleaning after dataset merges, or compliance preparation where no external lookup or live data enrichment is needed — purely local analytical processing on your supplied rows.

## Known failure modes

- Fewer than 1 row supplied — request rejected
- More than 200 rows supplied — payload exceeds limit
- Invalid date format (non-YYYY-MM-DD) causes row rejection
- Missing required fields (row_id, document_group, date, document_count, reviewed_count) cause validation errors
- Non-numeric values in document_count or reviewed_count fields may cause processing errors
- Payment failure or insufficient USDC balance blocks execution

## How this service works

Legal document inventories — Record quality audit + Duplicate key report: Record quality audit + Duplicate key report for supplied legal document inventories records (document_count, reviewed_count). 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 independent reports: (1) a record quality audit flagging issues such as missing, null, or out-of-range values in document_count and reviewed_count fields; and (2) a duplicate key report identifying rows sharing the same key combinations (e.g. document_group + date or row_id). Both reports are derived entirely from the supplied data using local analytical engines, with no external lookups or predictions.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/legal-document-inventories-record-quality-audit-duplicate-key-report-937da1f0/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)
