{"uid":"cap_dhSiT8Id-sijzUYnPrPey","slug":"road-segment-observations-numeric-interval-filter-secondary-measure-4b692017","name":"Road Segment Observations — Numeric Interval Filter + Secondary-Measure Weighted Mean","description":"Road segment observations — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + Secondary-measure weighted mean for supplied road segment observations records (length_m, travel_seconds). 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-15-132?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","length_m","travel_seconds"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"length_m":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"station_group":{"type":"string","default":"","maxLength":80},"travel_seconds":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","length_m":10,"station_group":"group-a","travel_seconds":1},{"date":"2026-10-02","row_id":"row-2","length_m":20,"station_group":"group-b","travel_seconds":2},{"date":"2026-10-03","row_id":"row-3","length_m":15,"station_group":"group-a","travel_seconds":3},{"date":"2026-10-04","row_id":"row-4","length_m":30,"station_group":"group-b","travel_seconds":4}],"maxItems":200,"minItems":1},"field":{"enum":["length_m","travel_seconds"],"type":"string","default":"length_m"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_smx3Nh31Lolr-X6uMWQp_","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":"Filters road segment observation rows by a numeric interval on a chosen field and computes a secondary-measure weighted mean, returning two analytical reports for up to 200 supplied rows.","exampleAgentPrompt":"I have road segment observations with length_m and travel_seconds — can you filter the records where length_m is between 10 and 500, then compute the secondary-measure weighted mean using travel_seconds as the field, for these up to 200 rows I'll supply?","exampleUseCases":[{"title":"Commute corridor travel time analysis","prompt":"I've got 150 road segment records with length and travel time — filter them to only segments where length_m is between 50 and 300 meters, then give me the weighted mean travel time weighted by length for those segments."},{"title":"Outlier segment exclusion before reporting","prompt":"Before my traffic report, I need to drop extreme segments: filter my road observations to where travel_seconds is between 5 and 600, then compute the secondary-measure weighted mean of length_m across those filtered records."},{"title":"Station group performance comparison","prompt":"I have 200 rows of road segment data from two station groups — filter the ones where length_m is between 0 and 100, compute the secondary-measure weighted mean of travel_seconds, and give me both analytical reports."}],"resultDescription":"Two analytical reports: one covering a numeric interval filter applied to the chosen field (length_m or travel_seconds) within the specified minimum/maximum bounds, and one covering the secondary-measure weighted mean computed across the filtered road segment observation rows. Results are derived entirely from the supplied data (up to 200 rows) with no external lookups.","failureModes":["More than 200 rows supplied — request rejected or truncated","Invalid date format (must be YYYY-MM-DD) — schema validation error","Minimum bound greater than maximum bound — empty filtered result set","Missing required fields (row_id, date, length_m, travel_seconds) — validation error","All rows filtered out by interval — weighted mean undefined or empty report","Null values in length_m or travel_seconds may affect weighted mean computation"],"whenToPreferThis":"Choose this endpoint when you have pre-collected road segment observation data (length and travel time) and need both a numeric interval filter and a secondary-measure weighted mean in a single call, without any external data lookup or prediction. Ideal for batch offline analysis of up to 200 rows at low cost ($0.01 USDC for two reports). Not suitable for real-time traffic data retrieval, route planning, or live sensor feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:38:14.912Z","isFirstParty":false,"canonicalSlug":"road-segment-observations-numeric-interval-filter-secondary-measure-4b692017"}