{"uid":"cap_dreKJPUjbFZyeScp0HVDs","slug":"customer-segment-observations-category-frequencies-numeric-interval-7cf12eb2","name":"Customer Segment Observations — Category Frequencies + Numeric Interval Filter","description":"Customer segment observations — Category frequencies + Numeric interval filter: Category frequencies + Numeric interval filter 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-101?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"},"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_-hmdVGh7MV2C7z3eUlk9A","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 category frequency distributions and applies a numeric interval filter on customer segment observation records (account_count, revenue_amount) for up to 200 rows in two independent analytical reports.","exampleAgentPrompt":"I have customer segment data with company groups and account counts — can you run a category frequency report on company_group and also filter account_count between 10 and 500 across these 4 rows: row-1 (group-a, 2026-10-01, account_count=10, revenue_amount=1), row-2 (group-b, 2026-10-02, account_count=20, revenue_amount=2), row-3 (group-a, 2026-10-03, account_count=15, revenue_amount=3), row-4 (group-b, 2026-10-04, account_count=30, revenue_amount=4)?","exampleUseCases":[{"title":"Segment frequency breakdown by company group","prompt":"I have 50 rows of customer segment observations with company_group labels like 'enterprise', 'mid-market', and 'smb' — can you tell me how often each group appears in the data, and also filter revenue_amount between 1000 and 50000 to see which records fall in that range?"},{"title":"Account count range filter for pipeline review","prompt":"For my quarterly pipeline review, I need to filter my customer segment records to only those with account_count between 5 and 100, and also see a frequency breakdown of company_group — here are my 80 rows of segment data."},{"title":"Revenue distribution analysis for segment reporting","prompt":"Can you analyze my customer segment dataset of 150 rows and give me two reports: one showing category frequencies for company_group, and another filtering revenue_amount to only records between 500 and 25000?"}],"resultDescription":"Returns two independent analytical reports: (1) a category frequency table showing how often each company_group value appears in the supplied rows, and (2) a filtered subset of rows where the selected numeric field (account_count or revenue_amount) falls within the specified minimum-maximum interval. Results are computed locally on the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request exceeds maxItems limit","Missing required fields (row_id, company_group, date, account_count, or revenue_amount) in any row","Invalid date format — must match YYYY-MM-DD pattern","Numeric values outside the allowed range (-1,000,000,000,000 to 1,000,000,000,000)","Invalid field enum value — must be 'account_count' or 'revenue_amount'","Minimum value greater than maximum value causing empty interval filter result","Empty rows array submitted"],"whenToPreferThis":"Choose this endpoint when you have customer segment observation data (with company_group, account_count, and revenue_amount fields) and need both a category frequency distribution AND a numeric interval filter in a single call. It is ideal for lightweight, self-contained analytics on small-to-medium datasets (up to 200 rows) without requiring a full data warehouse or BI tool. At $0.01 USDC for two reports, it is cost-effective for routine segment reporting tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:44:59.749Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-category-frequencies-numeric-interval-7cf12eb2"}