{"uid":"cap_B_0NDmfmDamxJlC1X-TI7","slug":"customer-segment-observations-adjacent-row-changes-secondary-measure-2bec0f05","name":"Customer Segment Observations — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Customer segment observations — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean 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-159?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"}}},"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_B-LZ9-A61_MRveqqQ16T0","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 adjacent row changes and secondary-measure weighted mean for up to 200 customer segment observation records containing account count and revenue amount fields.","exampleAgentPrompt":"Can you run adjacent row changes and weighted mean analysis on my customer segment data — I have 4 rows with company groups group-a and group-b, dates from 2026-10-01 to 2026-10-04, account counts of 10, 20, 15, and 30, and revenue amounts of 1, 2, 3, and 4? Use account_count as the field for the weighted mean.","exampleUseCases":[{"title":"Revenue trend analysis by segment","prompt":"I have monthly customer segment observations for two groups over the past six months — can you calculate the adjacent row changes and the revenue-weighted mean across those records? I'll send you the rows with row IDs, company group names, dates, account counts, and revenue amounts, using revenue_amount as the field."},{"title":"Account count shift detection across groups","prompt":"Can you analyze my customer segment data to find how account counts change between consecutive rows and compute a weighted mean using account_count as the secondary measure? I have about 50 rows spanning group-a and group-b across Q3."},{"title":"Dual-report analytics for segment KPIs","prompt":"I need two analytical reports on my customer segment observations — adjacent row changes and a secondary-measure weighted mean — for 120 rows of data with account_count and revenue_amount fields. Please use revenue_amount as the field and group the data by company group."}],"resultDescription":"Two analytical reports: (1) adjacent row changes showing the difference between consecutive rows for the selected measure, and (2) a secondary-measure weighted mean calculated across the supplied customer segment rows. Results are computed locally from the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — exceeds maximum row limit","Missing required fields (row_id, company_group, date, account_count, or revenue_amount) in any row","Invalid date format (must be YYYY-MM-DD pattern)","Numeric values outside the allowed range of -1,000,000,000,000 to 1,000,000,000,000","Invalid field enum value (must be account_count or revenue_amount)","Empty rows array submitted"],"whenToPreferThis":"Choose this endpoint when you need both adjacent row change analysis and a secondary-measure weighted mean computed together on customer segment data with account_count and revenue_amount fields, especially when batching up to 200 rows in a single low-cost call. Prefer it over general-purpose analytics tools when working specifically with company group segment observations and wanting two bundled statistical reports for $0.01 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:44:24.436Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-adjacent-row-changes-secondary-measure-2bec0f05"}