{"uid":"cap_AMgPhVi53kshyW8ocGob_","slug":"procurement-research-trailing-mean-series-secondary-measure-weighted-bc129501","name":"Procurement Research — Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Procurement research — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied procurement research records (quoted_amount, quoted_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-company-11-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","quoted_amount","quoted_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"quoted_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"quoted_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","quoted_units":1,"company_group":"group-a","quoted_amount":10},{"date":"2026-10-02","row_id":"row-2","quoted_units":2,"company_group":"group-b","quoted_amount":20},{"date":"2026-10-03","row_id":"row-3","quoted_units":3,"company_group":"group-a","quoted_amount":15},{"date":"2026-10-04","row_id":"row-4","quoted_units":4,"company_group":"group-b","quoted_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["quoted_amount","quoted_units"],"type":"string","default":"quoted_amount"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_xNLi65JmSOdaAs7W5WRVL","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 trailing mean time series and a secondary-measure weighted mean for up to 200 procurement records (quoted_amount, quoted_units) using local analytics — no external lookups.","exampleAgentPrompt":"Run a trailing mean series and weighted mean analysis on these 150 procurement records — use quoted_amount as the primary field and a window size of 5. I need both reports for the supplier quotes we got last quarter.","exampleUseCases":[{"title":"Quarterly supplier quote trend analysis","prompt":"I have 120 procurement records from Q3 with row IDs, company groups, dates, quoted amounts, and units. Can you compute a trailing mean series over a window of 7 and a weighted mean using quoted_amount so I can see cost trends across suppliers?"},{"title":"Smoothing noisy procurement spend data","prompt":"Our procurement team collected 80 vendor quotes with quoted_amounts and quoted_units. Run a trailing mean with a window of 4 on the quoted_amount field to smooth out the noise, and also give me the weighted mean using units as the secondary measure."},{"title":"Multi-group procurement benchmark comparison","prompt":"I've got 200 procurement rows across several company groups — each with a date, row_id, quoted_amount, and quoted_units. Generate both a trailing mean series and a secondary-measure weighted mean with a window of 10 on quoted_units so I can benchmark pricing across groups."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series for the chosen field (quoted_amount or quoted_units) computed over the specified rolling window, and (2) a secondary-measure weighted mean across the supplied procurement records. Results are derived entirely from the submitted data using local engines — no external lookups or predictions are included.","failureModes":["More than 200 rows submitted — request rejected due to row limit","Missing required fields (row_id, date, company_group, quoted_amount, quoted_units) cause validation errors","Window size outside the 2–200 range returns an error","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Numeric values outside ±1,000,000,000,000 are rejected","Payment of 0.01 USDC not completed results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need both a rolling/trailing mean time series AND a weighted mean calculation on procurement quote data (quoted_amount and quoted_units) in a single low-cost call. It is ideal for offline or batch analytical workflows where no live data lookup or prediction is needed, and the dataset fits within 200 rows. It bundles two distinct analytical reports for $0.01 USDC, making it cost-efficient compared to calling separate statistical endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:40:55.430Z","isFirstParty":false,"canonicalSlug":"procurement-research-trailing-mean-series-secondary-measure-weighted-bc129501"}