{"uid":"cap_18TR7PtFm3XV7pwZ3Yi8p","slug":"customer-segment-observations-adjacent-row-changes-date-by-category-c0602c4f","name":"Customer Segment Observations — Adjacent Row Changes + Date by Category Pivot","description":"Customer segment observations — Adjacent row changes + Date by category pivot: Adjacent row changes + Date by category pivot 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-160?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_DdlxJVHSIcuYZWgi2dwlH","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 analytical reports on customer segment data: adjacent row change detection and a date-by-category pivot table, for up to 200 rows of account_count or revenue_amount data.","exampleAgentPrompt":"I have a list of customer segment records with account counts and revenue amounts across multiple company groups and dates — can you run both the adjacent row changes report and the date-by-category pivot on the revenue_amount field for me?","exampleUseCases":[{"title":"Segment revenue trend detection","prompt":"I have 150 rows of customer segment data with dates, company groups, and revenue amounts — run the adjacent row changes and date-by-category pivot reports on the revenue_amount field so I can see how revenue shifted between consecutive records and across groups."},{"title":"Account count pivot by company group","prompt":"Can you take my customer segment observations — about 80 rows with account_count and company_group fields — and produce the adjacent row changes plus a date-by-category pivot using account_count? I want to see both breakdowns at once."},{"title":"Monthly segment performance summary","prompt":"I've got customer segment data for Q4 2026 across groups A and B with both account counts and revenue amounts. Run the two-report combo — adjacent changes and date pivot — on account_count so I can summarize performance across groups and dates."}],"resultDescription":"Two analytical reports: (1) an adjacent row changes report showing how account_count or revenue_amount shifted between consecutive rows, and (2) a date-by-category pivot table cross-tabulating the selected metric by date and company_group. Both are computed locally from the supplied data with no external lookups.","failureModes":["Input exceeds 200 rows — request rejected","Missing required fields (row_id, company_group, date, account_count, revenue_amount) — validation error","Invalid date format (must be YYYY-MM-DD) — schema validation failure","Field value out of allowed numeric range — rejected","Empty rows array — schema minimum items violation"],"whenToPreferThis":"Choose this endpoint when you need both adjacent row change analysis and a date-by-category pivot in a single call on customer segment data (account_count or revenue_amount), for up to 200 rows, at low cost ($0.01 USDC for both reports). Ideal when you have structured segment data already in hand and need fast, local analytical computation without external lookups or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:44:30.521Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-adjacent-row-changes-date-by-category-c0602c4f"}