{"uid":"cap_hRGmS4oji7yWSfJRDbUi7","slug":"waste-monitoring-trailing-mean-series-386e0aa9","name":"Waste Monitoring Trailing Mean Series","description":"Waste monitoring - Trailing mean series: Trailing mean series for Waste monitoring. 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 trailing mean series deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-waste-monitoring-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","material","date","collected_kg","recycled_kg"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"material":{"type":"string","default":"","maxLength":80},"recycled_kg":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"collected_kg":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","material":"group-a","recycled_kg":1,"collected_kg":10},{"date":"2026-10-02","row_id":"row-2","material":"group-b","recycled_kg":2,"collected_kg":20},{"date":"2026-10-03","row_id":"row-3","material":"group-a","recycled_kg":3,"collected_kg":15},{"date":"2026-10-04","row_id":"row-4","material":"group-b","recycled_kg":4,"collected_kg":30}],"maxItems":200,"minItems":1},"field":{"enum":["collected_kg","recycled_kg"],"type":"string","default":"collected_kg"},"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_l2qxreSvlWYCOAYUjg_37","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 (rolling) mean time series for waste monitoring records across collected or recycled kg fields, grouped by material type.","exampleAgentPrompt":"Can you compute a trailing mean series with a window of 7 for my waste collection data — I have daily records for materials like 'plastics' and 'paper' with collected_kg values, and I want to smooth the collected_kg field?","exampleUseCases":[{"title":"Smoothing municipal waste collection trends","prompt":"I have 90 days of daily waste collection records across three material types — paper, glass, and plastics — and I want to smooth out the collected_kg values using a 14-day trailing mean so I can spot underlying trends without daily noise."},{"title":"Recycling rate rolling average for sustainability report","prompt":"Can you calculate a 30-day trailing mean on the recycled_kg field for my waste monitoring dataset? I've got about 150 records with material types 'organic' and 'mixed', and I need the smoothed series for our quarterly sustainability report."},{"title":"Detecting anomalies against rolling baseline","prompt":"Run a trailing mean series with a window of 5 on our waste collection data — field is collected_kg, materials include 'cardboard' and 'metal' — so I can compare daily actuals against the rolling baseline and flag outliers."}],"resultDescription":"Returns a trailing mean time series for up to 200 waste monitoring records, providing smoothed numeric values for the selected field (collected_kg or recycled_kg) computed over the specified window size, along with data-quality indicators. Results are grouped by material type and ordered by date.","failureModes":["Fewer than 2 records supplied — minimum 1 item required but window must be at least 2","Window size exceeds number of records — leading rows will have insufficient data for a full window","Invalid date format — dates must match YYYY-MM-DD pattern","Field value not in enum — must be 'collected_kg' or 'recycled_kg'","Numeric values out of bounds — collected_kg or recycled_kg outside ±1,000,000,000,000","More than 200 rows submitted — exceeds maxItems limit","Missing required fields row_id, material, date, collected_kg, or recycled_kg on any record"],"whenToPreferThis":"Choose this endpoint when you have timestamped waste monitoring records (collected or recycled kg by material) and need a local, numerically computed trailing mean series without any external enrichment or forecasting. Ideal for smoothing daily waste collection fluctuations, generating rolling baselines for anomaly detection, or preparing trend-smoothed inputs for sustainability reports. It is bounded to 200 records per call and operates entirely on your supplied data, making it fast and deterministic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:16:42.709Z","isFirstParty":false,"canonicalSlug":"waste-monitoring-trailing-mean-series-386e0aa9"}