{"uid":"cap_PB44pVljImObKibuwUZxF","slug":"customer-segment-observations-numeric-distribution-row-ordering-98e785db","name":"Customer Segment Observations — Numeric Distribution & Row Ordering","description":"Customer segment observations — Numeric distribution + Numeric row ordering: Numeric distribution + Numeric row ordering 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-073?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"}}},"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_5TuLksk910BwCHARSTFZj","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":"Computes numeric distribution statistics and row ordering for customer segment observation records (account_count, revenue_amount) across up to 200 rows.","exampleAgentPrompt":"Analyze the numeric distribution and row ordering for my customer segment observations — I have 4 rows with company groups 'group-a' and 'group-b', dates from 2026-10-01 to 2026-10-04, account counts of 10, 20, 15, and 30, and revenue amounts of 1, 2, 3, and 4. Run both reports on the account_count field.","exampleUseCases":[{"title":"Revenue spread across company groups","prompt":"I have monthly segment data for two company groups over 6 months — can you run the numeric distribution and row ordering reports on the revenue_amount field so I can see how revenue spreads and which rows rank highest?"},{"title":"Account count ranking for segment review","prompt":"Here are my 50 customer segment observation records with row IDs, dates, company groups, and account counts — please give me the numeric distribution and ordered ranking for account_count so I can spot which segments have the most accounts."},{"title":"Quarterly segment performance analysis","prompt":"I need to analyze my quarterly customer segment data across groups 'enterprise', 'mid-market', and 'smb' — run the distribution and row ordering reports on revenue_amount for these 120 rows so I can see the spread and rank them."}],"resultDescription":"Returns two analytical reports: (1) a numeric distribution summary for the selected field (e.g. percentiles, min, max, mean, spread statistics) across all supplied rows, and (2) a row ordering report ranking rows by the selected numeric field — both computed locally from the supplied data with no external lookups.","failureModes":["Input array exceeds 200 rows — request will be rejected or truncated","Missing required fields (row_id, company_group, date, account_count, revenue_amount) causes validation failure","Invalid date format (must be YYYY-MM-DD) causes schema rejection","Field selector not one of ['account_count','revenue_amount'] causes validation error","All values for selected field are null — distribution report may be empty or degenerate","Numeric values outside ±1,000,000,000,000 range cause validation failure"],"whenToPreferThis":"Choose this endpoint when you have up to 200 customer segment observation records with account_count and/or revenue_amount fields and need both a statistical distribution summary and a ranked row ordering in a single low-cost call ($0.01 USDC). Prefer it over general-purpose analytics tools when you want lightweight, local computation without external data lookups, predictions, or live data access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:44:55.530Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-numeric-distribution-row-ordering-98e785db"}