{"uid":"cap_gFkH8Eb4qz0AXEGrQxhLl","slug":"damaged-stock-numeric-row-ordering-and-adjacent-row-changes-e9ac721b","name":"Damaged Stock Numeric Row Ordering and Adjacent Row Changes","description":"Damaged stock — Numeric row ordering + Adjacent row changes: Numeric row ordering + Adjacent row changes 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-116?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"}}},"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_bGao2yI1XjTkyLtFEsYaR","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":"Analyzes supplied damaged stock records to produce numeric row ordering and adjacent row change reports for up to 200 rows.","exampleAgentPrompt":"Can you rank these damaged stock rows numerically and show me the adjacent row changes for damaged_units? I have 4 rows: row-1 group-a 2026-10-01 handled=10 damaged=1, row-2 group-b 2026-10-02 handled=20 damaged=2, row-3 group-a 2026-10-03 handled=15 damaged=3, row-4 group-b 2026-10-04 handled=30 damaged=4.","exampleUseCases":[{"title":"Retail store damage trend analysis","prompt":"Here are 10 days of damaged stock records across two store groups — can you order the rows numerically and tell me how damaged_units changed between consecutive rows for each date?"},{"title":"Warehouse handling audit","prompt":"I have a list of 50 warehouse rows with handled_units and damaged_units per date. Can you rank them by handled_units and show me the adjacent row differences so I can spot unusual jumps?"},{"title":"Weekly damaged goods reporting","prompt":"Take these 30 damaged stock entries from last week across store groups A and B and give me the numeric row ordering plus the day-over-day changes in damaged_units — I want to see which consecutive rows had the biggest swings."}],"resultDescription":"Two analytical reports computed locally from supplied data: (1) a numeric row ordering of the provided rows by the selected field (handled_units or damaged_units), and (2) adjacent row changes showing the difference between consecutive rows for that field. No external data sources or predictions are used.","failureModes":["Fewer than 1 or more than 200 rows submitted — rejected with validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Missing required fields (row_id, store_group, date, handled_units, damaged_units) — rejected","Field selector not one of 'handled_units' or 'damaged_units' — enum validation error","Numeric values outside allowed range (-1e12 to 1e12) — schema rejection"],"whenToPreferThis":"Choose this endpoint when you have pre-collected damaged stock records with handled_units and damaged_units and need two specific offline analytical outputs — numeric ordering and adjacent row change series — without any live data lookup, forecasting, or external enrichment. It is cost-effective at $0.01 USDC for both reports on up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:50:06.172Z","isFirstParty":false,"canonicalSlug":"damaged-stock-numeric-row-ordering-and-adjacent-row-changes-e9ac721b"}