{"uid":"cap_4UTbP25BD9hbJMNrGocMA","slug":"customer-segment-observations-exact-row-deduplication-date-by-a9ce5e80","name":"Customer Segment Observations — Exact Row Deduplication + Date by Category Pivot","description":"Customer segment observations — Exact row deduplication + Date by category pivot: Exact row deduplication + 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-052?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_NdBatFGEyzOTI7KV7OIA5","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":"Deduplicates exact rows and produces a date-by-category pivot table from customer segment observation data (account_count, revenue_amount) — two analytical reports for up to 200 rows.","exampleAgentPrompt":"Take my customer segment observations — rows with row_id, company_group, date, account_count, and revenue_amount — deduplicate any exact duplicate rows and then pivot the account_count field by date and company group. I have up to 50 rows across groups like 'group-a' and 'group-b' with dates in October 2026.","exampleUseCases":[{"title":"Clean duplicate segment records before reporting","prompt":"I have a batch of customer segment records with columns row_id, company_group, date, account_count, and revenue_amount — some rows got duplicated in the export. Can you deduplicate the exact duplicates and also give me a pivot of account_count by date and company group?"},{"title":"Revenue pivot table by customer group","prompt":"Here are 120 customer segment observation rows with date, company_group, and revenue_amount values. Please remove any exact duplicate rows and produce a pivot table showing revenue_amount by date across each company group."},{"title":"QA segment data for two metrics","prompt":"I need two quick reports on this customer segment dataset — first, deduplicate any identical rows, and second, pivot account_count across dates and company groups. There are about 80 rows covering groups like 'enterprise' and 'smb' from Q3 2025."}],"resultDescription":"Returns two analytical reports: (1) an exact row deduplication report identifying and removing duplicate records from the supplied customer segment observations, and (2) a date-by-category pivot table breaking down the selected metric (account_count or revenue_amount) across dates and company_group categories. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Exceeds 200-row limit — request will be rejected or truncated","Invalid date format (not YYYY-MM-DD) — validation error on date field","Missing required fields (row_id, company_group, date, account_count, revenue_amount) — schema validation failure","Invalid field enum value (not account_count or revenue_amount) — rejected","Empty rows array — minItems:1 constraint violation","Numeric values outside allowed range (±1,000,000,000,000) — schema rejection"],"whenToPreferThis":"Choose this endpoint when you have up to 200 customer segment observation rows with company_group, date, account_count, and revenue_amount fields and need both exact-duplicate removal and a date-by-category pivot in a single low-cost call ($0.01 USDC for both reports). Ideal when the data is already in hand and no external data lookup, prediction, or enrichment is needed — purely local analytical computation on supplied rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:44:48.711Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-exact-row-deduplication-date-by-a9ce5e80"}