{"uid":"cap_bSM6-F5gZDFQWBd-K-Crf","slug":"customer-segment-observations-grouped-numeric-summary-trailing-mean-f87e3e30","name":"Customer Segment Observations — Grouped Numeric Summary + Trailing Mean Series","description":"Customer segment observations — Grouped numeric summary + Trailing mean series: Grouped numeric summary + Trailing mean series 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-090?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_ZNL2UoX1nnIBlsUJ8eKdq","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 a grouped numeric summary and a trailing mean series for customer segment observation data (account_count or revenue_amount) across up to 200 rows.","exampleAgentPrompt":"Can you run a grouped numeric summary and trailing mean series on my customer segment data — I have rows with company_group, date, account_count, and revenue_amount fields — use account_count as the metric and a trailing window of 4, up to 200 rows?","exampleUseCases":[{"title":"Revenue trend analysis by segment","prompt":"I have daily revenue data broken out by company group for the past quarter — can you give me a grouped numeric summary and trailing mean series for revenue_amount with a window of 7 so I can see which segments are trending up or down?"},{"title":"Account count summary for executive report","prompt":"I need a grouped statistical summary and trailing mean (window of 3) for account_count across my customer segments — I'll send you rows with row_id, date, company_group, and account_count. This is for an executive summary report."},{"title":"Segment performance monitoring over time","prompt":"Can you analyze this batch of customer segment observations and produce both a grouped numeric summary and a trailing mean series for account_count using a window of 5? I want to spot which company groups are consistently growing."}],"resultDescription":"Returns two reports: (1) a grouped numeric summary aggregating account_count or revenue_amount by company_group (e.g. mean, min, max, count), and (2) a trailing mean series showing the rolling average of the selected field over the specified window size. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Fewer than 1 row supplied — minimum 1 row required","More than 200 rows supplied — request will be rejected or truncated","Invalid date format (must be YYYY-MM-DD)","Missing required fields (row_id, company_group, date, account_count, revenue_amount)","Window size less than 2 or greater than 200","Null values in numeric fields may affect aggregation results","Invalid field enum value (must be 'account_count' or 'revenue_amount')"],"whenToPreferThis":"Choose this endpoint when you have customer segment observation data (with company_group, date, account_count, revenue_amount fields) and need both a grouped statistical summary and a rolling/trailing mean series in a single call for up to 200 rows. It is ideal for lightweight, local analytical reporting without any external data lookup, prediction, or live data requirements. Prefer this over general-purpose analytics services when cost-efficiency ($0.01 USDC for 2 reports) and simplicity matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:52.940Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-grouped-numeric-summary-trailing-mean-f87e3e30"}