{"uid":"cap_h9sfxRd04p5whSNZgcPq2","slug":"damaged-stock-analytics-numeric-row-ordering-interval-filter-cce38b35","name":"Damaged Stock Analytics — Numeric Row Ordering & Interval Filter","description":"Damaged stock — Numeric row ordering + Numeric interval filter: Numeric row ordering + Numeric interval filter for supplied damaged stock records (handled_units, damaged_units). 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-retail-18-113?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","handled_units","damaged_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"store_group":{"type":"string","default":"","maxLength":80},"damaged_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"handled_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","damaged_units":1,"handled_units":10},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","damaged_units":2,"handled_units":20},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","damaged_units":3,"handled_units":15},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","damaged_units":4,"handled_units":30}],"maxItems":200,"minItems":1},"field":{"enum":["handled_units","damaged_units"],"type":"string","default":"handled_units"},"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_K1ajRfOruBCchJ4k7oLqT","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 damaged stock records by a numeric field and filters rows within a specified numeric interval, returning up to 2 analytical reports for up to 200 rows.","exampleAgentPrompt":"Sort my damaged stock records by damaged_units and filter to only rows where damaged_units are between 5 and 150 — here are 4 rows: row-1 (group-a, 2026-10-01, handled=10, damaged=1), row-2 (group-b, 2026-10-02, handled=20, damaged=12), row-3 (group-a, 2026-10-03, handled=15, damaged=80), row-4 (group-b, 2026-10-04, handled=30, damaged=200).","exampleUseCases":[{"title":"Identify high-damage store groups","prompt":"I have 50 rows of store damage records for October — can you sort them by damaged_units from highest to lowest and filter to only the rows where damaged_units are between 20 and 500, so I can see which store groups are the worst offenders?"},{"title":"Audit handled units within operational range","prompt":"Can you take my 120 rows of warehouse stock records and sort them by handled_units, keeping only the rows where handled_units fall between 100 and 10000? I need two reports: one ordered and one filtered."},{"title":"Monthly damage review for retail chain","prompt":"For our monthly damaged stock review, please sort these 80 retail records by damaged_units and filter out anything below 5 or above 300 damaged units — I want to see only the records within that normal operating window."}],"resultDescription":"Returns up to 2 analytical reports: one with rows numerically ordered by the specified field (handled_units or damaged_units), and one with rows filtered to those whose specified field value falls within the provided minimum–maximum interval. Covers up to 200 input rows per call.","failureModes":["More than 200 rows submitted — request rejected or truncated","Invalid date format (not YYYY-MM-DD) causes schema validation failure","minimum greater than maximum yields empty filtered result set","Missing required fields (row_id, date, handled_units, damaged_units) causes validation error","Non-numeric values in numeric fields cause type errors"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of retail damaged stock records and need both a numerically sorted ranking and an interval-filtered subset in a single low-cost call ($0.01 USDC). Ideal for offline/batch analytical reporting where no live data lookup or prediction is needed — just deterministic ordering and filtering of supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:01.358Z","isFirstParty":false,"canonicalSlug":"damaged-stock-analytics-numeric-row-ordering-interval-filter-cce38b35"}