{"uid":"cap_GxTJ3gKDTnVjRncl4iKBB","slug":"customer-segment-observations-numeric-row-ordering-keyed-dataset-277caf34","name":"Customer Segment Observations — Numeric Row Ordering + Keyed Dataset Comparison","description":"Customer segment observations — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison for supplied customer segment observations records (account_count, revenue_amount). 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-company-16-123?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","account_count","revenue_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"account_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"revenue_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","account_count":10,"company_group":"group-a","revenue_amount":1},{"date":"2026-10-02","row_id":"row-2","account_count":20,"company_group":"group-b","revenue_amount":2},{"date":"2026-10-03","row_id":"row-3","account_count":15,"company_group":"group-a","revenue_amount":3},{"date":"2026-10-04","row_id":"row-4","account_count":30,"company_group":"group-b","revenue_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["account_count","revenue_amount"],"type":"string","default":"account_count"},"other":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","account_count","revenue_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"account_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"revenue_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","account_count":10,"company_group":"group-a","revenue_amount":1},{"date":"2026-10-02","row_id":"row-2","account_count":21,"company_group":"group-b","revenue_amount":2},{"date":"2026-10-03","row_id":"row-3","account_count":17,"company_group":"group-a","revenue_amount":3},{"date":"2026-10-04","row_id":"row-4","account_count":33,"company_group":"group-b","revenue_amount":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_hPxd3hP_Rj8tVqHeAgMH9","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 customer segment observation data (account_count, revenue_amount) by performing numeric row ordering and keyed dataset comparison across two supplied datasets, up to 200 rows each.","exampleAgentPrompt":"I have two sets of customer segment observations — each with up to 200 rows including row_id, company_group, date, account_count, and revenue_amount — can you rank-order them by account_count and then do a keyed comparison between the two datasets to show where the numbers differ?","exampleUseCases":[{"title":"Period-over-period segment revenue comparison","prompt":"I have this month's and last month's customer segment data — each with company_group, date, account_count, and revenue_amount for about 150 rows — can you rank them by revenue_amount and then compare the two datasets keyed by row_id to see which segments grew or shrank?"},{"title":"Account count ranking across company groups","prompt":"Here are two snapshots of our customer segment observations for group-a and group-b across 80 rows each — please rank them by account_count and run a keyed comparison so I can see which groups moved up or down between the two datasets."},{"title":"QA check on duplicate segment data submissions","prompt":"We got two versions of our segment data for Q3 — same row IDs but possibly different account_count values — can you numerically order both and do a keyed dataset comparison on account_count to flag any rows where the two files disagree?"}],"resultDescription":"Two analytical reports: (1) numeric row ordering of the supplied rows ranked by the selected field (account_count or revenue_amount), and (2) a keyed dataset comparison report showing differences between the primary and secondary datasets matched by row_id. Results are derived entirely from supplied data using local analytical engines — no external data or predictions are included.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, company_group, date, account_count, revenue_amount) — validation error","Invalid date format (must be YYYY-MM-DD) — schema validation failure","Mismatched row_ids between primary and comparison datasets — comparison may produce empty or partial results","Numeric values outside allowed range (±1,000,000,000,000) — schema rejection","Empty rows array — minimum 1 row required"],"whenToPreferThis":"Choose this endpoint when you have pre-collected customer segment observation data (account_count, revenue_amount) and need both a numeric ranked ordering of rows AND a keyed side-by-side comparison of two datasets in a single low-cost call. Ideal for period-over-period analysis, QA validation of duplicate submissions, or ranking company groups — when no live data lookup or prediction is needed and all data is supplied by the caller.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T00:52:23.730Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-numeric-row-ordering-keyed-dataset-277caf34"}