{"uid":"cap_rQbZ7cmDnABx6xBrzfDaN","slug":"customer-segment-observations-grouped-numeric-summary-numeric-5b931f56","name":"Customer Segment Observations — Grouped Numeric Summary + Numeric Interval Filter","description":"Customer segment observations — Grouped numeric summary + Numeric interval filter: Grouped numeric summary + 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-088?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_h-VbEYOLSZHLWoNRD4-Ia","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 by computing a grouped numeric summary and applying a numeric interval filter on account_count or revenue_amount fields, returning up to 2 reports for up to 200 rows.","exampleAgentPrompt":"I have up to 200 rows of customer segment observations with account_count and revenue_amount by company group and date — can you run a grouped numeric summary and also filter to only rows where account_count is between 0 and 100, grouping by company_group?","exampleUseCases":[{"title":"Revenue summary by company group","prompt":"I have 4 customer segment records across group-a and group-b with revenue_amount values. Can you give me a grouped numeric summary of revenue_amount, and also filter to rows where revenue_amount falls between 1 and 3?"},{"title":"Account count interval filter for sales review","prompt":"Here are 150 rows of customer segment observations — for each company group, summarize the account_count values and filter to only segments where account_count is between 10 and 50."},{"title":"Multi-group segment analytics for quarterly report","prompt":"I need two reports on this batch of customer segment data: a grouped summary of account_count by company_group, and a filter showing only records where account_count is between 5 and 30. There are about 80 rows total."}],"resultDescription":"Returns 2 analytical reports: (1) a grouped numeric summary (e.g. mean, min, max, count) of the selected field (account_count or revenue_amount) aggregated by company_group, and (2) a filtered subset of rows where the selected field falls within the specified minimum-maximum interval. Results cover up to 200 input rows processed by local analytical engines with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required row fields (row_id, company_group, date, account_count, revenue_amount) — validation error","Invalid date format (must match YYYY-MM-DD) — schema validation failure","minimum greater than maximum — may return empty interval filter","Payment not included or insufficient USDC — 402 response, no report returned","All numeric fields null — summary may return empty or null statistics"],"whenToPreferThis":"Choose this endpoint when you have up to 200 customer segment observation records and need both a grouped numeric summary by company group AND a numeric interval filter in a single $0.01 call. It is ideal for lightweight, on-demand segment analytics without standing up your own analytics infrastructure, and when you need two complementary views (grouped aggregation + range filter) on account_count or revenue_amount simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:57.029Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-grouped-numeric-summary-numeric-5b931f56"}