{"uid":"cap_UCn5rf_H_9VVxf_Ln_-r6","slug":"damaged-stock-duplicate-key-report-numeric-interval-filter-9e875e71","name":"Damaged Stock Duplicate Key Report + Numeric Interval Filter","description":"Damaged stock — Duplicate key report + Numeric interval filter: Duplicate key report + 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-059?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_K_QlpCmbWjK6j8XPnZ7Q2","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 (handled_units, damaged_units) to produce a duplicate key report and a numeric interval filter report for up to 200 rows.","exampleAgentPrompt":"Check my damaged stock records for duplicate row IDs and also filter them to only show entries where handled_units is between 10 and 500 — here's my data: row-1, group-a, 2026-10-01, handled_units=10, damaged_units=1; row-2, group-b, 2026-10-02, handled_units=20, damaged_units=2; row-3, group-a, 2026-10-03, handled_units=15, damaged_units=3.","exampleUseCases":[{"title":"Retail damage data deduplication check","prompt":"I have a batch of 50 damaged stock records from our warehouse and I suspect some row IDs are duplicated — can you run a duplicate key report on them and also filter to only show rows where damaged_units is between 1 and 50?"},{"title":"Store group interval filter for handled units","prompt":"From these 120 damaged inventory records across our store groups, give me a duplicate key report and filter down to only the rows where handled_units falls between 100 and 800 — I want to focus on mid-range throughput items."},{"title":"Data quality audit before inventory reconciliation","prompt":"Before I reconcile our quarterly stock counts, can you scan these damaged stock records for any duplicate row IDs and pull out only the rows where handled_units is in the range 0 to 200?"}],"resultDescription":"Returns two analytical reports: (1) a duplicate key report identifying rows with repeated row_id values across the supplied dataset, and (2) a numeric interval filter report listing rows where the specified field (handled_units or damaged_units) falls within the supplied minimum and maximum bounds. Both reports are computed locally against the supplied data with no external lookups.","failureModes":["Empty or missing rows array returns an error","More than 200 rows submitted exceeds maxItems limit","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Missing required fields (row_id, store_group, date, handled_units, damaged_units) cause item-level errors","Minimum greater than maximum may return empty interval filter results","Non-numeric values in handled_units or damaged_units cause validation errors"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously identify duplicate row keys and apply a numeric range filter on retail damaged stock records (handled_units or damaged_units) in a single low-cost call. Ideal for data quality checks on datasets up to 200 rows before reconciliation or reporting pipelines, where no live data lookup or external enrichment is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:02.290Z","isFirstParty":false,"canonicalSlug":"damaged-stock-duplicate-key-report-numeric-interval-filter-9e875e71"}