{"uid":"cap_yV-Mg0urhfIMJkkvQo96N","slug":"inventory-counts-equal-width-histogram-62c0bd52","name":"Inventory Counts Equal-Width Histogram","description":"Inventory counts - Equal-width histogram: Equal-width histogram for Inventory counts. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded equal-width histogram deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-inventory-counts-histogram?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","warehouse","date","book_units","counted_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"warehouse":{"type":"string","default":"","maxLength":80},"book_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"counted_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","warehouse":"group-a","book_units":10,"counted_units":1},{"date":"2026-10-02","row_id":"row-2","warehouse":"group-b","book_units":20,"counted_units":2},{"date":"2026-10-03","row_id":"row-3","warehouse":"group-a","book_units":15,"counted_units":3},{"date":"2026-10-04","row_id":"row-4","warehouse":"group-b","book_units":30,"counted_units":4}],"maxItems":200,"minItems":1},"field":{"enum":["book_units","counted_units"],"type":"string","default":"book_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_Io_7xe0rnKvvkvuVroO08","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":"Computes an equal-width histogram over book_units or counted_units values from up to 200 inventory count records, binned into 1–30 equal-width intervals.","exampleAgentPrompt":"Generate an equal-width histogram with 10 bins for the book_units field from my inventory count records: warehouse group-a had 100 units on 2024-01-01, group-b had 250 on 2024-01-02, group-a had 175 on 2024-01-03, and group-b had 320 on 2024-01-04.","exampleUseCases":[{"title":"Inventory discrepancy distribution analysis","prompt":"I have 50 inventory count records from our Chicago and Dallas warehouses — can you build a 10-bin equal-width histogram of the counted_units values so I can see how our physical counts are distributed?"},{"title":"Book units spread across warehouse locations","prompt":"Run a histogram with 5 bins on the book_units field for these 30 inventory records from our Q4 audit — I want to see if most of our book values cluster in a narrow range or spread out widely."},{"title":"Outlier detection in inventory counts","prompt":"Generate a 15-bin equal-width histogram of book_units across all 120 inventory records from our annual count so I can spot any outlier bins with unusually high or low frequencies."}],"resultDescription":"Returns an equal-width histogram with up to 30 bins, where each bin includes its lower and upper boundary and the count of records falling within that range for the specified field (book_units or counted_units). Processing is local with no external enrichment.","failureModes":["Input array is empty or missing — returns validation error","More than 200 rows supplied — rejected with max-items error","Invalid date format (not YYYY-MM-DD) — schema validation failure","bins value outside 1–30 range — rejected with min/max constraint error","field value not one of book_units or counted_units — enum validation error","All values are null for the selected field — may return empty or degenerate histogram"],"whenToPreferThis":"Choose this endpoint when you need a fast, local equal-width frequency distribution of inventory unit values (book or counted) without any external data enrichment or forecasting. Ideal for exploratory distribution analysis, audit reporting, and detecting clustering or outliers in warehouse inventory counts with up to 200 records at minimal cost ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:16:43.308Z","isFirstParty":false,"canonicalSlug":"inventory-counts-equal-width-histogram-62c0bd52"}