{"uid":"cap_RmdUUQRwTdmzpoUdYCVdy","slug":"customer-segment-observations-string-normalisation-keyed-dataset-6e885b35","name":"Customer Segment Observations — String Normalisation + Keyed Dataset Comparison","description":"Customer segment observations — String normalisation + Keyed dataset comparison: String normalisation + 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-036?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},"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_c-PdX-AK1kGF_WsWfmles","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":"Normalises strings and performs keyed row-by-row comparison between two customer segment observation datasets (account_count, revenue_amount) for up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"Can you compare these two customer segment datasets for me? The first has rows like {row_id: 'row-1', company_group: 'group-a', date: '2026-10-01', account_count: 10, revenue_amount: 1000} and the second has slightly different values for the same keys — I need string normalisation applied and a keyed comparison report showing where they differ across account_count and revenue_amount.","exampleUseCases":[{"title":"Month-over-month segment revenue reconciliation","prompt":"I have two exports of customer segment data — one from last month and one from this month — each with up to 80 rows keyed by row_id, with company_group, date, account_count, and revenue_amount. Can you normalise the company group strings and compare them side by side to show me where account counts or revenue amounts changed?"},{"title":"Detecting data pipeline discrepancies between environments","prompt":"Our staging pipeline and production pipeline both produced a customer segment snapshot today. I have both as row arrays with fields row_id, company_group, date, account_count, and revenue_amount. Run string normalisation and a keyed comparison on the two datasets so I can see which rows diverged."},{"title":"Validating manually edited segment data against source","prompt":"A team member manually adjusted some account_count and revenue_amount values in our customer segment table. I have the original 50-row dataset and the edited version — same row_id keys. Can you normalise the strings and compare them keyed by row_id to flag exactly what was changed?"}],"resultDescription":"Returns 2 analytical reports: (1) a string normalisation report showing normalised company_group values and any string inconsistencies across both datasets, and (2) a keyed dataset comparison report showing row-by-row differences in account_count and revenue_amount between the two supplied datasets, matched on row_id.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, company_group, date, account_count, revenue_amount) cause validation errors","Mismatched date format (non YYYY-MM-DD) causes schema rejection","Numeric values outside the ±1,000,000,000,000 range trigger validation failure","Empty rows array (minItems: 1 violated) returns error","Payment of 0.01 USDC not provided or x402 protocol not followed results in 402 response"],"whenToPreferThis":"Choose this endpoint when you have two structured customer segment datasets (with account_count and revenue_amount fields keyed by row_id) that need both string normalisation and a keyed diff — specifically for customer segment observations rather than market survey or other observation types. Best when you need two reports (normalisation + comparison) in a single paid call at minimal cost ($0.01 USDC). Not suitable for live data lookups, predictions, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T06:57:44.106Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-string-normalisation-keyed-dataset-6e885b35"}