{"uid":"cap_N_OiuL_l7VOvtGjM6DI-R","slug":"customer-segment-observations-category-frequencies-two-measure-b14cd09e","name":"Customer Segment Observations — Category Frequencies + Two-Measure Correlation","description":"Customer segment observations — Category frequencies + Two-measure correlation: Category frequencies + Two-measure correlation 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-108?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}}},"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_fJBIvet2gJL1bkgZ-Yaxm","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 records to produce two reports: category frequency distribution by company group and Pearson/Spearman correlation between account_count and revenue_amount.","exampleAgentPrompt":"Can you run category frequency and two-measure correlation analysis on my customer segment data? I have up to 50 rows with fields row_id, company_group, date, account_count, and revenue_amount — I want to see how often each company group appears and whether account count correlates with revenue amount.","exampleUseCases":[{"title":"Segment group frequency for sales review","prompt":"I have 80 rows of customer segment observations with company_group, date, account_count, and revenue_amount — can you tell me how frequently each company group appears in the data and whether the number of accounts correlates with the revenue they bring in?"},{"title":"Correlation check between accounts and revenue","prompt":"I want to know if account_count and revenue_amount move together in my customer segment records — I have about 120 rows tagged with company_group and dates. Can you compute the correlation between those two measures and also show me the category frequency breakdown?"},{"title":"Monthly segment performance pattern analysis","prompt":"We have 150 rows of monthly customer segment observations from the past year, each with a company_group, account_count, and revenue_amount. Can you analyze how often each group shows up and whether higher account counts tend to mean higher revenue?"}],"resultDescription":"Two structured analytical reports: (1) a frequency table showing how often each company_group category appears across the supplied rows, and (2) a correlation report quantifying the statistical relationship between account_count and revenue_amount across all records — both computed locally with no external calls.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, company_group, date, account_count, or revenue_amount) cause validation errors","All account_count or revenue_amount values are null — correlation report cannot be computed","Date strings not matching YYYY-MM-DD pattern cause schema validation failure","Insufficient numeric variance in one measure produces degenerate or undefined correlation"],"whenToPreferThis":"Choose this endpoint when you have up to 200 customer segment observation records and need both a categorical frequency distribution by company group and a two-measure linear/rank correlation between account_count and revenue_amount in a single low-cost API call ($0.01 USDC). Prefer this over general-purpose analytics tools when you want a fast, self-contained statistical summary without sending data to a third-party ML or BI platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:44:57.976Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-category-frequencies-two-measure-b14cd09e"}