{"uid":"cap_LriTkmaVGFfLTrwD0-mtt","slug":"inventory-counts-grouped-numeric-summary-b5077d2e","name":"Inventory Counts Grouped Numeric Summary","description":"Inventory counts - Grouped numeric summary: Grouped numeric summary 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 grouped numeric summary deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-inventory-counts-group-summary?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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_fC9GUZY3ZFRd-ZPaVeItb","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 a grouped numeric summary (e.g. totals, averages) across inventory count records grouped by warehouse, for up to 200 rows.","exampleAgentPrompt":"I have 4 inventory count records across two warehouses — group-a and group-b — and I need a grouped numeric summary of their book_units. The records are: row-1 on 2026-10-01 in group-a with book_units=10 and counted_units=1, row-2 on 2026-10-02 in group-b with book_units=20 and counted_units=2, row-3 on 2026-10-03 in group-a with book_units=15 and counted_units=3, and row-4 on 2026-10-04 in group-b with book_units=30 and counted_units=4. Can you compute the grouped summary for me?","exampleUseCases":[{"title":"Compare counted vs book units by warehouse","prompt":"I have 50 inventory count records from three warehouses and I want a grouped numeric summary showing counted_units aggregated per warehouse — can you compute that for me? Here are the records: [row-1, 2026-09-01, warehouse-A, book_units=100, counted_units=95], [row-2, 2026-09-01, warehouse-B, book_units=200, counted_units=190], ..."},{"title":"Spot inventory variance across distribution centers","prompt":"We did a physical count at our distribution centers last week and I have 120 records. Can you group them by warehouse and give me a numeric summary of book_units so I can see which locations are over or under?"},{"title":"Monthly stock audit summary by location","prompt":"I've got 80 inventory count records from our October audit across five warehouse groups. Please group them by warehouse and summarize the counted_units so I can report totals per location to management."}],"resultDescription":"A grouped numeric summary object containing aggregated statistics (such as totals, counts, or averages) for the selected field (book_units or counted_units) broken down by warehouse group, computed locally from the supplied records with no external enrichment.","failureModes":["Empty rows array or fewer than 1 record returns a validation error","More than 200 rows submitted exceeds the maxItems limit and is rejected","Invalid date format (not YYYY-MM-DD) causes a schema validation failure","Missing required fields (row_id, warehouse, date, book_units, counted_units) causes record rejection","Invalid field enum value (not 'book_units' or 'counted_units') causes a bad request error","Payment not provided or insufficient USDC balance returns a 402 error"],"whenToPreferThis":"Choose this endpoint when you need a fast, inexpensive grouped numeric summary of inventory count records (book vs counted units) aggregated by warehouse, with no need for external enrichment, forecasting, or AI-generated insights. It is ideal for structured audit data up to 200 rows where local, deterministic aggregation is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:16:53.060Z","isFirstParty":false,"canonicalSlug":"inventory-counts-grouped-numeric-summary-b5077d2e"}