{"uid":"cap_3FmsL3BhhqjCNVjlNxPcM","slug":"elevation-samples-duplicate-key-report-secondary-measure-weighted-mean-5fe796fa","name":"Elevation Samples — Duplicate Key Report + Secondary-Measure Weighted Mean","description":"Elevation samples — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + 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-067?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_77Sqgdt2r_c5ioFgAAXDw","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 a duplicate key report and a sample_weight-based weighted mean of elevation_m, using local analytical engines with no external data lookup.","exampleAgentPrompt":"Check my elevation sample records for duplicate row IDs and compute a weighted mean of elevation_m using sample_weight — here are 4 rows: row-1 on 2026-10-01 elevation 10m weight 1 group-a, row-2 on 2026-10-02 elevation 20m weight 2 group-b, row-3 on 2026-10-03 elevation 15m weight 3 group-a, row-4 on 2026-10-04 elevation 30m weight 4 group-b.","exampleUseCases":[{"title":"Survey data duplicate audit","prompt":"I have a batch of elevation survey records and I need to know if any row IDs are duplicated before I import them — can you run a duplicate key check on these records: row-1 2026-10-01 elevation 10m weight 1 group-a, row-1 2026-10-03 elevation 15m weight 3 group-a, row-2 2026-10-02 elevation 20m weight 2 group-b?"},{"title":"Weighted mean elevation for monitoring stations","prompt":"For our monitoring stations across two groups, compute the sample_weight-weighted mean of elevation_m from these records: row-1 2026-10-01 10m weight 1 group-a, row-2 2026-10-02 20m weight 2 group-b, row-3 2026-10-03 15m weight 3 group-a, row-4 2026-10-04 30m weight 4 group-b."},{"title":"Pre-import data quality check on elevation data","prompt":"Before loading this elevation dataset into our system, run both a duplicate key report and a weighted mean calculation on elevation_m using sample_weight — I've got 5 rows from stations in group-a and group-b dated between 2026-10-01 and 2026-10-05."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any repeated row_id or key combinations across the supplied records, and (2) a secondary-measure weighted mean of the elevation_m field using sample_weight as the weighting factor, computed locally over up to 200 input rows.","failureModes":["Input array is empty or exceeds 200 rows — validation error returned","Required fields (row_id, station_group, date, elevation_m, sample_weight) missing from one or more rows — schema validation failure","Date strings not matching YYYY-MM-DD pattern — pattern validation error","All sample_weight values are null or zero — weighted mean computation may return null or error","Malformed JSON body — HTTP 400 bad request","Payment not provided or insufficient — HTTP 402 payment required"],"whenToPreferThis":"Choose this endpoint when you have elevation sample data (up to 200 rows) and need both a duplicate key audit and a weighted mean calculation in a single call. It is best suited for pre-import data quality checks, field survey data validation, or summarizing elevation readings weighted by sample count. It does not perform live geospatial lookup, interpolation, or terrain modelling — use a GIS or elevation API for those needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:42:31.350Z","isFirstParty":false,"canonicalSlug":"elevation-samples-duplicate-key-report-secondary-measure-weighted-mean-5fe796fa"}