{"uid":"cap_cqpdUDVsrodNYAVL7_Kbm","slug":"aggregation-checks-numeric-row-ordering-numeric-interval-filter-fb4de147","name":"Aggregation Checks — Numeric Row Ordering + Numeric Interval Filter","description":"Aggregation checks — Numeric row ordering + Numeric interval filter: Numeric row ordering + Numeric interval filter for supplied aggregation checks records (source_sum, aggregate_sum). 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-analytics-17-113?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","source_sum","aggregate_sum"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_sum":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"aggregate_sum":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","source_sum":10,"aggregate_sum":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","source_sum":20,"aggregate_sum":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","source_sum":15,"aggregate_sum":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","source_sum":30,"aggregate_sum":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_sum","aggregate_sum"],"type":"string","default":"source_sum"},"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_JS_qPTnlKU_1CvxWVtoZW","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 rows of aggregation check records (source_sum, aggregate_sum) by ordering them numerically and filtering rows within a specified numeric interval, returning two analytical reports.","exampleAgentPrompt":"Check my aggregation data for rows where source_sum falls between 0 and 100 — I have 4 rows across groups A and B dated 2026-10-01 to 2026-10-04, and I also want them sorted by source_sum so I can see the ordering.","exampleUseCases":[{"title":"ETL pipeline aggregation validation","prompt":"I've got 50 aggregation check rows from my ETL pipeline with source_sum and aggregate_sum values — can you sort them by source_sum and also flag any rows where source_sum falls outside the range 500 to 50000?"},{"title":"Daily financial reconciliation range check","prompt":"Here are 120 rows from today's financial reconciliation, each with a source_sum and aggregate_sum. Sort them by aggregate_sum and filter down to only rows where aggregate_sum is between 1000 and 999999 so I can spot any anomalies."},{"title":"Dataset group outlier detection","prompt":"I have aggregation data for two dataset groups — can you order the rows by source_sum and then show me which ones fall between -500 and 500? There are about 80 rows total spanning the last quarter."}],"resultDescription":"Returns two analytical reports: (1) the input rows sorted in numeric order by the specified field (source_sum or aggregate_sum), and (2) a filtered subset of rows whose chosen field value falls within the specified minimum–maximum interval. Both reports are derived purely from the supplied data with no external lookups.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — request rejected","date field does not match YYYY-MM-DD format — validation error","source_sum or aggregate_sum values outside ±1,000,000,000,000 — validation error","minimum greater than maximum — may produce empty interval filter result","Payment of 0.01 USDC not completed — 402 payment required response"],"whenToPreferThis":"Use this endpoint when you have up to 200 aggregation check records with source_sum and aggregate_sum fields and need both a numeric sort and an interval filter in a single $0.01 call. Prefer it over general-purpose data tools when you want a lightweight, no-setup analytical pass on aggregation data without deploying your own sorting or filtering logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:54:57.502Z","isFirstParty":false,"canonicalSlug":"aggregation-checks-numeric-row-ordering-numeric-interval-filter-fb4de147"}