{"uid":"cap_G5KbJKP8sek9xK3bLd9gW","slug":"damaged-stock-numeric-interval-filter-adjacent-row-changes-95acd633","name":"Damaged Stock — Numeric Interval Filter + Adjacent Row Changes","description":"Damaged stock — Numeric interval filter + Adjacent row changes: Numeric interval filter + 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-127?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_6bJcxKpNFkzHpVs_Z32sA","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 damaged stock records by a numeric interval and computes adjacent row changes for handled_units or damaged_units across up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"I have daily damaged stock records for our retail stores — can you filter the rows where handled_units fall between 10 and 50, and also show me how the damaged_units changed from one row to the next? Here are the rows: row-1, group-a, 2026-10-01, handled=12, damaged=2; row-2, group-b, 2026-10-02, handled=45, damaged=5; row-3, group-a, 2026-10-03, handled=8, damaged=1.","exampleUseCases":[{"title":"Spotting abnormal damage handling ranges","prompt":"Can you filter our damaged stock records to only show rows where damaged_units are between 5 and 100, and tell me how damaged_units shifted between consecutive rows? I'll supply the data: row-1 group-a 2026-11-01 handled=200 damaged=8, row-2 group-b 2026-11-02 handled=180 damaged=50, row-3 group-a 2026-11-03 handled=220 damaged=110."},{"title":"Daily delta tracking for store groups","prompt":"I need to see row-over-row changes in handled_units for our store groups, and also filter to rows where handled_units land between 100 and 500. Here's the data: row-1 store-east 2026-09-01 handled=120 damaged=3, row-2 store-west 2026-09-02 handled=450 damaged=7, row-3 store-east 2026-09-03 handled=600 damaged=2."},{"title":"Weekly damaged goods interval audit","prompt":"Run both reports — interval filter and adjacent row changes — on my weekly damaged stock log using the damaged_units field, filtering between 0 and 20. Data: row-1 dc-north 2026-10-07 handled=80 damaged=5, row-2 dc-south 2026-10-08 handled=95 damaged=22, row-3 dc-north 2026-10-09 handled=70 damaged=15."}],"resultDescription":"Returns two reports: (1) rows from the supplied dataset where the selected field (handled_units or damaged_units) falls within the specified numeric minimum–maximum interval, and (2) adjacent row changes showing the delta between consecutive rows for that field — all computed locally without any external lookup or live data.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, date, store_group, handled_units, or damaged_units) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Minimum greater than maximum results in empty interval-filter output","Null numeric values may affect adjacent-change calculations"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of damaged stock records (with handled_units and damaged_units) and need both a numeric range filter and consecutive-row delta analysis in a single low-cost call. It is ideal for offline or batch retail inventory analysis where no live data lookup, prediction, or external action is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:50:34.066Z","isFirstParty":false,"canonicalSlug":"damaged-stock-numeric-interval-filter-adjacent-row-changes-95acd633"}