{"uid":"cap_Pk0DcgCewnqjEn73_b2EG","slug":"customer-segment-observations-adjacent-row-changes-keyed-dataset-a2c47104","name":"Customer Segment Observations — Adjacent Row Changes + Keyed Dataset Comparison","description":"Customer segment observations — Adjacent row changes + Keyed dataset comparison: Adjacent row changes + Keyed dataset comparison 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-161?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"},"other":{"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":21,"company_group":"group-b","revenue_amount":2},{"date":"2026-10-03","row_id":"row-3","account_count":17,"company_group":"group-a","revenue_amount":3},{"date":"2026-10-04","row_id":"row-4","account_count":33,"company_group":"group-b","revenue_amount":4}],"maxItems":200,"minItems":0}}},"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_SrkQzL7uOhUe-Kjvf6v3D","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 data: adjacent row change detection and keyed dataset comparison, across account_count or revenue_amount fields for up to 200 rows.","exampleAgentPrompt":"Can you run the adjacent row changes and keyed dataset comparison reports on my customer segment data? I have two datasets — the primary one with account_count and revenue_amount by company_group and date, and a second comparison dataset — and I want to analyze revenue_amount differences across up to 200 rows.","exampleUseCases":[{"title":"Month-over-month segment revenue shift","prompt":"I have two monthly snapshots of our customer segment revenue data — one from last month and one from this month — each with company_group, date, account_count, and revenue_amount. Can you run the adjacent row changes and keyed comparison reports on them using revenue_amount so I can see which segments changed the most?"},{"title":"Account count drift across segments","prompt":"Here are two versions of our customer segment records with account_count figures — the original and a revised dataset. Please compare them using the keyed dataset comparison and adjacent row change analysis on account_count so I can find any discrepancies between the two."},{"title":"QA check on segment data pipeline output","prompt":"We just ran our segment data pipeline and I want to validate the output against the previous run. Can you take these two sets of customer segment rows (up to 200 each) and produce the adjacent row changes report plus the keyed dataset comparison for account_count to flag anything unexpected?"}],"resultDescription":"Two independent analytical reports: (1) an adjacent row changes report showing sequential delta values between consecutive rows for the selected field, and (2) a keyed dataset comparison report matching rows by key across the two supplied datasets and surfacing differences in account_count or revenue_amount. Both reports are computed locally with no external lookups.","failureModes":["More than 200 rows supplied — request rejected or truncated","Missing required fields (row_id, company_group, date, account_count, revenue_amount) cause validation errors","Invalid date format (non-YYYY-MM-DD) triggers schema rejection","Field value outside allowed range (±1,000,000,000,000) causes error","Mismatched row keys between primary and comparison datasets result in unmatched rows in comparison report","Payment not attached or insufficient USDC causes 402 rejection"],"whenToPreferThis":"Choose this endpoint when you need two simultaneous local analytical reports — adjacent row change detection and keyed dataset comparison — on customer segment observations (account_count, revenue_amount) without any external lookup or prediction. Ideal for QA workflows, period-over-period segment audits, or data pipeline validation where you supply both datasets and want pure computation at low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:41.279Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-adjacent-row-changes-keyed-dataset-a2c47104"}