{"uid":"cap_d7AwWTFbd9hLZ_o_NZaCp","slug":"legal-document-inventories-record-quality-audit-exact-deduplication-41364ce1","name":"Legal Document Inventories — Record Quality Audit, Exact Deduplication & Numeric Row Ordering","description":"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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-writing-10-213?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bujXPwRJYW-Mvv3f_kxyH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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}].","exampleUseCases":[{"title":"Pre-reporting data cleanup for legal team","prompt":"Before I send this month's document inventory report to the partners, can you audit these records for quality issues, remove any exact duplicate rows, and sort everything by document_count? I have about 50 rows with document_group, date, document_count, and reviewed_count fields."},{"title":"Identifying duplicate entries in case tracking","prompt":"Our paralegals have been entering document counts manually and I think there are duplicates in this dataset. Can you run an exact deduplication report on these 80 legal document inventory rows and also give me a quality audit so I know which records are problematic?"},{"title":"Ranking document groups by review progress","prompt":"I want to see which of our document groups have the highest reviewed_count so we can prioritize follow-up. Can you order these legal inventory records numerically by reviewed_count and also run a quality audit on the 120 rows I'm sending?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T00:39:05.712Z","isFirstParty":false,"canonicalSlug":"legal-document-inventories-record-quality-audit-exact-deduplication-41364ce1"}