{"uid":"cap_UbJB91sw1qj_uj2pajn3Q","slug":"warehouse-movements-secondary-measure-weighted-mean-3627795b","name":"Warehouse Movements Secondary-Measure Weighted Mean","description":"Warehouse movements - Secondary-measure weighted mean: Secondary-measure weighted mean for Warehouse movements. 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 secondary-measure weighted mean deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-warehouse-movements-weighted-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","location","date","received_units","dispatched_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"location":{"type":"string","default":"","maxLength":80},"received_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dispatched_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","location":"group-a","received_units":10,"dispatched_units":1},{"date":"2026-10-02","row_id":"row-2","location":"group-b","received_units":20,"dispatched_units":2},{"date":"2026-10-03","row_id":"row-3","location":"group-a","received_units":15,"dispatched_units":3},{"date":"2026-10-04","row_id":"row-4","location":"group-b","received_units":30,"dispatched_units":4}],"maxItems":200,"minItems":1},"field":{"enum":["received_units","dispatched_units"],"type":"string","default":"received_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_HGVzUecFcqxf8ck3SFtGY","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 secondary-measure weighted mean over warehouse movement records (received or dispatched units) grouped by location and date.","exampleAgentPrompt":"Can you calculate the secondary-measure weighted mean for these warehouse movement records? I have 4 rows with locations group-a and group-b, dates from 2026-10-01 to 2026-10-04, and I want to weight by received_units.","exampleUseCases":[{"title":"Average inbound volume across warehouses","prompt":"I have daily received_units data for two warehouse locations over the past week — can you compute the weighted mean of received_units across those rows so I can see the average inbound throughput?"},{"title":"Dispatched units weighted summary","prompt":"Take these 10 warehouse movement records with dispatched_units values for locations East-Hub and West-Hub and calculate the secondary-measure weighted mean for dispatched_units so I can compare outbound performance."},{"title":"Multi-location inventory analytics","prompt":"I've got 50 rows of warehouse movement data across 5 locations from October. Can you run a weighted mean on the received_units field so I can normalize performance across sites with different volumes?"}],"resultDescription":"Returns a secondary-measure weighted mean value computed from the supplied warehouse movement records, using the selected field (received_units or dispatched_units) as the measure. The result is a single numeric aggregate reflecting the weighted average across up to 200 typed records, processed locally without external enrichment.","failureModes":["Empty or missing rows array returns validation error","More than 200 rows submitted exceeds maxItems limit and is rejected","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Missing required fields (row_id, location, date, received_units, dispatched_units) results in rejection","Invalid field enum value (not received_units or dispatched_units) causes error","All null numeric values may result in undefined or error output"],"whenToPreferThis":"Choose this endpoint when you need a weighted mean specifically over warehouse movement data (received or dispatched units) across locations and dates, with up to 200 records, and require fast local numeric computation without external data enrichment or forecasting. Prefer this over general statistics APIs when your data conforms to the warehouse movements schema and you want a cost-effective ($0.01 USDC) single-metric weighted average output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:43:43.690Z","isFirstParty":false,"canonicalSlug":"warehouse-movements-secondary-measure-weighted-mean-3627795b"}