{"uid":"cap_aUta3BdywDtJK3Pj4dnXO","slug":"elevation-samples-duplicate-key-report-trailing-mean-series-9b1fe748","name":"Elevation Samples — Duplicate Key Report + Trailing Mean Series","description":"Elevation samples — Duplicate key report + Trailing mean series: Duplicate key report + Trailing mean series 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-061?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_gjCCNnJVEPpkwWvKVJMag","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":"Analyzes up to 200 elevation sample records to produce two reports: a duplicate key report and a trailing mean series for the specified numeric field.","exampleAgentPrompt":"Can you check my elevation sample data for duplicate row keys and also compute a trailing mean of elevation_m with a window of 3? I have 4 rows: row-1 (group-a, 2026-10-01, 10m, weight 1), row-2 (group-b, 2026-10-02, 20m, weight 2), row-3 (group-a, 2026-10-03, 15m, weight 3), row-4 (group-b, 2026-10-04, 30m, weight 4).","exampleUseCases":[{"title":"Audit elevation survey for duplicates","prompt":"I have 50 elevation readings from different stations and I'm worried some row IDs got duplicated in our export — can you run a duplicate key report on them and also give me a 5-point trailing mean of the elevation_m values?"},{"title":"Rolling average for terrain sampling","prompt":"Here's my terrain elevation dataset with 120 samples from station groups A through D — please compute the trailing mean series for elevation_m using a window of 10 and flag any duplicate row IDs I should fix."},{"title":"Data quality check on weighted samples","prompt":"I need two quick reports on my elevation sample records: find any rows with duplicate keys, and compute a trailing mean for sample_weight with a window of 4. I have about 80 rows total."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying rows with repeated row_id values within the dataset, and (2) a trailing mean series for the specified numeric field (elevation_m or sample_weight) computed using the specified window size across the provided rows.","failureModes":["Input array is empty or exceeds 200 rows — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Window size less than 2 or greater than 200 — rejected","Null or missing required fields (row_id, station_group, date) — schema validation failure","Insufficient rows for the requested window size — trailing mean may return fewer results than expected","Payment not received or insufficient USDC — 402 response"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously audit elevation sample records for duplicate row keys AND compute a rolling/trailing mean of a numeric field (elevation_m or sample_weight) in a single call. It is best suited for offline analytical work on tabular datasets up to 200 rows, where no live data lookup or external enrichment is needed. It is not appropriate for real-time elevation lookups, geocoding, or any operation requiring external data sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:35:25.232Z","isFirstParty":false,"canonicalSlug":"elevation-samples-duplicate-key-report-trailing-mean-series-9b1fe748"}