{"uid":"cap_WHB3VBnJx1QulE2iGeXXC","slug":"damaged-stock-quality-audit-equal-width-histogram-22602d46","name":"Damaged Stock Quality Audit + Equal-Width Histogram","description":"Damaged stock — Record quality audit + Equal-width histogram: Record quality audit + Equal-width histogram 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-013?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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_vwHlx638ny9PrXRRXuYvv","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":"Runs a data quality audit and equal-width histogram analysis on up to 200 damaged stock records (handled_units or damaged_units) and returns two independent analytical reports.","exampleAgentPrompt":"Can you run a quality audit and equal-width histogram on my damaged stock data — I have 4 rows with store groups A and B, handled_units and damaged_units per day from 2026-10-01 to 2026-10-04, and I want the histogram to use 5 bins on the damaged_units field?","exampleUseCases":[{"title":"Retail damage log quality check","prompt":"I have 150 rows of damaged stock records from my warehouse — each row has a date, store group, handled units, and damaged units. Can you run a data quality audit on them and also produce a 10-bin equal-width histogram on the damaged_units field so I can see the distribution?"},{"title":"Distribution analysis for inventory reporting","prompt":"Before I send my monthly inventory report, can you check the data quality of my handled_units records across all 80 store entries and generate a 5-bin histogram on handled_units to flag any weird distribution patterns?"},{"title":"Spot-check damage rates across store groups","prompt":"I've got 60 damaged stock rows from three store groups over the past quarter. Run a quality audit to catch any nulls or bad values, and give me an equal-width histogram with 8 bins on damaged_units so I can see where most damage is clustering."}],"resultDescription":"Two independent reports: (1) a record quality audit identifying data issues such as nulls, out-of-range values, or malformed entries across the supplied rows; and (2) an equal-width histogram showing bin edges and counts for the selected field (handled_units or damaged_units) using the specified number of bins (1–30). No external lookups or predictions are performed — all analysis is local and deterministic.","failureModes":["More than 200 rows submitted — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Missing required fields (row_id, handled_units, damaged_units) — schema error","Bins parameter out of range (must be 1–30) — validation error","Empty rows array — request rejected","Payment of 0.01 USDC not completed — 402 response"],"whenToPreferThis":"Choose this endpoint when you need a combined data quality audit and distribution histogram for damaged stock records in a single low-cost call, and your dataset is 200 rows or fewer. It is ideal for retail or warehouse analysts who want to validate record completeness and understand the shape of handled or damaged unit distributions before reporting or downstream processing. It does not perform live lookups, forecasting, or external integrations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:34.187Z","isFirstParty":false,"canonicalSlug":"damaged-stock-quality-audit-equal-width-histogram-22602d46"}