{"uid":"cap_n8rEBRFFBg35hiYYw-oRd","slug":"road-segment-observations-numeric-row-ordering-keyed-dataset-comparison-8fbf088e","name":"Road Segment Observations — Numeric Row Ordering + Keyed Dataset Comparison","description":"Road segment observations — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison 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-123?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"},"other":{"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":21,"station_group":"group-b","travel_seconds":2},{"date":"2026-10-03","row_id":"row-3","length_m":17,"station_group":"group-a","travel_seconds":3},{"date":"2026-10-04","row_id":"row-4","length_m":33,"station_group":"group-b","travel_seconds":4}],"maxItems":200,"minItems":0}}},"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_FNjwroqOt4uGsoCCR258w","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":"Performs two analytical reports on road segment observation data: numeric row ordering and keyed dataset comparison for length_m or travel_seconds fields across up to 200 rows.","exampleAgentPrompt":"I have two sets of road segment observations — each with row_id, station_group, date, length_m, and travel_seconds — and I want to rank them numerically by travel_seconds and also compare the two datasets row-by-row using row_id as the key. Can you run both reports on my data (up to 50 rows per dataset)?","exampleUseCases":[{"title":"Before/after road works comparison","prompt":"I collected road segment travel times before and after road resurfacing works — both datasets have the same row_ids. Can you compare them keyed by row_id and also order both by travel_seconds so I can see which segments improved the most?"},{"title":"Station group travel time ranking","prompt":"Here are 80 road segment observations from different station groups with their travel_seconds values. Can you rank them numerically by travel_seconds and compare this week's dataset against last week's using row_id as the key?"},{"title":"Segment length anomaly audit","prompt":"I have two snapshots of road segment length_m data from the same 30 segments — one from our field team and one from the GIS system. Can you order both by length_m and do a keyed comparison by row_id to find any discrepancies?"}],"resultDescription":"Returns two analytical reports: (1) a numerically ordered ranking of the submitted road segment rows by the selected field (length_m or travel_seconds), and (2) a keyed comparison between the primary dataset and the 'other' dataset matched by row_id, highlighting differences in the chosen metric.","failureModes":["Missing required fields (row_id, station_group, date, length_m, travel_seconds) cause validation errors","Exceeding 200 rows per dataset returns an error","Invalid date format (not YYYY-MM-DD) fails schema validation","Null values in the selected field may affect ordering and comparison results","Mismatched row_ids between primary and comparison datasets may produce incomplete comparison output","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Choose this endpoint when you have structured road segment observation data with both length_m and travel_seconds fields and need two simultaneous analytical outputs — a numeric ranking and a keyed cross-dataset comparison — without requiring external data lookups, predictions, or live traffic data. Best when datasets are up to 200 rows and you already have the data locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:43:52.106Z","isFirstParty":false,"canonicalSlug":"road-segment-observations-numeric-row-ordering-keyed-dataset-comparison-8fbf088e"}