{"uid":"cap_Gf5ES3nsQbKY9gx9OADz1","slug":"elevation-samples-adjacent-row-changes-secondary-measure-weighted-mean-0751a62f","name":"Elevation Samples — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Elevation samples — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean 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-159?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"}}},"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_8HYCTllVwzrsOfDNw8T7q","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 adjacent-row delta changes and a sample-weight-based weighted mean for up to 200 elevation measurement records, returning both analytics in a single call.","exampleAgentPrompt":"I have a set of elevation survey readings with sample weights — can you compute the adjacent row-to-row changes and the sample-weight-based weighted mean across all my records? Here are the rows: row-1 on 2026-10-01, elevation_m=10, sample_weight=1, station_group=group-a; row-2 on 2026-10-02, elevation_m=20, sample_weight=2, station_group=group-b — and I want the analysis on the elevation_m field.","exampleUseCases":[{"title":"Elevation survey trend analysis","prompt":"I have 50 elevation readings from a hillside survey, each with a sample weight. Can you compute the adjacent row changes and the weighted mean of the elevation_m values, grouped by station, so I can see where the terrain shifts most sharply?"},{"title":"Weighted mean for sensor quality scoring","prompt":"My sensor network logged elevation_m and a sample_weight per reading for each station group over the past month — run the adjacent row delta report and the sample-weight weighted mean on all 180 rows and give me both results."},{"title":"Construction site elevation QA","prompt":"We collected 120 elevation samples across two site groups with corresponding sample weights. Can you compute the row-over-row elevation changes and the weighted average elevation for the elevation_m field so our QA team can flag anomalies?"}],"resultDescription":"Returns two analytical reports for the supplied elevation sample rows: (1) adjacent row changes showing the delta in the selected field (elevation_m or sample_weight) between consecutive records, and (2) a secondary-measure weighted mean that uses sample_weight to compute a weighted average — all computed locally with no external lookups, covering up to 200 input rows.","failureModes":["Input array exceeds 200 rows — request will be rejected","Missing required fields (row_id, date, elevation_m, sample_weight, station_group) cause validation errors","Invalid date format (non-YYYY-MM-DD) triggers pattern validation failure","null values in elevation_m or sample_weight may produce null or undefined deltas","Invalid field enum value (not 'elevation_m' or 'sample_weight') causes rejection","Payment of 0.01 USDC not provided — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have tabular elevation sample data with associated sample weights and need both sequential (row-to-row) change analysis and a weighted mean in a single low-cost call. It is ideal for offline/batch analytical tasks on pre-collected survey data where no live data lookup, prediction, or external enrichment is needed. Prefer it over general-purpose data tools when the data fits within 200 rows and cost efficiency matters ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:39:05.059Z","isFirstParty":false,"canonicalSlug":"elevation-samples-adjacent-row-changes-secondary-measure-weighted-mean-0751a62f"}