{"uid":"cap_WK7AkRcL8YNEAbW39uJmx","slug":"reservoir-observations-exact-row-deduplication-trailing-mean-series-cea6e37d","name":"Reservoir Observations — Exact Row Deduplication + Trailing Mean Series","description":"Reservoir observations — Exact row deduplication + Trailing mean series: Exact row deduplication + Trailing mean series for supplied reservoir observations records (stored_m3, capacity_m3). 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-weather-19-045?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","stored_m3","capacity_m3"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"stored_m3":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"capacity_m3":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"station_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","stored_m3":10,"capacity_m3":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","stored_m3":20,"capacity_m3":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","stored_m3":15,"capacity_m3":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","stored_m3":30,"capacity_m3":4,"station_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["stored_m3","capacity_m3"],"type":"string","default":"stored_m3"},"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_FnZQtLym4dN8_sLHCtWyQ","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":"Deduplicates exact duplicate rows and computes a trailing moving-average series for supplied reservoir observation records (stored_m3, capacity_m3) — up to 200 rows, two reports per call.","exampleAgentPrompt":"I have 150 daily reservoir observation records with stored_m3 and capacity_m3 values across several station groups — can you deduplicate them exactly and then compute a trailing mean series over a 7-day window on the stored_m3 field?","exampleUseCases":[{"title":"Weekly reservoir storage trend smoothing","prompt":"I've got daily reservoir readings for 3 station groups over the past 6 months — about 180 rows. Can you remove any exact duplicate rows and then calculate a trailing 14-day moving average on the stored_m3 values so I can see the smoothed storage trend?"},{"title":"Data pipeline deduplication before reporting","prompt":"Before I send our reservoir observation data into the monthly report, can you run deduplication on these 90 records and also produce a trailing mean series with a window of 5 on the capacity_m3 field to spot any anomalies in filled capacity over time?"},{"title":"Multi-station reservoir monitoring cleanup","prompt":"We have records from 4 station groups — some rows got duplicated when the sensors re-synced. Can you deduplicate these 60 reservoir observation rows and give me a trailing 3-period mean for stored_m3 so I can compare smoothed levels across stations?"}],"resultDescription":"Two analytical reports: (1) a deduplicated version of the input rows with exact duplicate records removed, and (2) a trailing mean series computed over the specified rolling window for the chosen field (stored_m3 or capacity_m3), grouped or ordered by date and station_group. Both reports are derived entirely from the supplied input data with no external lookups.","failureModes":["Input array is empty or exceeds 200 rows — rejected with validation error","Invalid date format (not YYYY-MM-DD) causes row rejection or parse error","Window size larger than the number of rows results in incomplete or empty trailing mean series","Null values in stored_m3 or capacity_m3 may produce gaps or NaN entries in the mean series","Missing required fields (row_id, station_group, date) cause schema validation failure","Payment not included or insufficient USDC causes 402 rejection before processing"],"whenToPreferThis":"Choose this endpoint when you have tabular reservoir observation data (stored_m3, capacity_m3) that needs both exact deduplication and a rolling mean smoothing in a single $0.01 call. It is ideal for batch preprocessing of up to 200 rows before ingestion into dashboards or reports. Prefer this over general-purpose analytics tools when you specifically need both deduplication and trailing mean in one lightweight, low-cost operation on hydrological time series data with no external dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:50:23.181Z","isFirstParty":false,"canonicalSlug":"reservoir-observations-exact-row-deduplication-trailing-mean-series-cea6e37d"}