{"uid":"cap_qXCECBcvA5VGLK6GQALPH","slug":"air-quality-observations-numeric-row-ordering-b65bac59","name":"Air Quality Observations – Numeric Row Ordering","description":"Air quality observations - Numeric row ordering: Numeric row ordering for Air quality observations. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded numeric row ordering report.","url":"https://market.datapackvibe.com/x402/assistant-ar-analytics-air-quality-observations-sort?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station","date","pm25","humidity_percent"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"pm25":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"station":{"type":"string","default":"","maxLength":80},"humidity_percent":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","pm25":10,"row_id":"row-1","station":"group-a","humidity_percent":1},{"date":"2026-10-02","pm25":20,"row_id":"row-2","station":"group-b","humidity_percent":2},{"date":"2026-10-03","pm25":15,"row_id":"row-3","station":"group-a","humidity_percent":3},{"date":"2026-10-04","pm25":30,"row_id":"row-4","station":"group-b","humidity_percent":4}],"maxItems":200,"minItems":1},"field":{"enum":["pm25","humidity_percent"],"type":"string","default":"pm25"}}},"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_oVKoI2Q5FXV20P74745CG","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 up to 200 air quality observation records by a chosen numeric field (PM2.5 or humidity) and returns a ranked row order with descriptive analytics.","exampleAgentPrompt":"Sort these 4 air quality readings by PM2.5: station Alpha on 2025-01-01 with PM2.5 12.5 and humidity 45, station Beta on 2025-01-01 with PM2.5 8.2 and humidity 60, station Gamma on 2025-01-02 with PM2.5 31.0 and humidity 55, station Delta on 2025-01-02 with PM2.5 19.7 and humidity 40 — rank them from lowest to highest PM2.5.","exampleUseCases":[{"title":"Ranking stations by peak pollution","prompt":"I have readings from 10 air quality stations over the past week — can you sort all 70 rows by PM2.5 so I can see which station-days had the worst pollution?"},{"title":"Humidity-based ordering for sensor audit","prompt":"Sort these 50 air quality sensor records by humidity percentage so I can review them in ascending order and spot any outliers."},{"title":"Daily air quality comparison for report","prompt":"I've got 30 daily air quality observations from stations downtown and uptown — please rank them by PM2.5 so I can identify the top 5 worst days for our environmental report."}],"resultDescription":"Returns a numerically ordered ranking of the submitted air quality observation rows based on the chosen field (PM2.5 or humidity_percent), including local descriptive analytics such as ordering positions and summary statistics — no external enrichment or forecasting is applied.","failureModes":["Empty or missing rows array returns validation error","Row count exceeding 200 items rejected with maxItems error","Invalid date format (not YYYY-MM-DD) triggers pattern validation failure","Unrecognized field value outside enum ['pm25','humidity_percent'] returns error","Null numeric values may affect sort ordering or produce warnings","Missing required fields (row_id, station, date, pm25, humidity_percent) cause schema rejection"],"whenToPreferThis":"Choose this endpoint when you have a batch of up to 200 air quality observation records and need them sorted and ranked by either PM2.5 or humidity — purely as a local, self-contained analytic operation with no external data enrichment, forecasting, or cross-dataset joins required. It is ideal for quick descriptive ranking tasks within a bounded dataset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:17:54.254Z","isFirstParty":false,"canonicalSlug":"air-quality-observations-numeric-row-ordering-b65bac59"}