{"uid":"cap_XT3_WD6disVIHSeik_4va","slug":"legal-document-inventories-numeric-interval-filter-secondary-measure-97e041cc","name":"Legal Document Inventories — Numeric Interval Filter + Secondary-Measure Weighted Mean","description":"Legal document inventories — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + Secondary-measure weighted mean 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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-writing-10-132?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"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_8MtuquIcAUGiw7dNZjW96","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":"Filters legal document inventory records by a numeric interval on a chosen field and computes a secondary-measure weighted mean, returning up to 2 analytical reports for up to 200 supplied rows.","exampleAgentPrompt":"I have 150 rows of legal document inventory data with fields like document_count and reviewed_count — can you filter to records where document_count is between 5 and 50, then compute the weighted mean of reviewed_count across those filtered records?","exampleUseCases":[{"title":"Audit high-volume document groups","prompt":"Filter my legal document inventory rows to only those where document_count is between 20 and 200, then compute the weighted mean of reviewed_count so I can see how well high-volume groups are keeping up with reviews."},{"title":"Spot under-reviewed document batches","prompt":"I've got 80 rows of legal document inventory data — filter them to records where reviewed_count falls between 1 and 10, and give me the weighted mean of document_count so I can identify batches that are barely reviewed."},{"title":"Monthly inventory range summary","prompt":"Run two analytical reports on my legal document inventory dataset: first filter by document_count between 0 and 100 and compute the weighted mean of reviewed_count, then filter by document_count between 100 and 500 and do the same — I want to compare review rates across volume tiers."}],"resultDescription":"Returns up to 2 analytical reports per call: the first applies a numeric interval filter (min/max) to the chosen field (document_count or reviewed_count) across up to 200 supplied rows, and the second computes a weighted mean of the secondary measure (reviewed_count or document_count) on those filtered records. No external data is fetched; all computation runs on user-supplied data.","failureModes":["Rows array empty or missing — request rejected","More than 200 rows supplied — truncated or rejected","Invalid date format (non YYYY-MM-DD) — validation error","Minimum greater than maximum — may return empty filtered set","Null values in document_count or reviewed_count — may affect weighted mean calculation","Invalid field enum value — schema validation error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of legal document inventory data and need both a numeric range filter on document_count or reviewed_count AND a weighted mean of the secondary measure — all in a single low-cost ($0.01 USDC) call. Prefer it over general analytics tools when your data is already structured with row_id, document_group, date, document_count, and reviewed_count fields and you want a bundled two-report result without external lookups or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:33:50.239Z","isFirstParty":false,"canonicalSlug":"legal-document-inventories-numeric-interval-filter-secondary-measure-97e041cc"}