{"uid":"cap_-HqNMIeI-sVPem93eqxxb","slug":"document-approvals-numeric-row-ordering-numeric-interval-filter-7c95417c","name":"Document Approvals — Numeric Row Ordering & Numeric Interval Filter","description":"Document approvals — Numeric row ordering + Numeric interval filter: Numeric row ordering + Numeric interval filter for supplied document approvals records (submitted_documents, approved_documents). 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-operations-17-113?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","submitted_documents","approved_documents"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"approved_documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"submitted_documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","approved_documents":1,"submitted_documents":10},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","approved_documents":2,"submitted_documents":20},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","approved_documents":3,"submitted_documents":15},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","approved_documents":4,"submitted_documents":30}],"maxItems":200,"minItems":1},"field":{"enum":["submitted_documents","approved_documents"],"type":"string","default":"submitted_documents"},"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_zQHcx1m4L67bFKYDGf9vb","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":"Sorts document approval records by a numeric field and filters them to a specified numeric interval, returning up to 2 analytical reports for up to 200 rows.","exampleAgentPrompt":"Sort my document approval records by submitted_documents and filter to only rows where submitted_documents is between 5 and 50 — here are the rows: row-1, group-a, 2026-10-01, submitted=10, approved=1; row-2, group-b, 2026-10-02, submitted=20, approved=2; row-3, group-a, 2026-10-03, submitted=15, approved=3.","exampleUseCases":[{"title":"Filter approvals within a target range","prompt":"I have 80 rows of document approval data across multiple teams. Can you filter them to only show rows where approved_documents is between 10 and 100, and sort them numerically by approved_documents?"},{"title":"Rank teams by submission volume","prompt":"Sort these document approval records by submitted_documents in numeric order and give me both reports — I want to see all rows where submitted_documents falls between 0 and 30. Here's the data for the past month across group-a and group-b."},{"title":"Audit approval gap by interval","prompt":"I need to analyze our approval pipeline. Take these 150 approval records and filter to rows where submitted_documents is between 50 and 200, ordered numerically, so I can see where we have backlogs."}],"resultDescription":"Returns up to 2 analytical reports based on the supplied rows: one showing numeric row ordering by the specified field, and one showing rows filtered to the specified numeric interval (minimum to maximum). Results are derived entirely from the supplied data with no external lookup.","failureModes":["Input array exceeds 200 rows — request rejected","minimum greater than maximum causes empty filter result","Missing required fields (row_id, date, submitted_documents, approved_documents) causes validation error","Invalid date format (not YYYY-MM-DD) causes schema rejection","Numeric values outside ±1,000,000,000,000 are rejected"],"whenToPreferThis":"Choose this endpoint when you have up to 200 document approval records (with submitted_documents and approved_documents metrics) and need both a numerically ordered ranking and an interval-filtered subset in a single low-cost call. It is ideal for lightweight, self-contained analytics on supplied data without needing a full data warehouse or live database connection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:33:14.465Z","isFirstParty":false,"canonicalSlug":"document-approvals-numeric-row-ordering-numeric-interval-filter-7c95417c"}