{"uid":"cap_Xu3ebyBHdJ7QmEgs62cX2","slug":"elevation-samples-trailing-mean-series-date-by-category-pivot-dd2d8db9","name":"Elevation Samples — Trailing Mean Series + Date by Category Pivot","description":"Elevation samples — Trailing mean series + Date by category pivot: Trailing mean series + Date by category pivot for supplied elevation samples records (elevation_m, sample_weight). 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-13-152?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","elevation_m","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"elevation_m":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"sample_weight":{"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","elevation_m":10,"sample_weight":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","elevation_m":20,"sample_weight":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","elevation_m":15,"sample_weight":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","elevation_m":30,"sample_weight":4,"station_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["elevation_m","sample_weight"],"type":"string","default":"elevation_m"},"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_RlwBkX8hLnaR7zsBEpqK0","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 date-by-category pivot table from supplied elevation sample records (elevation_m, sample_weight) for up to 200 rows.","exampleAgentPrompt":"I have 4 elevation sample records — row-1 on 2026-10-01 at 10m (weight 1, group-a), row-2 on 2026-10-02 at 20m (weight 2, group-b), row-3 on 2026-10-03 at 15m (weight 3, group-a), row-4 on 2026-10-04 at 30m (weight 4, group-b) — can you run a trailing mean series with a window of 2 on the elevation_m field and also give me a date-by-category pivot table for those rows?","exampleUseCases":[{"title":"Smoothing elevation sensor readings over time","prompt":"I've got a series of 50 elevation readings from two sensor stations — alpine-north and alpine-south — taken daily from 2026-09-01 to 2026-10-20. Can you give me a trailing mean series with a window of 5 on elevation_m and also pivot the data by date and station group?"},{"title":"Analyzing weighted survey samples by region","prompt":"Here are 120 elevation survey records from field teams across three site groups — site-east, site-west, and site-central — each with a date, elevation in meters, and a sample weight. Run a trailing mean series with window 3 on the sample_weight field and produce a date-by-category pivot table for the full dataset."},{"title":"Comparing elevation trends across monitoring stations","prompt":"I have 80 rows of elevation monitoring data across four station groups spanning 2025-01-01 to 2025-03-31, each tagged with a row ID, date, elevation_m, and sample_weight. Please compute a trailing mean with window 7 on elevation_m and also give me a cross-tabulation of elevations by date and station group."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series computed over the specified numeric field (elevation_m or sample_weight) using the given window size, and (2) a date-by-category pivot table cross-tabulating values by date and station_group. Both reports are derived entirely from the supplied input rows with no external data lookups.","failureModes":["Fewer than 1 or more than 200 rows submitted — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Window size smaller than 2 or larger than 200 — rejected input","Missing required fields (row_id, station_group, date, elevation_m, sample_weight) — schema error","Non-numeric values in elevation_m or sample_weight fields — type error","Payment of 0.01 USDC not provided or rejected — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you have elevation or sample-weight time-series data organized by station group and date and need both a rolling/trailing mean smoothing report and a date-by-category pivot summary in a single call. It is ideal for offline analytical batch processing of up to 200 rows without requiring external data sources, live lookups, or predictions. Not suitable for real-time elevation lookups, geolocation queries, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:40:05.707Z","isFirstParty":false,"canonicalSlug":"elevation-samples-trailing-mean-series-date-by-category-pivot-dd2d8db9"}