{"uid":"cap_vcnz5DLewP2vwLMPHLupf","slug":"aggregation-checks-duplicate-key-report-numeric-row-ordering-08cc463f","name":"Aggregation Checks — Duplicate Key Report + Numeric Row Ordering","description":"Aggregation checks — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering 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-058?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"}}},"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_j9bET1HY2k7DhnTOaO1os","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":"Runs two local analytical reports on supplied aggregation check records: a duplicate key report and numeric row ordering, for up to 200 rows per call.","exampleAgentPrompt":"Can you run a duplicate key report and numeric row ordering on these aggregation check records — I have 4 rows with row_ids row-1 through row-4, dates from 2026-10-01 to 2026-10-04, dataset groups group-a and group-b, with source_sum values 10, 20, 15, 30 and aggregate_sum values 1, 2, 3, 4 — and sort by source_sum?","exampleUseCases":[{"title":"Detect duplicate keys in reconciliation data","prompt":"I have a batch of 50 aggregation check records with row_ids, dates, dataset groups, source_sum and aggregate_sum — can you run a duplicate key report on them and also sort them numerically by source_sum so I can spot anomalies?"},{"title":"Audit grouped financial aggregation rows","prompt":"Here are 120 rows of financial aggregation data across multiple dataset groups with source_sum and aggregate_sum columns — please check for any duplicate row_ids and give me the rows ordered numerically by aggregate_sum."},{"title":"Validate uniqueness in ETL pipeline output","prompt":"My ETL pipeline just produced 200 aggregation check records and I need to verify there are no duplicate keys and see the rows ranked by source_sum — can you run both reports on this data?"}],"resultDescription":"Returns two independent reports: (1) a duplicate key report identifying any rows with repeated row_id or key values within the supplied dataset, and (2) a numeric row ordering report sorting rows by the selected field (source_sum or aggregate_sum). Results are computed locally from the supplied data with no external lookups.","failureModes":["Rows array empty or missing — validation error returned","More than 200 rows submitted — request rejected due to maxItems constraint","Invalid date format (not YYYY-MM-DD) — schema validation failure","source_sum or aggregate_sum outside ±1,000,000,000,000 — validation error","Invalid field enum value — rejected; must be 'source_sum' or 'aggregate_sum'","row_id missing or empty string — required field validation failure"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key audit and numeric ordering of aggregation check records in a single call at low cost ($0.01 USDC). Best suited for data quality checks on reconciliation or aggregation datasets of up to 200 rows where no external data lookup, prediction, or live enrichment is needed — purely local analytical computation on supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:54:16.512Z","isFirstParty":false,"canonicalSlug":"aggregation-checks-duplicate-key-report-numeric-row-ordering-08cc463f"}