{"uid":"cap_AGDnL6ayADaCWL9_ScCib","slug":"customer-segment-observations-daily-sum-series-trailing-mean-series-f2054cb7","name":"Customer Segment Observations — Daily Sum Series + Trailing Mean Series","description":"Customer segment observations — Daily sum series + Trailing mean series: Daily sum series + 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-136?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_ydNVPN7KrLcuGqOMQpX-c","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 daily sum series and trailing mean series for customer segment observation records (account_count, revenue_amount) grouped by company segment, up to 200 rows.","exampleAgentPrompt":"I have customer segment observation data with account_count and revenue_amount across company groups — can you generate a daily sum series and trailing mean series using a window of 7 for the revenue_amount field, for up to 200 rows?","exampleUseCases":[{"title":"Weekly revenue smoothing by segment","prompt":"I have daily revenue data across two company groups for the past quarter — can you produce both the daily sum series and a trailing mean with a window of 7 for revenue_amount so I can see the smoothed trend?"},{"title":"Account count trend for SaaS cohorts","prompt":"Here's my customer segment data with account counts per company group by date — run a daily sum and a 14-day trailing mean on account_count so I can spot growth trends across cohorts."},{"title":"Monthly reporting for finance dashboard","prompt":"Can you take my segment observations CSV (up to 150 rows) and compute the daily sum plus a 30-day rolling average for revenue_amount, grouped by company group, for our finance team's dashboard?"}],"resultDescription":"Returns two independent analytical reports: (1) a daily sum series aggregating the chosen field (account_count or revenue_amount) by date, and (2) a trailing mean series computed over the specified window size — both derived from the supplied customer segment rows without any external data lookup.","failureModes":["Missing required row fields (row_id, date, company_group) cause validation errors","Date strings not matching YYYY-MM-DD pattern are rejected","More than 200 rows submitted exceeds the limit and is rejected","Window value outside the range 2–200 causes a validation error","Null values in the selected field may affect aggregation results"],"whenToPreferThis":"Choose this endpoint when you have structured customer segment observation records and need both a daily aggregation and a smoothed rolling average in a single low-cost call ($0.01 USDC for both reports). Ideal for offline/batch analytics on up to 200 rows where no live data lookup or prediction is needed — purely local computation on supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:44:48.350Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-daily-sum-series-trailing-mean-series-f2054cb7"}