# Legal Document Inventories — Record Quality Audit, Exact Deduplication & Numeric Row Ordering

> Legal Document Inventories — Record Quality Audit, Exact Deduplication & Numeric Row Ordering 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 three local analytical reports on legal document inventory data: record quality audit, exact row deduplication, and numeric row ordering for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-writing-10-213?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-exact-deduplication-41364ce1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d7AwWTFbd9hLZ_o_NZaCp

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-exact-deduplication-41364ce1 -d '<json body>'
```

Example prompt: Can you run a quality audit, deduplicate exact rows, and sort by document_count on my legal document inventory? Here are the records: [{"row_id":"r1","document_group":"contracts","date":"2025-01-15","document_count":120,"reviewed_count":45},{"row_id":"r2","document_group":"filings","date":"2025-01-16","document_count":80,"reviewed_count":30}].

## When to prefer this

Choose this endpoint when you have legal document inventory data (with document_count and reviewed_count fields) that needs simultaneous quality auditing, deduplication, and numeric ordering — all in one $0.01 call. Ideal for pre-reporting cleanup, catching manual data entry errors, or preparing inventory data for downstream analysis. Not suitable for live lookups, AI-generated assessments, or datasets exceeding 200 rows.

## Known failure modes

- More than 200 rows submitted — endpoint rejects input exceeding maxItems limit
- Missing required fields (row_id, document_group, date, document_count, reviewed_count) cause validation errors
- Malformed date strings not matching YYYY-MM-DD pattern are rejected
- Invalid field enum value (anything other than document_count or reviewed_count) causes an error
- Empty rows array (minItems:1 not met) returns a validation error
- Numeric values outside the allowed range (-1,000,000,000,000 to 1,000,000,000,000) may cause errors

## How this service works

Legal document inventories — Record quality audit + Exact row deduplication + Numeric row ordering: Record quality audit + Exact row deduplication + Numeric row ordering for supplied legal document inventories records (document_count, reviewed_count). Up to 200 rows; 3 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 3 supplied-data reports for up to 200 rows.

## Output

Three independent analytical reports returned together: (1) a record quality audit flagging issues like nulls, out-of-range values, or malformed fields in document_count and reviewed_count; (2) an exact row deduplication report identifying and removing identical rows; (3) a numerically ordered version of the rows ranked by the selected field (document_count or reviewed_count). No external lookups or predictions are made — all analysis is local.

## 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
  },
  "field": {
   "enum": [
    "document_count",
    "reviewed_count"
   ],
   "type": "string",
   "default": "document_count"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/legal-document-inventories-record-quality-audit-exact-deduplication-41364ce1/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)
