{"uid":"cap_LgGPVgLvONI2dgjz9fHMs","slug":"reservoir-observations-numeric-row-ordering-keyed-dataset-comparison-63b47f1d","name":"Reservoir Observations — Numeric Row Ordering + Keyed Dataset Comparison","description":"Reservoir observations — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison for supplied reservoir observations records (stored_m3, capacity_m3). 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-19-123?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","stored_m3","capacity_m3"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"stored_m3":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"capacity_m3":{"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","stored_m3":10,"capacity_m3":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","stored_m3":20,"capacity_m3":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","stored_m3":15,"capacity_m3":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","stored_m3":30,"capacity_m3":4,"station_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["stored_m3","capacity_m3"],"type":"string","default":"stored_m3"},"other":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","stored_m3","capacity_m3"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"stored_m3":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"capacity_m3":{"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","stored_m3":10,"capacity_m3":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","stored_m3":21,"capacity_m3":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","stored_m3":17,"capacity_m3":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","stored_m3":33,"capacity_m3":4,"station_group":"group-b"}],"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_j5gjA5HQBg5UvlOA6-vbh","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":"Sorts reservoir observation rows by stored_m3 or capacity_m3 and compares two supplied reservoir datasets by matching row keys, returning two analytical reports.","exampleAgentPrompt":"I have two sets of reservoir observation records (up to 200 rows each) with stored_m3 and capacity_m3 values — can you sort them by stored_m3 and also compare the two datasets row by row using their row IDs, grouping by station_group and date?","exampleUseCases":[{"title":"Rank reservoirs by current storage","prompt":"Here are 150 reservoir observation records with stored_m3 values across multiple station groups — sort them from highest to lowest stored_m3 and give me the ordered ranking."},{"title":"Compare two monthly reservoir snapshots","prompt":"I have reservoir readings from January and February, each with the same row IDs and station groups — compare the two datasets key-by-key and tell me what changed in stored_m3 between months."},{"title":"Audit capacity vs storage across stations","prompt":"Can you take these two batches of reservoir data — one for group-a stations and one for group-b — sort them by capacity_m3, and then compare them against each other using the row IDs to spot discrepancies?"}],"resultDescription":"Returns two independent analytical reports: (1) the input rows ordered numerically by the selected field (stored_m3 or capacity_m3), and (2) a keyed comparison between the primary dataset and a second supplied dataset matched by row_id, highlighting differences in the selected field values. No external data is fetched; analysis is performed entirely on the supplied rows.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, station_group, date, stored_m3, capacity_m3) — validation error","Invalid date format (must match YYYY-MM-DD pattern) — schema validation failure","row_id values do not match between primary and comparison datasets — keyed comparison may return empty diffs","Null numeric values in stored_m3 or capacity_m3 — may affect ordering results","Payment of 0.01 USDC not completed via x402 — request blocked"],"whenToPreferThis":"Choose this endpoint when you have up to 200 reservoir observation records with stored_m3 and capacity_m3 fields and need both a numeric sort/ranking and a keyed cross-dataset comparison in a single low-cost call. It is ideal for water management workflows where you want to compare snapshots across time periods or station groups without any external data lookup or live sensor integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:34:50.711Z","isFirstParty":false,"canonicalSlug":"reservoir-observations-numeric-row-ordering-keyed-dataset-comparison-63b47f1d"}