{"uid":"cap_WAcd_XK5wmPuhbtgmb3p-","slug":"procurement-research-trailing-mean-series-adjacent-row-changes-12f7e220","name":"Procurement Research — Trailing Mean Series + Adjacent Row Changes","description":"Procurement research — Trailing mean series + Adjacent row changes: Trailing mean series + Adjacent row changes 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-146?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_w-zQMg6deOa0BFIvU9NJk","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 moving average series and adjacent row-to-row changes for procurement records (quoted_amount or quoted_units) in a single API call returning two analytical reports.","exampleAgentPrompt":"Can you run a trailing mean series and adjacent row change analysis on my procurement data using a window of 3 — I have rows with row_id, company_group, date, and quoted_amount fields — and I want the results for the quoted_amount field?","exampleUseCases":[{"title":"Smoothing supplier quote volatility","prompt":"I have 50 procurement records with quoted amounts from different supplier groups over the last quarter. Can you compute a trailing moving average with a window of 5 on the quoted_amount field and also show me the change between each consecutive row?"},{"title":"Detecting unit price jumps across orders","prompt":"Run a trailing mean series with a window of 4 and adjacent row changes on my purchase order data — I want to analyze the quoted_units field to spot where unit quantities shifted significantly between orders."},{"title":"Comparing procurement trends by company group","prompt":"I've got 120 rows of procurement records with company_group, date, row_id, quoted_amount, and quoted_units. Please calculate both the trailing mean series (window of 7) and the adjacent row changes for quoted_amount so I can see the smoothed trend and the day-to-day swings."}],"resultDescription":"Two analytical reports derived from the supplied procurement rows: (1) a trailing mean series showing the rolling average of the selected field (quoted_amount or quoted_units) over the specified window, and (2) an adjacent row changes report showing the delta between consecutive rows for the same field. Both reports are computed locally with no external lookups.","failureModes":["Input array exceeds 200 rows — request will be rejected","Window size larger than number of rows — trailing mean may be undefined or return nulls for early rows","Missing required fields (row_id, date, company_group) — validation error","Invalid date format not matching YYYY-MM-DD pattern — schema validation failure","quoted_amount or quoted_units values outside allowed range — validation error","Empty rows array — rejected per minItems:1 constraint"],"whenToPreferThis":"Choose this endpoint when you need fast, local computation of rolling averages and row-to-row change analysis on procurement records (up to 200 rows) without requiring live data lookups, predictions, or external integrations. It is particularly well-suited for batch analytical passes over structured procurement datasets where both trend smoothing (trailing mean) and volatility detection (adjacent changes) are needed simultaneously for a single low-cost call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:31.951Z","isFirstParty":false,"canonicalSlug":"procurement-research-trailing-mean-series-adjacent-row-changes-12f7e220"}