{"uid":"cap_lYL9H5QiYQq0CFpikCIWM","slug":"inventory-administration-secondary-measure-weighted-mean-date-by-e32d4683","name":"Inventory Administration — Secondary-Measure Weighted Mean + Date-by-Category Pivot","description":"Inventory administration — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot for supplied inventory administration records (count_sessions, discrepancy_count). 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-operations-21-185?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","count_sessions","discrepancy_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"count_sessions":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"discrepancy_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","count_sessions":10,"discrepancy_count":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","count_sessions":20,"discrepancy_count":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","count_sessions":15,"discrepancy_count":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","count_sessions":30,"discrepancy_count":4}],"maxItems":200,"minItems":1},"field":{"enum":["count_sessions","discrepancy_count"],"type":"string","default":"count_sessions"}}},"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_KLtyXL2CSVhoOgZByN2je","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 and a date-by-category pivot table for supplied inventory administration records (count_sessions, discrepancy_count) across up to 200 rows.","exampleAgentPrompt":"I have inventory administration records with session counts and discrepancy counts across team groups and dates — can you compute the weighted mean for count_sessions and also generate a date-by-category pivot using these rows: row-1 group-a 2026-10-01 sessions=10 discrepancies=1, row-2 group-b 2026-10-02 sessions=20 discrepancies=2?","exampleUseCases":[{"title":"Team discrepancy trend pivot","prompt":"Take these inventory records across group-a and group-b from October 2026 and pivot the discrepancy_count by date and team group, plus give me the weighted mean of discrepancy counts weighted by session volume."},{"title":"Session volume weighted average by team","prompt":"I have 50 rows of inventory administration data with team groups and daily session counts — run a weighted mean analysis on count_sessions and also produce a date-by-category pivot so I can see how each team performed over time."},{"title":"Inventory operations statistical summary","prompt":"Here are our weekly inventory records for four teams spanning Q4 — compute the secondary-measure weighted mean for count_sessions and a date-by-category pivot for discrepancy_count so I can spot which teams had the most anomalies on which days."}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean for the selected field (count_sessions or discrepancy_count) and (2) a date-by-category pivot table breaking values down by date and team_group, both computed locally against the supplied rows without any external data lookup.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, team_group, date, count_sessions, discrepancy_count) — validation error","Invalid date format (must match YYYY-MM-DD pattern) — schema rejection","All numeric values null — weighted mean undefined","Empty rows array — minimum 1 item required"],"whenToPreferThis":"Choose this endpoint when you have up to 200 inventory administration records with session counts and discrepancy counts and need both a weighted mean statistical summary and a date-by-category pivot in a single paid call. It is ideal for offline/batch analytics on supplied data without requiring external data sources, predictions, or live lookups. It is not suitable for real-time inventory monitoring, forecasting, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:45.839Z","isFirstParty":false,"canonicalSlug":"inventory-administration-secondary-measure-weighted-mean-date-by-e32d4683"}