{"uid":"cap_OZwL45JCXg28ccSk9UZWL","slug":"customer-segment-observations-grouped-numeric-summary-adjacent-row-b107192a","name":"Customer Segment Observations — Grouped Numeric Summary + Adjacent Row Changes","description":"Customer segment observations — Grouped numeric summary + Adjacent row changes: Grouped numeric summary + Adjacent row changes 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-091?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_jMbF1Vmsfp-6gyl6LqmzV","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":"Runs two local analytical reports on customer segment observation rows: a grouped numeric summary (by company group) and an adjacent row changes report, covering account_count and revenue_amount fields.","exampleAgentPrompt":"I have a dataset of customer segment observations with account_count and revenue_amount across different company groups and dates — can you run a grouped numeric summary by company group AND an adjacent row changes report on the account_count field for these rows?","exampleUseCases":[{"title":"Segment revenue aggregation by group","prompt":"I've got 50 rows of customer segment data with dates, company groups, and revenue_amount values — can you give me a grouped numeric summary of revenue_amount across all company groups and also show me how revenue changes between adjacent rows?"},{"title":"Account count trend change detection","prompt":"Here are my customer segment observation records for Q3 — please run the grouped numeric summary and the adjacent row changes report on the account_count field so I can see both the group-level stats and where the biggest jumps between consecutive rows happened."},{"title":"Multi-group segment comparison","prompt":"I need to compare account_count performance across group-a, group-b, and group-c using my 80 rows of observation data — can you compute the grouped numeric summary and flag the adjacent row changes for account_count?"}],"resultDescription":"Returns two analytical reports: (1) a grouped numeric summary of the selected field (account_count or revenue_amount) broken down by company_group, including aggregates like count, sum, mean, min, and max; and (2) an adjacent row changes report showing the difference in the selected field between consecutive rows, identified by row_id and date. Up to 200 rows processed per call.","failureModes":["Missing required row fields (row_id, company_group, date, account_count, revenue_amount) causes validation error","More than 200 rows submitted exceeds the maxItems limit","Invalid date format (not YYYY-MM-DD) triggers schema validation failure","Null values in the selected numeric field may be excluded or flagged in aggregation","Invalid field enum value (not 'account_count' or 'revenue_amount') causes rejection","Payment failure or insufficient USDC balance blocks execution"],"whenToPreferThis":"Choose this endpoint when you have up to 200 customer segment observation records and need both a grouped aggregate summary by company group AND a row-over-row change report in a single $0.01 call. It is ideal when you want two complementary analytical views on the same dataset without external data lookups, predictions, or model inference — purely local, deterministic computation on your supplied rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:47.275Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-grouped-numeric-summary-adjacent-row-b107192a"}